diff options
author | Colin Cross <ccross@android.com> | 2021-07-13 17:08:03 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-07-13 17:08:03 -0700 |
commit | 038bdafa4f383defe0934f92b7e16e027f854365 (patch) | |
tree | 953550041900ba2ac98ad1f4df9770f6e9019c3d | |
parent | 465fb3954c063a938aafdec7ed9a15b3cd196086 (diff) | |
download | pcre-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.bp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, }, |