1*c8dee2aaSAndroid Build Coastguard Worker#!/usr/bin/env python3 2*c8dee2aaSAndroid Build Coastguard Worker# Copyright 2016 Google Inc. 3*c8dee2aaSAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 4*c8dee2aaSAndroid Build Coastguard Worker# found in the LICENSE file. 5*c8dee2aaSAndroid Build Coastguard Worker 6*c8dee2aaSAndroid Build Coastguard Worker""" 7*c8dee2aaSAndroid Build Coastguard WorkerCalls `GIT_SYNC_DEPS_QUIET=T tools/git-sync-deps`. 8*c8dee2aaSAndroid Build Coastguard Worker""" 9*c8dee2aaSAndroid Build Coastguard Worker 10*c8dee2aaSAndroid Build Coastguard Workerimport os 11*c8dee2aaSAndroid Build Coastguard Workerimport subprocess 12*c8dee2aaSAndroid Build Coastguard Workerimport sys 13*c8dee2aaSAndroid Build Coastguard Worker 14*c8dee2aaSAndroid Build Coastguard Workerpath = os.path.dirname(__file__) + '/../tools/git-sync-deps' 15*c8dee2aaSAndroid Build Coastguard Workersubprocess.check_call([sys.executable, path] + sys.argv[:1], 16*c8dee2aaSAndroid Build Coastguard Worker env=dict(os.environ, GIT_SYNC_DEPS_QUIET='T')) 17