halcanary | 21736bd | 2016-04-25 13:34:06 -0700 | [diff] [blame] | 1 | #!/usr/bin/env python |
halcanary | 21736bd | 2016-04-25 13:34:06 -0700 | [diff] [blame] | 2 | # Copyright 2016 Google Inc. |
halcanary | 21736bd | 2016-04-25 13:34:06 -0700 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
Hal Canary | 8c2ccf4 | 2019-02-22 14:14:31 -0500 | [diff] [blame] | 6 | """ |
| 7 | Calls `GIT_SYNC_DEPS_QUIET=T tools/git-sync-deps`. |
| 8 | """ |
halcanary | 21736bd | 2016-04-25 13:34:06 -0700 | [diff] [blame] | 9 | |
halcanary | 21736bd | 2016-04-25 13:34:06 -0700 | [diff] [blame] | 10 | import os |
| 11 | import subprocess |
| 12 | import sys |
| 13 | |
Hal Canary | 8c2ccf4 | 2019-02-22 14:14:31 -0500 | [diff] [blame] | 14 | path = os.path.dirname(__file__) + '/../tools/git-sync-deps' |
| 15 | subprocess.check_call([sys.executable, path] + sys.argv[:1], |
| 16 | env=dict(os.environ, GIT_SYNC_DEPS_QUIET='T')) |