use cc_library instead of cc_library_static

pull/103/head
Daniel Micay 2019-09-07 17:59:08 -04:00
parent 8d648e2b25
commit fb9f5d630b
1 changed files with 12 additions and 1 deletions

View File

@ -48,11 +48,22 @@ lib_src_files = [
"util.c",
]
cc_library_static {
cc_library {
name: "libhardened_malloc",
recovery_available: true,
defaults: ["hardened_malloc_defaults"],
srcs: lib_src_files,
target: {
android: {
shared: {
enabled: false,
},
system_shared_libs: [],
},
linux_bionic: {
system_shared_libs: [],
},
},
product_variables: {
debuggable: {
cflags: ["-DLABEL_MEMORY"],