diff options
Diffstat (limited to 'breakpad/BUILD.gn')
-rw-r--r-- | breakpad/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn index 2c0ae49..53454ac 100644 --- a/breakpad/BUILD.gn +++ b/breakpad/BUILD.gn @@ -420,6 +420,8 @@ if (is_linux && current_toolchain == host_toolchain) { "src/common/string_conversion.h", ] + configs -= [ "//build/config/compiler:chromium_code" ] + configs += [ "//build/config/compiler:no_chromium_code" ] direct_dependent_configs = [ ":breakpad_client_config" ] # Android NDK toolchain doesn't support -mimplicit-it=always @@ -551,7 +553,8 @@ if (is_linux && current_toolchain == host_toolchain) { ] # This file has an unused variable warning. - cflags = [ "-Wno-unused-variable" ] + configs -= [ "//build/config/compiler:chromium_code" ] + configs += [ "//build/config/compiler:no_chromium_code" ] deps = [ ":breakpad_client" ] |