diff options
author | Justin Yun <justinyun@google.com> | 2018-12-13 15:08:23 +0900 |
---|---|---|
committer | Justin Yun <justinyun@google.com> | 2018-12-13 15:08:23 +0900 |
commit | d554ea9cafd9bef5403e8e6c0e6f0b43d61ce5f1 (patch) | |
tree | 1a4aceac286cef5b7a958979b992c0671f27c9a5 | |
parent | 8ba86320a71bcdc7b411070c0c0f101cf2131cf2 (diff) | |
download | libunwind-d554ea9cafd9bef5403e8e6c0e6f0b43d61ce5f1.tar.gz |
Remove libunwind from VNDK
libunwind in VNDK is no longer used by vendor modules. So we may
remove it from VNDK.
However, there are still some vendor modules that are using static
variant of libunwind. For those vendor modules, we define
libunwind_static and make it available to vendor.
Bug: 120948701
Test: build and boot
Change-Id: I2678d94a60703a35d3bc6aad8b20a86f72e67913
-rw-r--r-- | Android.bp | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -120,14 +120,9 @@ cc_defaults { // libunwind shared and static library //----------------------------------------------------------------------- -cc_library { - name: "libunwind", +cc_defaults { + name: "libunwind_core_defaults", defaults: ["libunwind_defaults"], - vendor_available: false, - vndk: { - enabled: true, - support_system_process: true, - }, sdk_version: "21", stl: "none", @@ -419,6 +414,17 @@ cc_library { }, } +cc_library_shared { + name: "libunwind", + defaults: ["libunwind_core_defaults"], +} + +cc_library_static { + name: "libunwind_static", + defaults: ["libunwind_core_defaults"], + vendor_available: true, +} + //----------------------------------------------------------------------- // libunwindbacktrace static library //----------------------------------------------------------------------- |