summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-07-13 16:29:01 -0700
committerTheodore Ts'o <tytso@mit.edu>2021-07-27 12:31:55 -0400
commit59eed5421c2ccb262d31c08e6d07535d76fe5688 (patch)
tree272be536682adc2cf4f972bc780a0b26616c11d1 /Android.bp
parent3e3403d96d6c5ee27f6c53f885a99c34230ca40a (diff)
downloade2fsprogs-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.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index fa2d0153..e596664b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -55,6 +55,9 @@ cc_defaults {
"-Wno-unused-variable",
],
},
+ bionic: {
+ system_shared_libs: ["libc", "libdl"],
+ },
},
}