Enable libunwind on Host bionic
Bug: 31559095
Test: Test linux_bionic compile
Change-Id: If024f482d6f4ff1ef260f48c1d58f552a5904e18
diff --git a/Android.bp b/Android.bp
index f4653de..1ced88e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -379,13 +379,17 @@
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 @@
],
whole_static_libs: ["libunwind"],
+
+ target: {
+ linux_bionic: {
+ enabled: true,
+ },
+ },
}
//-----------------------------------------------------------------------