aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2014-08-21 13:17:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-21 13:17:43 -0700
commit5164a979a050b015e18322690ab4bb14885e599b (patch)
tree122235c6cbaf00a1d5be9867b7dfebb4cd0b986a /tools
parent7eacd77ce63abec6c5a0e7be9bf9f40ea4145d11 (diff)
git-sync-deps handles recursive DEPS
NOTRY=true R=mtklein@google.com, borenet@google.com Author: halcanary@google.com Review URL: https://codereview.chromium.org/468113003
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-sync-deps4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/git-sync-deps b/tools/git-sync-deps
index 22309bd792..717ab38055 100755
--- a/tools/git-sync-deps
+++ b/tools/git-sync-deps
@@ -194,6 +194,10 @@ def git_sync_deps(deps_file_path, deps_os_list, verbose):
multithread(git_checkout_to_directory, list_of_arg_lists)
+ for directory in deps.get('recursedeps', []):
+ recursive_path = os.path.join(deps_file_directory, directory, 'DEPS')
+ git_sync_deps(recursive_path, deps_os_list, verbose)
+
def multithread(function, list_of_arg_lists):
# for args in list_of_arg_lists: