From cef135a3d25d67392eeaf4c9d0ef67fb802930d4 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Mon, 11 Apr 2022 20:08:40 +0000 Subject: [PATCH] Build with upstream lld: Fix incorrect static dependencies Bug: http://b/197965342 Remove unnecessary `static_libs` dependencies or move them to `shared_libs` to build with upstream LLD. See b/197965342#comment1 (internal) for rationale. Some info is available externally at https://github.com/llvm/llvm-project/issues/42899. Per go/android-lld-static-lib-fix, OWNERS are added for visibility. No action is needed if the change looks good. This change will be merged after two business days with Global Approvers. Test: Build modules with aosp/2036867 in addition to presubmit Change-Id: I12ffa45755b3055117fa87aae2110b125b60fd54 --- bluetooth/1.0/default/test/fuzzer/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluetooth/1.0/default/test/fuzzer/Android.bp b/bluetooth/1.0/default/test/fuzzer/Android.bp index 81f328e4de..691136fe55 100644 --- a/bluetooth/1.0/default/test/fuzzer/Android.bp +++ b/bluetooth/1.0/default/test/fuzzer/Android.bp @@ -46,7 +46,6 @@ cc_fuzz { "android.hardware.bluetooth-async", "android.hardware.bluetooth-hci", "libcutils", - "libutils", ], shared_libs: [ "android.hardware.bluetooth@1.0", @@ -54,6 +53,7 @@ cc_fuzz { "libhidlbase", "libbt-vendor-fuzz", "liblog", + "libutils", ], fuzz_config: { cc: [