aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-07-13 17:08:03 -0700
committerColin Cross <ccross@android.com>2021-07-13 17:08:03 -0700
commit038bdafa4f383defe0934f92b7e16e027f854365 (patch)
tree953550041900ba2ac98ad1f4df9770f6e9019c3d
parent465fb3954c063a938aafdec7ed9a15b3cd196086 (diff)
downloadpcre-038bdafa4f383defe0934f92b7e16e027f854365.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: I6cf8e90424431b5abb8ddb32dbf7dfd7a4b8570a
-rw-r--r--Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index f94feb0e..742996bf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -102,8 +102,10 @@ cc_library {
recovery_available: true,
srcs: libpcre2_src_files,
stl: "none",
- system_shared_libs: ["libc"],
target: {
+ bionic: {
+ system_shared_libs: ["libc"],
+ },
linux_bionic: {
enabled: true,
},