Enable libbase/libutils/libziparchive on host bionic am: ab34b47b35

am: 69b0123549

Change-Id: Ib9c0d6d9912617c95c75018248b069e254bcdb11
This commit is contained in:
Dan Willemsen 2016-11-30 06:12:00 +00:00 committed by android-build-merger
commit 5bc670c841
3 changed files with 23 additions and 1 deletions

View file

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

View file

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

View file

@ -62,7 +62,17 @@ cc_library {
android: { android: {
static_libs: ["libz"], 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"], shared_libs: ["libz-host"],
}, },
}, },