From f3ec5784d394a945b84bd40d761607915991dd04 Mon Sep 17 00:00:00 2001 From: "iannucci@chromium.org" Date: Thu, 18 Jul 2013 18:37:50 +0000 Subject: [PATCH] Check to see if a dependency was skipped in custom_deps, and if so, skip it in recurse. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19670012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212373 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gclient.py b/gclient.py index ed08e47f4..789d89b9d 100755 --- a/gclient.py +++ b/gclient.py @@ -705,7 +705,9 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): print_stdout = True filter_fn = None - if os.path.isdir(cwd): + if parsed_url is None: + print >> sys.stderr, 'Skipped omitted dependency %s' % cwd + elif os.path.isdir(cwd): try: gclient_utils.CheckCallAndFilter( args, cwd=cwd, env=env, print_stdout=print_stdout,