PropertyService: Exclude sanitization for darwin
This doesn't seem to work. All other projects restrict sanitization, too. Mac build not actually tested. Test: m Test: linux host build still contains ubsan symbols Change-Id: I60532a46177632320ba3b15b4a7c2d5e31ef2bfc
This commit is contained in:
parent
db976aa526
commit
e4c9acb767
|
@ -4,8 +4,12 @@ cc_library_static {
|
|||
srcs: ["property_info_parser.cpp"],
|
||||
|
||||
cpp_std: "experimental",
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
target: {
|
||||
linux: {
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
},
|
||||
},
|
||||
},
|
||||
cppflags: [
|
||||
"-Wall",
|
||||
|
|
|
@ -2,8 +2,12 @@ cc_defaults {
|
|||
name: "propertyinfoserializer_defaults",
|
||||
host_supported: true,
|
||||
cpp_std: "experimental",
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
target: {
|
||||
linux: {
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
},
|
||||
},
|
||||
},
|
||||
cppflags: [
|
||||
"-Wall",
|
||||
|
|
|
@ -2,8 +2,12 @@ cc_binary {
|
|||
name: "property_info_checker",
|
||||
host_supported: true,
|
||||
cpp_std: "experimental",
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
target: {
|
||||
linux: {
|
||||
sanitize: {
|
||||
misc_undefined: ["signed-integer-overflow"],
|
||||
},
|
||||
},
|
||||
},
|
||||
static_libs: [
|
||||
"libpropertyinfoserializer",
|
||||
|
@ -11,4 +15,4 @@ cc_binary {
|
|||
"libbase",
|
||||
],
|
||||
srcs: ["property_info_checker.cpp"],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue