Add whole_static_libs to non-svelte configs.
This is to support enabling scudo only for non-svelte configs. Also, add exclude_static_libs to allow removing the jemalloc libs. Bug: 137795072 Test: Verified that a svelte and non-svelte config can use this method Test: to properly choose between scudo and jemalloc. Change-Id: Iec6bfe159f8491138e93dde1d225a8c874c7ce31
This commit is contained in:
@@ -43,8 +43,10 @@ type variableProperties struct {
|
||||
} `android:"arch_variant"`
|
||||
|
||||
Malloc_not_svelte struct {
|
||||
Cflags []string `android:"arch_variant"`
|
||||
Shared_libs []string `android:"arch_variant"`
|
||||
Cflags []string `android:"arch_variant"`
|
||||
Shared_libs []string `android:"arch_variant"`
|
||||
Whole_static_libs []string `android:"arch_variant"`
|
||||
Exclude_static_libs []string `android:"arch_variant"`
|
||||
} `android:"arch_variant"`
|
||||
|
||||
Safestack struct {
|
||||
|
Reference in New Issue
Block a user