summaryrefslogtreecommitdiffstats
path: root/third_party/re2
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 20:46:42 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 20:46:42 +0000
commit94e4f5f000b149ce1e9a9936fd311219731f2854 (patch)
tree2bad971c191e8da4d53985fc85e32714be36dfcf /third_party/re2
parentb1156cb05eb51eba79ae543ffaad3e115d66cbc9 (diff)
downloadchromium_src-94e4f5f000b149ce1e9a9936fd311219731f2854.zip
chromium_src-94e4f5f000b149ce1e9a9936fd311219731f2854.tar.gz
chromium_src-94e4f5f000b149ce1e9a9936fd311219731f2854.tar.bz2
Fix build with system re2
BUG=165264 Review URL: https://codereview.chromium.org/11871003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/re2')
-rw-r--r--third_party/re2/re2.gyp7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/re2/re2.gyp b/third_party/re2/re2.gyp
index f982497..4608945 100644
--- a/third_party/re2/re2.gyp
+++ b/third_party/re2/re2.gyp
@@ -100,6 +100,13 @@
're2/stringpiece.h',
're2/variadic_function.h',
],
+ 'shim_generator_additional_args': [
+ # Chromium copy of re2 is patched to rename POSIX to POSIX_SYNTAX
+ # because of collision issues that break the build.
+ # Upstream refuses to make changes:
+ # http://code.google.com/p/re2/issues/detail?id=73 .
+ '--define', 'POSIX=POSIX_SYNTAX',
+ ],
},
'includes': [
'../../build/shim_headers.gypi',