Do gclient sync
before compile
Bug: skia:7388 Change-Id: I8d68fe754ceeedea8ca7ff53ad9d2bb18a328288 Reviewed-on: https://skia-review.googlesource.com/90241 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
This commit is contained in:
parent
46596ae505
commit
632156d835
@ -129,6 +129,7 @@ def compile_branch(args, branch):
|
||||
|
||||
commands = [
|
||||
['git', 'checkout', branch],
|
||||
['gclient', 'sync'],
|
||||
['ninja', '-C', args.ninjadir, 'nanobench'],
|
||||
['cp', args.ninjadir + '/nanobench', nano_path(args, branch)]
|
||||
]
|
||||
@ -150,6 +151,7 @@ def compile_modified(args):
|
||||
subprocess.check_call(['git', 'reset', 'HEAD^', '--soft'])
|
||||
subprocess.check_call(['git', 'stash'])
|
||||
|
||||
subprocess.check_call(['gclient', 'sync'], cwd=args.skiadir)
|
||||
subprocess.check_call(
|
||||
['ninja', '-C', args.ninjadir, 'nanobench'], cwd=args.skiadir)
|
||||
subprocess.check_call(
|
||||
|
Loading…
Reference in New Issue
Block a user