bpfmt all the .bp files to silence ayeaye.
Test: treehugger Change-Id: I5b7add6f013dcd2d4eee4851b7a2a22310c6d533
This commit is contained in:
parent
569b45dce5
commit
1eacc0edc0
9 changed files with 276 additions and 187 deletions
|
@ -43,7 +43,10 @@ apex {
|
|||
],
|
||||
arch: {
|
||||
arm64: {
|
||||
native_shared_libs: ["libc_hwasan", "libclang_rt.hwasan"],
|
||||
native_shared_libs: [
|
||||
"libc_hwasan",
|
||||
"libclang_rt.hwasan",
|
||||
],
|
||||
},
|
||||
},
|
||||
binaries: [
|
||||
|
|
|
@ -68,8 +68,12 @@ cc_defaults {
|
|||
|
||||
compile_multilib: "both",
|
||||
multilib: {
|
||||
lib32: { suffix: "32" },
|
||||
lib64: { suffix: "64" },
|
||||
lib32: {
|
||||
suffix: "32",
|
||||
},
|
||||
lib64: {
|
||||
suffix: "64",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,10 @@ cc_library_static {
|
|||
},
|
||||
|
||||
defaults: ["libc_defaults"],
|
||||
cflags: ["-fno-stack-protector", "-ffreestanding"],
|
||||
cflags: [
|
||||
"-fno-stack-protector",
|
||||
"-ffreestanding",
|
||||
],
|
||||
name: "libc_bootstrap",
|
||||
}
|
||||
|
||||
|
@ -1553,7 +1556,7 @@ cc_library_static {
|
|||
srcs: ["arch-arm64/static_function_dispatch.S"],
|
||||
},
|
||||
riscv64: {
|
||||
srcs: ["arch-riscv64/static_function_dispatch.S"]
|
||||
srcs: ["arch-riscv64/static_function_dispatch.S"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1584,7 +1587,7 @@ cc_library_static {
|
|||
srcs: ["arch-arm64/dynamic_function_dispatch.cpp"],
|
||||
},
|
||||
riscv64: {
|
||||
srcs: ["arch-riscv64/dynamic_function_dispatch.cpp"]
|
||||
srcs: ["arch-riscv64/dynamic_function_dispatch.cpp"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -2272,7 +2275,7 @@ cc_object {
|
|||
"bionic", // crtbegin.c includes bionic/libc_init_common.h
|
||||
],
|
||||
|
||||
cflags: [ "-DCRTBEGIN_STATIC", ],
|
||||
cflags: ["-DCRTBEGIN_STATIC"],
|
||||
|
||||
srcs: ["arch-common/bionic/crtbegin.c"],
|
||||
objs: [
|
||||
|
@ -2334,7 +2337,7 @@ cc_library_static {
|
|||
arch: {
|
||||
arm64: {
|
||||
srcs: ["arch-arm64/bionic/note_memtag_heap_async.S"],
|
||||
}
|
||||
},
|
||||
},
|
||||
sdk_version: "minimum",
|
||||
|
||||
|
@ -2346,7 +2349,7 @@ cc_library_static {
|
|||
arch: {
|
||||
arm64: {
|
||||
srcs: ["arch-arm64/bionic/note_memtag_heap_sync.S"],
|
||||
}
|
||||
},
|
||||
},
|
||||
sdk_version: "minimum",
|
||||
|
||||
|
@ -2588,7 +2591,6 @@ filegroup {
|
|||
srcs: ["kernel/uapi/**/*.h"],
|
||||
}
|
||||
|
||||
|
||||
cc_genrule {
|
||||
name: "func_to_syscall_nrs",
|
||||
recovery_available: true,
|
||||
|
@ -2694,8 +2696,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
x86: { enabled: true },
|
||||
x86_64: { enabled: true },
|
||||
x86: {
|
||||
enabled: true,
|
||||
},
|
||||
x86_64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2715,8 +2721,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
arm: { enabled: true },
|
||||
arm64: { enabled: true },
|
||||
arm: {
|
||||
enabled: true,
|
||||
},
|
||||
arm64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2734,7 +2744,9 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
riscv64: { enabled: true },
|
||||
riscv64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2754,8 +2766,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
x86: { enabled: true },
|
||||
x86_64: { enabled: true },
|
||||
x86: {
|
||||
enabled: true,
|
||||
},
|
||||
x86_64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2775,8 +2791,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
arm: { enabled: true },
|
||||
arm64: { enabled: true },
|
||||
arm: {
|
||||
enabled: true,
|
||||
},
|
||||
arm64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2794,7 +2814,9 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
riscv64: { enabled: true },
|
||||
riscv64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2814,8 +2836,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
x86: { enabled: true },
|
||||
x86_64: { enabled: true },
|
||||
x86: {
|
||||
enabled: true,
|
||||
},
|
||||
x86_64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2835,8 +2861,12 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
arm: { enabled: true },
|
||||
arm64: { enabled: true },
|
||||
arm: {
|
||||
enabled: true,
|
||||
},
|
||||
arm64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -2854,7 +2884,9 @@ cc_genrule {
|
|||
],
|
||||
enabled: false,
|
||||
arch: {
|
||||
riscv64: { enabled: true },
|
||||
riscv64: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,10 @@ cc_library_static {
|
|||
native_bridge_supported: true,
|
||||
|
||||
include_dirs: ["bionic/libc"],
|
||||
header_libs: ["libc_headers", "liblog_headers"],
|
||||
header_libs: [
|
||||
"libc_headers",
|
||||
"liblog_headers",
|
||||
],
|
||||
|
||||
export_include_dirs: ["include"],
|
||||
export_header_lib_headers: ["liblog_headers"],
|
||||
|
|
|
@ -75,7 +75,7 @@ cc_test {
|
|||
local_include_dirs: ["tests"],
|
||||
include_dirs: [
|
||||
"bionic/libc",
|
||||
"bionic"
|
||||
"bionic",
|
||||
],
|
||||
header_libs: [
|
||||
"bionic_libc_platform_headers",
|
||||
|
|
|
@ -141,7 +141,10 @@ cc_defaults {
|
|||
|
||||
cc_library_static {
|
||||
name: "liblinker_main",
|
||||
defaults: ["linker_defaults", "linker_all_targets"],
|
||||
defaults: [
|
||||
"linker_defaults",
|
||||
"linker_all_targets",
|
||||
],
|
||||
srcs: ["linker_main.cpp"],
|
||||
|
||||
// Ensure that the compiler won't insert string function calls before ifuncs are resolved.
|
||||
|
@ -153,7 +156,10 @@ cc_library_static {
|
|||
|
||||
cc_library_static {
|
||||
name: "liblinker_malloc",
|
||||
defaults: ["linker_defaults", "linker_all_targets"],
|
||||
defaults: [
|
||||
"linker_defaults",
|
||||
"linker_all_targets",
|
||||
],
|
||||
srcs: ["linker_memory.cpp"],
|
||||
apex_available: [
|
||||
"com.android.runtime",
|
||||
|
@ -162,7 +168,10 @@ cc_library_static {
|
|||
|
||||
cc_library_static {
|
||||
name: "liblinker_debuggerd_stub",
|
||||
defaults: ["linker_defaults", "linker_all_targets"],
|
||||
defaults: [
|
||||
"linker_defaults",
|
||||
"linker_all_targets",
|
||||
],
|
||||
srcs: ["linker_debuggerd_stub.cpp"],
|
||||
}
|
||||
|
||||
|
@ -241,11 +250,21 @@ filegroup {
|
|||
cc_defaults {
|
||||
name: "linker_version_script_overlay",
|
||||
arch: {
|
||||
arm: { version_script: "linker.arm.map" },
|
||||
arm64: { version_script: "linker.generic.map" },
|
||||
riscv64: { version_script: "linker.generic.map" },
|
||||
x86: { version_script: "linker.generic.map" },
|
||||
x86_64: { version_script: "linker.generic.map" },
|
||||
arm: {
|
||||
version_script: "linker.arm.map",
|
||||
},
|
||||
arm64: {
|
||||
version_script: "linker.generic.map",
|
||||
},
|
||||
riscv64: {
|
||||
version_script: "linker.generic.map",
|
||||
},
|
||||
x86: {
|
||||
version_script: "linker.generic.map",
|
||||
},
|
||||
x86_64: {
|
||||
version_script: "linker.generic.map",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -483,7 +502,10 @@ cc_library {
|
|||
stl: "none",
|
||||
|
||||
name: "ld-android",
|
||||
defaults: ["linux_bionic_supported", "linker_version_script_overlay"],
|
||||
defaults: [
|
||||
"linux_bionic_supported",
|
||||
"linker_version_script_overlay",
|
||||
],
|
||||
ramdisk_available: true,
|
||||
vendor_ramdisk_available: true,
|
||||
recovery_available: true,
|
||||
|
|
|
@ -67,7 +67,7 @@ cc_defaults {
|
|||
],
|
||||
header_libs: [
|
||||
"libcutils_headers",
|
||||
"gwp_asan_headers"
|
||||
"gwp_asan_headers",
|
||||
],
|
||||
stl: "libc++",
|
||||
|
||||
|
@ -1101,7 +1101,10 @@ cc_test {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
],
|
||||
data_libs: ["libtest_simple_hwasan", "libtest_simple_hwasan_nohwasan"],
|
||||
data_libs: [
|
||||
"libtest_simple_hwasan",
|
||||
"libtest_simple_hwasan_nohwasan",
|
||||
],
|
||||
header_libs: ["bionic_libc_platform_headers"],
|
||||
test_suites: ["device-tests"],
|
||||
}
|
||||
|
|
|
@ -95,7 +95,6 @@ cc_test {
|
|||
shared_libs: ["libtest_elftls_shared_var"],
|
||||
}
|
||||
|
||||
|
||||
cc_test_library {
|
||||
name: "libtest_elftls_dynamic_filler_1",
|
||||
defaults: ["bionic_testlib_defaults"],
|
||||
|
@ -1492,7 +1491,7 @@ cc_test_library {
|
|||
shared_libs: ["ld_config_test_helper_lib2"],
|
||||
relative_install_path: "bionic-loader-test-libs/ns2",
|
||||
// Mark the library DF_1_GLOBAL so it is added to every linker namespace.
|
||||
ldflags: ["-Wl,-z,global"]
|
||||
ldflags: ["-Wl,-z,global"],
|
||||
}
|
||||
|
||||
cc_test_library {
|
||||
|
@ -1541,7 +1540,6 @@ cc_test_library {
|
|||
srcs: ["segment_gap_inner.cpp"],
|
||||
}
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// Check that we support all kinds of relocations: regular, "relocation packer",
|
||||
// and both the old and new SHT_RELR constants.
|
||||
|
@ -1604,7 +1602,10 @@ cc_defaults {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_sync_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
sanitize: {
|
||||
memtag_heap: true,
|
||||
|
@ -1617,7 +1618,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_async_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
sanitize: {
|
||||
memtag_heap: true,
|
||||
|
@ -1630,7 +1634,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_disabled_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
sanitize: {
|
||||
memtag_heap: false,
|
||||
|
@ -1640,7 +1647,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_static_sync_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
static_executable: true,
|
||||
sanitize: {
|
||||
|
@ -1654,7 +1664,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_static_async_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
static_executable: true,
|
||||
sanitize: {
|
||||
|
@ -1668,7 +1681,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "heap_tagging_static_disabled_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["heap_tagging_helper.cpp"],
|
||||
static_executable: true,
|
||||
sanitize: {
|
||||
|
@ -1679,7 +1695,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "stack_tagging_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["stack_tagging_helper.cpp"],
|
||||
sanitize: {
|
||||
memtag_heap: true,
|
||||
|
@ -1695,7 +1714,10 @@ cc_test {
|
|||
|
||||
cc_test {
|
||||
name: "stack_tagging_static_helper",
|
||||
defaults: ["bionic_testlib_defaults", "bionic_targets_only"],
|
||||
defaults: [
|
||||
"bionic_testlib_defaults",
|
||||
"bionic_targets_only",
|
||||
],
|
||||
srcs: ["stack_tagging_helper.cpp"],
|
||||
static_executable: true,
|
||||
sanitize: {
|
||||
|
|
Loading…
Reference in a new issue