am b43a159c
: Replace asan with sanitize
* commit 'b43a159c13c47495d64089821f6b0bfd49ebd237': Replace asan with sanitize
This commit is contained in:
@@ -48,6 +48,8 @@ var standardProperties = map[string]struct {
|
|||||||
"LOCAL_LDLIBS": {"host_ldlibs", bpparser.List},
|
"LOCAL_LDLIBS": {"host_ldlibs", bpparser.List},
|
||||||
"LOCAL_CLANG_CFLAGS": {"clang_cflags", bpparser.List},
|
"LOCAL_CLANG_CFLAGS": {"clang_cflags", bpparser.List},
|
||||||
"LOCAL_YACCFLAGS": {"yaccflags", bpparser.List},
|
"LOCAL_YACCFLAGS": {"yaccflags", bpparser.List},
|
||||||
|
"LOCAL_SANITIZE": {"sanitize", bpparser.List},
|
||||||
|
"LOCAL_SANITIZE_RECOVER": {"sanitize_recover", bpparser.List},
|
||||||
|
|
||||||
"LOCAL_JAVA_RESOURCE_DIRS": {"java_resource_dirs", bpparser.List},
|
"LOCAL_JAVA_RESOURCE_DIRS": {"java_resource_dirs", bpparser.List},
|
||||||
"LOCAL_JAVACFLAGS": {"javacflags", bpparser.List},
|
"LOCAL_JAVACFLAGS": {"javacflags", bpparser.List},
|
||||||
@@ -62,7 +64,6 @@ var standardProperties = map[string]struct {
|
|||||||
"LOCAL_IS_HOST_MODULE": {"host", bpparser.Bool},
|
"LOCAL_IS_HOST_MODULE": {"host", bpparser.Bool},
|
||||||
"LOCAL_CLANG": {"clang", bpparser.Bool},
|
"LOCAL_CLANG": {"clang", bpparser.Bool},
|
||||||
"LOCAL_FORCE_STATIC_EXECUTABLE": {"static", bpparser.Bool},
|
"LOCAL_FORCE_STATIC_EXECUTABLE": {"static", bpparser.Bool},
|
||||||
"LOCAL_ADDRESS_SANITIZER": {"asan", bpparser.Bool},
|
|
||||||
"LOCAL_NATIVE_COVERAGE": {"native_coverage", bpparser.Bool},
|
"LOCAL_NATIVE_COVERAGE": {"native_coverage", bpparser.Bool},
|
||||||
"LOCAL_NO_CRT": {"nocrt", bpparser.Bool},
|
"LOCAL_NO_CRT": {"nocrt", bpparser.Bool},
|
||||||
"LOCAL_ALLOW_UNDEFINED_SYMBOLS": {"allow_undefined_symbols", bpparser.Bool},
|
"LOCAL_ALLOW_UNDEFINED_SYMBOLS": {"allow_undefined_symbols", bpparser.Bool},
|
||||||
|
11
cc/cc.go
11
cc/cc.go
@@ -318,11 +318,12 @@ type CCBase struct {
|
|||||||
Properties CCBaseProperties
|
Properties CCBaseProperties
|
||||||
|
|
||||||
unused struct {
|
unused struct {
|
||||||
Asan bool
|
Native_coverage bool
|
||||||
Native_coverage bool
|
Required []string
|
||||||
Strip string
|
Sanitize []string
|
||||||
Tags []string
|
Sanitize_recover []string
|
||||||
Required []string
|
Strip string
|
||||||
|
Tags []string
|
||||||
}
|
}
|
||||||
|
|
||||||
installPath string
|
installPath string
|
||||||
|
Reference in New Issue
Block a user