diff options
author | Colin Cross <ccross@android.com> | 2021-07-13 17:09:32 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-07-13 17:09:32 -0700 |
commit | cea892ddf5a5a4ff9d4e5866025b0bcb068216b8 (patch) | |
tree | abcaf8663d4550a7775204f348fe620bf566fa92 | |
parent | 935ad161bb89554894400b83f533acaf5c51d17e (diff) | |
download | tinyalsa-cea892ddf5a5a4ff9d4e5866025b0bcb068216b8.tar.gz |
Move system_shared_libs into target.bionic clause
Use target.bionic.system_shared_libs when it is used to limit the
default shared libraries (as opposed to remove them completely).
This avoids attempting to add a host dependency on libc when
system_shared_libs is modified to apply to all variants.
Bug: 193559105
Test: m checkbuild
Change-Id: I5dff12fd48a40a788e78b18c050f806da987754e
-rw-r--r-- | Android.bp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -40,9 +40,10 @@ cc_library { darwin: { enabled: false, }, + bionic: { + system_shared_libs: ["libc", "libdl"], + }, }, - - system_shared_libs: ["libc","libdl"], } cc_binary { |