use cc_library instead of cc_library_static
parent
8d648e2b25
commit
fb9f5d630b
13
Android.bp
13
Android.bp
|
@ -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"],
|
||||
|
|
Loading…
Reference in New Issue