Disable skia_warnings_as_errors for Fast bot.

BUG=skia:5257
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1955923002

Review-Url: https://codereview.chromium.org/1955923002
This commit is contained in:
benjaminwagner 2016-05-06 09:30:08 -07:00 committed by Commit bot
parent 675576f023
commit 31b8417b3c

View File

@ -80,6 +80,9 @@ def gyp_defines(builder_dict):
elif ('Mac' in builder_dict.get('os', '') and
'Android' in builder_dict.get('extra_config', '')):
werr = False
elif 'Fast' in builder_dict.get('extra_config', ''):
# See https://bugs.chromium.org/p/skia/issues/detail?id=5257
werr = False
else:
werr = True
gyp_defs['skia_warnings_as_errors'] = str(int(werr)) # True/False -> '1'/'0'