Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Enable libbase/libutils/libziparchive on host bionic
Browse files Browse the repository at this point in the history
am: ab34b47

Change-Id: If8e762eace58a494efede9ef5cb09be99b74e5b8
  • Loading branch information
danw authored and android-build-merger committed Nov 30, 2016
2 parents 895cd44 + ab34b47 commit 69b0123
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 5 additions & 0 deletions base/Android.bp
Expand Up @@ -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"],
Expand Down
7 changes: 7 additions & 0 deletions libutils/Android.bp
Expand Up @@ -86,6 +86,13 @@ cc_library {
"ProcessCallStack.cpp",
],
},
linux_bionic: {
enabled: true,
srcs: [
"Looper.cpp",
"ProcessCallStack.cpp",
],
},

darwin: {
cflags: ["-Wno-unused-parameter"],
Expand Down
12 changes: 11 additions & 1 deletion libziparchive/Android.bp
Expand Up @@ -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"],
},
},
Expand Down

0 comments on commit 69b0123

Please sign in to comment.