mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-24 23:19:35 -05:00
use cc_library instead of cc_library_static
This commit is contained in:
parent
8d648e2b25
commit
fb9f5d630b
13
Android.bp
13
Android.bp
@ -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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user