From da5fa76f9fb2c006db5945fe71c8c408c98bf3d2 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Wed, 6 Apr 2022 23:05:20 +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: I6b607969ab89605d392344d307f5deeb883d4191 --- keymaster/4.0/support/fuzzer/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keymaster/4.0/support/fuzzer/Android.bp b/keymaster/4.0/support/fuzzer/Android.bp index 3a3f4d5589..8bc681a46b 100644 --- a/keymaster/4.0/support/fuzzer/Android.bp +++ b/keymaster/4.0/support/fuzzer/Android.bp @@ -30,12 +30,12 @@ cc_defaults { "libbase", "liblog", "libkeymaster4support", - "libutils", ], shared_libs: [ "android.hardware.keymaster@4.0", "libcrypto", "libhidlbase", + "libutils", ], fuzz_config: { cc: [