diff options
author | Colin Cross <ccross@android.com> | 2021-07-13 16:29:01 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-07-27 12:31:55 -0400 |
commit | 59eed5421c2ccb262d31c08e6d07535d76fe5688 (patch) | |
tree | 272be536682adc2cf4f972bc780a0b26616c11d1 /Android.bp | |
parent | 3e3403d96d6c5ee27f6c53f885a99c34230ca40a (diff) | |
download | e2fsprogs-59eed5421c2ccb262d31c08e6d07535d76fe5688.tar.gz |
AOSP: 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.
Also remove system_shared_libs from static binaries where it has
no effect, and consolidate it into e2fsprogs-defaults.
Bug: 193559105
Test: m checkbuild
Change-Id: I2d447b006afc783f4acd6c1acd93f338a68a01ed
From AOSP commit: 48fa7248112701c30d3cabfb8d3360b2408d6491
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -55,6 +55,9 @@ cc_defaults { "-Wno-unused-variable", ], }, + bionic: { + system_shared_libs: ["libc", "libdl"], + }, }, } |