From a22b670a00d848449547ef1313ac498a9f07f40c Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 3 Mar 2020 23:00:58 -0500 Subject: [PATCH] automate-git: Remove unsupported --disable-syntax-validation flag --- tools/automate/automate-git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/automate/automate-git.py b/tools/automate/automate-git.py index a23bee240..7e6dfafc0 100644 --- a/tools/automate/automate-git.py +++ b/tools/automate/automate-git.py @@ -1360,7 +1360,7 @@ if not os.path.exists(gclient_file) or options.forceconfig: # Initial Chromium checkout. if not options.nochromiumupdate and not os.path.exists(chromium_src_dir): 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) else: chromium_checkout_new = False @@ -1452,7 +1452,7 @@ if chromium_checkout_changed: os.environ['GYP_CHROMIUM_NO_ACTION'] = '1' # 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) # Clear the GYP_CHROMIUM_NO_ACTION value.