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
This commit is contained in:
Pirama Arumuga Nainar
2022-04-06 23:05:20 +00:00
parent d9c19eda92
commit da5fa76f9f

View File

@@ -30,12 +30,12 @@ cc_defaults {
"libbase",
"liblog",
"libkeymaster4support",
"libutils",
],
shared_libs: [
"android.hardware.keymaster@4.0",
"libcrypto",
"libhidlbase",
"libutils",
],
fuzz_config: {
cc: [