summaryrefslogtreecommitdiffstats
path: root/o3d/compiler
diff options
context:
space:
mode:
authortschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 22:22:54 +0000
committertschmelcher@chromium.org <tschmelcher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 22:22:54 +0000
commit5e1921eb4b6fc4d8143a4ba851d6beb5ba6024c3 (patch)
treedc0a9ada34234a0a00115111588e1598e9a6e814 /o3d/compiler
parentbaebc68c7c2b0ac2dfc864c4f91930e58c346f82 (diff)
downloadchromium_src-5e1921eb4b6fc4d8143a4ba851d6beb5ba6024c3.zip
chromium_src-5e1921eb4b6fc4d8143a4ba851d6beb5ba6024c3.tar.gz
chromium_src-5e1921eb4b6fc4d8143a4ba851d6beb5ba6024c3.tar.bz2
Override the ANTLR NFA conversion timeout to fix non-deterministic build failures on slow or heavily loaded machines (specifically the Windows build slaves). The default is 1 second, which is too low for our grammar. 30 seconds should be plenty.
See http://www.antlr.org/pipermail/antlr-interest/2009-September/035955.html BUG=none TEST=built on my Linux workstation with timeout of 150ms and verified that it reproduces the same error as seen on the Windows build slaves, then changed to 30000 and verified the problem goes away Review URL: http://codereview.chromium.org/3784007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62985 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/compiler')
-rw-r--r--o3d/compiler/technique/technique.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/o3d/compiler/technique/technique.gyp b/o3d/compiler/technique/technique.gyp
index 5d4cf90..04d09e9 100644
--- a/o3d/compiler/technique/technique.gyp
+++ b/o3d/compiler/technique/technique.gyp
@@ -42,6 +42,7 @@
'org.antlr.Tool',
'<(RULE_INPUT_PATH)',
'-fo', '<(technique_out_dir)',
+ '-Xconversiontimeout', '30000',
],
},
],