automate-git: Remove unsupported --disable-syntax-validation flag

This commit is contained in:
Marshall Greenblatt 2020-03-03 23:00:58 -05:00
parent 8c6cc302d0
commit a22b670a00
1 changed files with 2 additions and 2 deletions

View File

@ -1360,7 +1360,7 @@ if not os.path.exists(gclient_file) or options.forceconfig:
# Initial Chromium checkout. # Initial Chromium checkout.
if not options.nochromiumupdate and not os.path.exists(chromium_src_dir): if not options.nochromiumupdate and not os.path.exists(chromium_src_dir):
chromium_checkout_new = True chromium_checkout_new = True
run("gclient sync --nohooks --with_branch_heads --disable-syntax-validation --jobs 16", \ run("gclient sync --nohooks --with_branch_heads --jobs 16", \
chromium_dir, depot_tools_dir) chromium_dir, depot_tools_dir)
else: else:
chromium_checkout_new = False chromium_checkout_new = False
@ -1452,7 +1452,7 @@ if chromium_checkout_changed:
os.environ['GYP_CHROMIUM_NO_ACTION'] = '1' os.environ['GYP_CHROMIUM_NO_ACTION'] = '1'
# Update third-party dependencies including branch/tag information. # Update third-party dependencies including branch/tag information.
run("gclient sync %s--with_branch_heads --disable-syntax-validation --jobs 16" % \ run("gclient sync %s--with_branch_heads --jobs 16" % \
('--reset ' if discard_local_changes else ''), chromium_dir, depot_tools_dir) ('--reset ' if discard_local_changes else ''), chromium_dir, depot_tools_dir)
# Clear the GYP_CHROMIUM_NO_ACTION value. # Clear the GYP_CHROMIUM_NO_ACTION value.