Index: third_party/libphonenumber/BUILD.gn |
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn |
index 4c32084ef42b63d77a567ab6036f0a0ba22f24a6..a428292e196cdb08403245d14ccf94be4b63bc6e 100644 |
--- a/third_party/libphonenumber/BUILD.gn |
+++ b/third_party/libphonenumber/BUILD.gn |
@@ -45,8 +45,9 @@ static_library("libphonenumber_without_metadata") { |
"src/phonenumbers/utf/unilib.cc", |
] |
- # TODO(scottmg): Temporary until https://codereview.appspot.com/134650043/ |
- # lands and rolls. http://crbug.com/335824 |
+ # libphonenumber's base/logging.h is a minimal implementation where DCHECKs |
+ # do not consume their arguments. This leads to unused variable warnings in |
+ # release builds. |
configs -= [ "//build/config/compiler:chromium_code" ] |
configs += [ "//build/config/compiler:no_chromium_code" ] |