diff options
-rw-r--r-- | PREUPLOAD.cfg | 1 | ||||
-rw-r--r-- | alloc-stress/Android.bp | 8 | ||||
-rw-r--r-- | f2fs_utils/Android.bp | 7 | ||||
-rw-r--r-- | simpleperf/Android.bp | 16 | ||||
-rw-r--r-- | simpleperf/scripts/inferno/Android.bp | 1 | ||||
-rw-r--r-- | tests/lib/Android.bp | 2 | ||||
-rw-r--r-- | tests/lib/testUtil/Android.bp | 5 | ||||
-rw-r--r-- | toolchain-extras/Android.bp | 6 | ||||
-rw-r--r-- | vbmeta_tools/Android.bp | 2 |
9 files changed, 27 insertions, 21 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 75ed57ce..d2160b2e 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -1,4 +1,5 @@ [Builtin Hooks] +bpfmt = true rustfmt = true [Builtin Hooks Options] diff --git a/alloc-stress/Android.bp b/alloc-stress/Android.bp index 896db5ef..30ccbdb6 100644 --- a/alloc-stress/Android.bp +++ b/alloc-stress/Android.bp @@ -26,8 +26,8 @@ cc_binary { "-Wall", "-Werror", "-Wno-missing-field-initializers", - "-Wno-sign-compare" - ] + "-Wno-sign-compare", + ], } cc_binary { @@ -38,6 +38,6 @@ cc_binary { "-Wall", "-Werror", "-Wno-missing-field-initializers", - "-Wno-sign-compare" - ] + "-Wno-sign-compare", + ], } diff --git a/f2fs_utils/Android.bp b/f2fs_utils/Android.bp index 5315f1a0..209c65eb 100644 --- a/f2fs_utils/Android.bp +++ b/f2fs_utils/Android.bp @@ -15,7 +15,7 @@ cc_library_shared { "external/f2fs-tools/include", ], - export_include_dirs: ["."] + export_include_dirs: ["."], } cc_binary { @@ -38,6 +38,9 @@ sh_binary { name: "mkf2fsuserimg.sh", src: "mkf2fsuserimg.sh", - required: ["make_f2fs", "sload_f2fs"], + required: [ + "make_f2fs", + "sload_f2fs", + ], host_supported: true, } diff --git a/simpleperf/Android.bp b/simpleperf/Android.bp index c16369b8..5212d014 100644 --- a/simpleperf/Android.bp +++ b/simpleperf/Android.bp @@ -35,7 +35,7 @@ cc_defaults { host: { cflags: [ "-DUSE_BIONIC_UAPI_HEADERS", - "-fvisibility=hidden" + "-fvisibility=hidden", ], include_dirs: ["bionic/libc/kernel"], }, @@ -46,7 +46,7 @@ cc_defaults { windows: { cflags: ["-DNO_LIBDEXFILE_SUPPORT"], local_include_dirs: ["nonlinux_support/include"], - } + }, }, } @@ -77,8 +77,8 @@ cc_library_static { target: { windows: { enabled: true, - } - } + }, + }, } cc_defaults { @@ -294,8 +294,8 @@ cc_library { host_supported: false, srcs: ["profcollect.cpp"], export_include_dirs: ["include"], - static_libs: ["libsimpleperf",], - shared_libs: ["libLLVM_android",], + static_libs: ["libsimpleperf"], + shared_libs: ["libLLVM_android"], visibility: ["//system/extras/profcollectd:__subpackages__"], } @@ -399,7 +399,7 @@ cc_library { "record_lib_interface.cpp", ], static_libs: [ - "libsimpleperf" + "libsimpleperf", ], target: { darwin: { @@ -522,7 +522,7 @@ cc_test { ], static_libs: [ "libgmock", - "libsimpleperf" + "libsimpleperf", ], target: { android: { diff --git a/simpleperf/scripts/inferno/Android.bp b/simpleperf/scripts/inferno/Android.bp index f49dadd3..99a111c3 100644 --- a/simpleperf/scripts/inferno/Android.bp +++ b/simpleperf/scripts/inferno/Android.bp @@ -29,4 +29,3 @@ python_library_host { }, }, } - diff --git a/tests/lib/Android.bp b/tests/lib/Android.bp index 7a8ee5d0..b44c2960 100644 --- a/tests/lib/Android.bp +++ b/tests/lib/Android.bp @@ -1 +1 @@ -subdirs = [ "*" ] +subdirs = ["*"] diff --git a/tests/lib/testUtil/Android.bp b/tests/lib/testUtil/Android.bp index 8ac90a6e..a5a3f517 100644 --- a/tests/lib/testUtil/Android.bp +++ b/tests/lib/testUtil/Android.bp @@ -17,7 +17,10 @@ cc_library_static { name: "libtestUtil", srcs: ["testUtil.c"], - cflags: ["-Wall", "-Werror"], + cflags: [ + "-Wall", + "-Werror", + ], export_include_dirs: ["include"], shared_libs: [ "libcutils", diff --git a/toolchain-extras/Android.bp b/toolchain-extras/Android.bp index 04a5a8ec..e4f65f7e 100644 --- a/toolchain-extras/Android.bp +++ b/toolchain-extras/Android.bp @@ -9,7 +9,7 @@ cc_defaults { cc_library_static { name: "libprofile-extras", - defaults: ["libprofile-defaults",], + defaults: ["libprofile-defaults"], native_bridge_supported: true, vendor_available: true, @@ -26,7 +26,7 @@ cc_library_static { cc_library_static { name: "libprofile-extras_ndk", - defaults: ["libprofile-defaults",], + defaults: ["libprofile-defaults"], native_bridge_supported: true, vendor_available: true, vndk: { @@ -76,7 +76,7 @@ cc_library_static { cc_test { name: "libprofile-extras-test", srcs: [ - "profile-extras-test.cpp" + "profile-extras-test.cpp", ], static_libs: [ "libprofile-extras", diff --git a/vbmeta_tools/Android.bp b/vbmeta_tools/Android.bp index 73a9eb7f..0e8d458d 100644 --- a/vbmeta_tools/Android.bp +++ b/vbmeta_tools/Android.bp @@ -23,4 +23,4 @@ cc_binary { srcs: [ "vbmake.cc", ], -}
\ No newline at end of file +} |