Merge "Enable more modules on linux_bionic builds"

am: 75c414d1a3

Change-Id: If8a08b3f080344e61ebf5a0555354edb95cfb92e
This commit is contained in:
Dan Willemsen 2017-03-16 02:33:19 +00:00 committed by android-build-merger
commit 5bb9220b75
5 changed files with 31 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

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