| Index: third_party/android_protobuf/BUILD.gn
|
| diff --git a/third_party/android_protobuf/BUILD.gn b/third_party/android_protobuf/BUILD.gn
|
| index 79d5c4a247a0beb83d8d5e2328e516900ab3aa75..becc47022138b9d6fd72efa2af78d0c446a11eb3 100644
|
| --- a/third_party/android_protobuf/BUILD.gn
|
| +++ b/third_party/android_protobuf/BUILD.gn
|
| @@ -14,7 +14,14 @@ if (current_toolchain == host_toolchain) {
|
|
|
| # GYP: //third_party/android_protobuf/android_protobuf.gyp:android_protoc
|
| executable("android_protoc") {
|
| - configs -= [ "//build/config/compiler:chromium_code" ]
|
| + configs -= [
|
| + "//build/config/compiler:chromium_code",
|
| +
|
| + # Does not compile with sanitizers.
|
| + "//build/config/sanitizers:default_sanitizer_flags",
|
| + "//build/config/sanitizers:default_sanitizer_coverage_flags",
|
| + ]
|
| +
|
| configs += [
|
| "//build/config/compiler:no_chromium_code",
|
|
|
|
|