diff options
author | Martin Stjernholm <mast@google.com> | 2021-03-17 10:55:25 +0000 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2021-03-18 21:42:21 +0000 |
commit | e017bb072ac577eee5413bd7e5e136f4eaf75908 (patch) | |
tree | feabb3d266a72c7d03e6b7328b7252aa547cac97 /sigchainlib | |
parent | d3d1a1a11626bd5198edb9242831c7b120652fbb (diff) |
Drop whole_static_libs for libasync_safe and clean up static linking of
libsigchain.
whole_static_libs is no longer necessary when libsigchain is a DSO, and
this avoids reexporting all the Bionic headers in the ART SDK.
Test: build/soong/scripts/build-aml-prebuilts.sh art-module-sdk
unzip -v out/aml/soong/mainline-sdks/art-module-sdk-current.zip
Check that no Bionic headers are left.
Test: m droid continuous_instrumentation_tests \
continuous_instrumentation_tests_api_coverage \
continuous_native_tests device-tests platform_tests
Bug: 142944043
Change-Id: If0982e8bd72f74ed12c270361579e81101de3612
Diffstat (limited to 'sigchainlib')
-rw-r--r-- | sigchainlib/Android.bp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigchainlib/Android.bp b/sigchainlib/Android.bp index 5baba87ee2..b3dd7e278e 100644 --- a/sigchainlib/Android.bp +++ b/sigchainlib/Android.bp @@ -49,7 +49,7 @@ cc_library { }, android: { - whole_static_libs: ["libasync_safe"], + static_libs: ["libasync_safe"], }, }, @@ -74,7 +74,7 @@ cc_library_static { srcs: ["sigchain_fake.cc"], target: { android: { - whole_static_libs: ["libasync_safe"], + static_libs: ["libasync_safe"], }, }, @@ -87,5 +87,5 @@ art_cc_test { "art_gtest_defaults", ], srcs: ["sigchain_test.cc"], - whole_static_libs: ["libsigchain"], + shared_libs: ["libsigchain"], } |