Only sanitize Android.

Bug: N/A
Test: didn't
Change-Id: I9b9bc04112501eaa9f9ccf23152fc5d118b03000
This commit is contained in:
Elliott Hughes 2017-02-14 15:46:33 -08:00
parent 2bc8e32242
commit ec46f4ed28
1 changed files with 6 additions and 6 deletions

View File

@ -37,9 +37,6 @@ cc_library {
cppflags: libbase_cppflags,
export_include_dirs: ["include"],
shared_libs: ["liblog"],
sanitize: {
misc_undefined: ["integer"],
},
target: {
android: {
srcs: [
@ -47,6 +44,9 @@ cc_library {
"properties.cpp",
],
cppflags: ["-Wexit-time-destructors"],
sanitize: {
misc_undefined: ["integer"],
},
},
darwin: {
srcs: ["errors_unix.cpp"],
@ -89,12 +89,12 @@ cc_test {
"strings_test.cpp",
"test_main.cpp",
],
sanitize: {
misc_undefined: ["integer"],
},
target: {
android: {
srcs: ["properties_test.cpp"],
sanitize: {
misc_undefined: ["integer"],
},
},
windows: {
srcs: ["utf8_test.cpp"],