Enable libbase/libutils/libziparchive on host bionic

Bug: 31559095
Test: Test linux_bionic compile
Change-Id: Ib42c063532c1cbeb3e1418ab16a1fb54d5902aab
This commit is contained in:
Dan Willemsen 2016-11-29 13:32:55 -08:00
parent 16017b3fbb
commit ab34b47b35
3 changed files with 23 additions and 1 deletions

View file

@ -49,6 +49,11 @@ cc_library {
srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],
},
linux_bionic: {
srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],
enabled: true,
},
linux: {
srcs: ["errors_unix.cpp"],
cppflags: ["-Wexit-time-destructors"],

View file

@ -86,6 +86,13 @@ cc_library {
"ProcessCallStack.cpp",
],
},
linux_bionic: {
enabled: true,
srcs: [
"Looper.cpp",
"ProcessCallStack.cpp",
],
},
darwin: {
cflags: ["-Wno-unused-parameter"],

View file

@ -62,7 +62,17 @@ cc_library {
android: {
static_libs: ["libz"],
},
host: {
linux_bionic: {
static_libs: ["libz"],
enabled: true,
},
linux: {
shared_libs: ["libz-host"],
},
darwin: {
shared_libs: ["libz-host"],
},
windows: {
shared_libs: ["libz-host"],
},
},