libutils: Limit integer sanitize to target only
This matches what the Android.mk defined, and should temporarily fix builds that were broken with: system/core/libutils/Unicode.cpp:225:12: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'size_t' (aka 'unsigned long') Change-Id: I0363b42fc2d62dfd2d05649c9aa9ef0be573e20a
This commit is contained in:
parent
41e82a3ca5
commit
e16bdb1bd1
1 changed files with 4 additions and 3 deletions
|
|
@ -66,6 +66,10 @@ cc_library {
|
|||
"libdl",
|
||||
"liblog",
|
||||
],
|
||||
|
||||
sanitize: {
|
||||
misc_undefined: ["integer"],
|
||||
},
|
||||
},
|
||||
|
||||
host: {
|
||||
|
|
@ -96,9 +100,6 @@ cc_library {
|
|||
},
|
||||
|
||||
clang: true,
|
||||
sanitize: {
|
||||
misc_undefined: ["integer"],
|
||||
},
|
||||
}
|
||||
|
||||
// Include subdirectory makefiles
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue