diff options
author | elijahtaylor@google.com <elijahtaylor@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-06 18:23:25 +0000 |
---|---|---|
committer | elijahtaylor@google.com <elijahtaylor@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-06 18:23:25 +0000 |
commit | 89df6eb95d00bd0b09e05a8914af930c0fe87f62 (patch) | |
tree | 02ee5e00829f40890c8c03d65c5eb1aa33da53b8 /tools/checkdeps | |
parent | a0b24999f80cd49ab16677de9a631c099e5ed51b (diff) | |
download | chromium_src-89df6eb95d00bd0b09e05a8914af930c0fe87f62.zip chromium_src-89df6eb95d00bd0b09e05a8914af930c0fe87f62.tar.gz chromium_src-89df6eb95d00bd0b09e05a8914af930c0fe87f62.tar.bz2 |
Remove nacl_tools_revision and get the appropriate folders/revisions from native client's DEPS file
BUG=none
TEST=trybots,gclient sync
Review URL: http://codereview.chromium.org/6933043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/checkdeps')
-rwxr-xr-x | tools/checkdeps/checkdeps.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/checkdeps/checkdeps.py b/tools/checkdeps/checkdeps.py index e7c49a2..5649a98 100755 --- a/tools/checkdeps/checkdeps.py +++ b/tools/checkdeps/checkdeps.py @@ -243,9 +243,12 @@ def ApplyDirectoryRules(existing_rules, dir_name): # Check the DEPS file in this directory. if VERBOSE: print "Applying rules from", dir_name - def FromImpl(unused): + def FromImpl(unused, unused2): pass # NOP function so "From" doesn't fail. + def FileImpl(unused): + pass # NOP function so "File" doesn't fail. + class _VarImpl: def __init__(self, local_scope): self._local_scope = local_scope @@ -257,7 +260,9 @@ def ApplyDirectoryRules(existing_rules, dir_name): raise Error("Var is not defined: %s" % var_name) local_scope = {} - global_scope = {"From": FromImpl, "Var": _VarImpl(local_scope).Lookup} + global_scope = {"From": FromImpl, + "File": FileImpl, + "Var": _VarImpl(local_scope).Lookup} deps_file = os.path.join(dir_name, "DEPS") if os.path.isfile(deps_file): |