use cc_library instead of cc_library_static

This commit is contained in:
Daniel Micay 2019-09-07 17:59:08 -04:00
parent 8d648e2b25
commit fb9f5d630b

View File

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