diff options
author | Jiyong Park <jiyong@google.com> | 2017-08-23 14:58:33 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2017-10-16 12:09:34 +0900 |
commit | 506316be203ef7ffb2e8a6334223fe1a6e75754c (patch) | |
tree | ee0f229156fd6f7f234e913bec95640e6226c60b | |
parent | dfc348fb2bf782fa558e4aa67298305743a63386 (diff) | |
download | libunwind-506316be203ef7ffb2e8a6334223fe1a6e75754c.tar.gz |
libunwind is not directly available to vendors
This lib is behind libbacktrace which is again behind libutils.so. This
lib is a member of VNDK but is not intented to be used directly by
vendors.
Furthermore, libunwindbacktrace no longer includes libunwind. This is
because libunwindbacktrace which is a vendor_available:true library
cannot depend on libunwind which is not available to vendors. Instead of
including libunwind inside libunwindbacktrace, libunwind is explicitly
added to the dependency list along with libunwindbacktrace when
libunwindbacktrace is required by other modules. (see libcompiler_rt)
Bug: 64730695
Test: build 2017 pixel device
Change-Id: I3fd2eb25efa26dc5fc55d7e64c8f4e9ab13156ea
-rw-r--r-- | Android.bp | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -22,7 +22,6 @@ cc_defaults { name: "libunwind_defaults", host_supported: true, - vendor_available: true, cppflags: [ "-Wno-old-style-cast", @@ -124,6 +123,7 @@ cc_defaults { cc_library { name: "libunwind", defaults: ["libunwind_defaults"], + vendor_available: false, vndk: { enabled: true, support_system_process: true, @@ -427,6 +427,7 @@ cc_library { cc_library_static { name: "libunwindbacktrace", defaults: ["libunwind_defaults"], + vendor_available: true, sdk_version: "21", srcs: [ "src/unwind/BacktraceWrapper.c", @@ -454,8 +455,6 @@ cc_library_static { "-fvisibility=hidden", ], - whole_static_libs: ["libunwind"], - target: { linux_bionic: { enabled: true, |