summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2014-09-08 14:25:19 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-08 21:36:52 +0000
commit4d2ee242cdc6eb2ce8119802b7c51f8393c945f0 (patch)
tree7ae3d190038e9d967c54ca5fdde4ea0dd19c3521 /third_party
parent9f7acae47abef17f27479ee91053058184e2baa4 (diff)
downloadchromium_src-4d2ee242cdc6eb2ce8119802b7c51f8393c945f0.zip
chromium_src-4d2ee242cdc6eb2ce8119802b7c51f8393c945f0.tar.gz
chromium_src-4d2ee242cdc6eb2ce8119802b7c51f8393c945f0.tar.bz2
gn: Add missing NDEBUG define in Release
This is required at least on Windows as it's used by system headers to control things like assert, etc. R=brettw@chromium.org BUG=335824,354261 Review URL: https://codereview.chromium.org/475153002 Cr-Commit-Position: refs/heads/master@{#293788}
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libphonenumber/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/libphonenumber/BUILD.gn b/third_party/libphonenumber/BUILD.gn
index 994eb34..26386a6 100644
--- a/third_party/libphonenumber/BUILD.gn
+++ b/third_party/libphonenumber/BUILD.gn
@@ -44,6 +44,11 @@ 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
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
direct_dependent_configs = [ ":libphonenumber_config" ]
deps = [