aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-11-30 05:03:23 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-11-30 05:03:23 +0000
commit90b1c79f73e43b585c3094730f66efb6a71a99b0 (patch)
treeadebe1fff1a0f69672ef9a2851a356e688b403c3
parent58dd39bad70b780b873dc3fa14edc86d21177e68 (diff)
parent67b6f15b0c054b73ed90fac957d451e15feabe9e (diff)
downloadlibunwind-90b1c79f73e43b585c3094730f66efb6a71a99b0.tar.gz
Enable libunwind on Host bionic am: 2c73b4baa1 am: 69229f6988 am: c81f74d7b7
am: 67b6f15b0c Change-Id: Ic0614304a19441ac1ed81eda77f11eec233e1af4
-rw-r--r--Android.bp12
1 files changed, 11 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index f4653de3..1ced88e3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -379,13 +379,17 @@ cc_library {
android: {
shared_libs: ["libdl"],
},
- host: {
+ linux: {
ldflags: ["-nostdlib"],
host_ldlibs: [
"-lc",
"-lpthread",
],
},
+ linux_bionic: {
+ enabled: true,
+ shared_libs: ["libdl"],
+ },
},
export_include_dirs: ["include"],
@@ -431,6 +435,12 @@ cc_library_static {
],
whole_static_libs: ["libunwind"],
+
+ target: {
+ linux_bionic: {
+ enabled: true,
+ },
+ },
}
//-----------------------------------------------------------------------