Merge "Enable more modules on linux_bionic builds"

This commit is contained in:
Treehugger Robot 2017-03-16 02:27:52 +00:00 committed by Gerrit Code Review
commit 75c414d1a3
5 changed files with 31 additions and 6 deletions

View file

@ -1,5 +1,6 @@
cc_defaults {
name: "debuggerd_defaults",
defaults: ["linux_bionic_supported"],
cflags: [
"-Wall",
"-Wextra",

View file

@ -80,6 +80,18 @@ cc_library {
static_libs: ["libcutils"],
host_ldlibs: ["-lrt"],
},
linux_bionic: {
enabled: true,
srcs: libbacktrace_sources,
shared_libs: [
"libbase",
"liblog",
"libunwind",
],
static_libs: ["libcutils"],
},
android: {
srcs: libbacktrace_sources,

View file

@ -41,9 +41,12 @@ cc_library_headers {
host_supported: true,
export_include_dirs: ["include"],
target: {
windows: {
enabled: true,
},
linux_bionic: {
enabled: true,
},
windows: {
enabled: true,
},
},
}
@ -68,11 +71,14 @@ cc_library {
"threads.c",
],
target: {
host: {
srcs: ["dlmalloc_stubs.c"],
},
linux_bionic: {
enabled: true,
exclude_srcs: ["dlmalloc_stubs.c"],
},
not_windows: {
srcs: libcutils_nonwindows_sources + [
"ashmem-host.c",

View file

@ -35,6 +35,9 @@ cc_library {
darwin: {
enabled: false,
},
linux_bionic: {
enabled: true,
},
windows: {
enabled: false,
},

View file

@ -17,9 +17,12 @@ cc_library_headers {
host_supported: true,
export_include_dirs: ["include"],
target: {
linux_bionic: {
enabled: true,
},
windows: {
enabled: true,
},
enabled: true,
},
},
}