Replace asan with sanitize

LOCAL_ADDRESS_SANITIZER has been replaced with LOCAL_SANITIZE.

Change-Id: I81fe7e0c9135cfd4a222fae4012ab5082cc58f29
This commit is contained in:
Colin Cross 2015-09-16 14:00:32 -07:00
parent 8a12ccd282
commit b43a159c13
2 changed files with 8 additions and 6 deletions

View file

@ -48,6 +48,8 @@ var standardProperties = map[string]struct {
"LOCAL_LDLIBS": {"host_ldlibs", bpparser.List},
"LOCAL_CLANG_CFLAGS": {"clang_cflags", 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_JAVACFLAGS": {"javacflags", bpparser.List},
@ -62,7 +64,6 @@ var standardProperties = map[string]struct {
"LOCAL_IS_HOST_MODULE": {"host", bpparser.Bool},
"LOCAL_CLANG": {"clang", bpparser.Bool},
"LOCAL_FORCE_STATIC_EXECUTABLE": {"static", bpparser.Bool},
"LOCAL_ADDRESS_SANITIZER": {"asan", bpparser.Bool},
"LOCAL_NATIVE_COVERAGE": {"native_coverage", bpparser.Bool},
"LOCAL_NO_CRT": {"nocrt", bpparser.Bool},
"LOCAL_ALLOW_UNDEFINED_SYMBOLS": {"allow_undefined_symbols", bpparser.Bool},

View file

@ -318,11 +318,12 @@ type CCBase struct {
Properties CCBaseProperties
unused struct {
Asan bool
Native_coverage bool
Strip string
Tags []string
Required []string
Native_coverage bool
Required []string
Sanitize []string
Sanitize_recover []string
Strip string
Tags []string
}
installPath string