Commit b1550ec8 authored by Dirk Pranke's avatar Dirk Pranke Committed by Commit Bot

Revert "Make an error on wrong recursedeps entry."

This reverts commit 81246202.

Reason for revert: This doesn't work for deps_os

Original change's description:
> Make an error on wrong recursedeps entry.
> 
> BUG=685433
> 
> Change-Id: I5eb68c4a3bfd1c93edecf33127a459822f5a23ed
> Reviewed-on: https://chromium-review.googlesource.com/440945
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Commit-Queue: Dirk Pranke <dpranke@chromium.org>
> 

TBR=dpranke@chromium.org,caseq@chromium.org,chromium-reviews@chromium.org,alex-ac@yandex-team.ru
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=685433

Change-Id: If10b57d77dbff36d140f842d375682a20d69db06
Reviewed-on: https://chromium-review.googlesource.com/440491Reviewed-by: 's avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
parent 2418b587
...@@ -688,14 +688,6 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): ...@@ -688,14 +688,6 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
'ParseDepsFile(%s): allowed_hosts must be absent ' 'ParseDepsFile(%s): allowed_hosts must be absent '
'or a non-empty iterable' % self.name) 'or a non-empty iterable' % self.name)
# Check that all recursedeps are valid.
if self.recursedeps is not None:
for name in self.recursedeps:
if name not in deps:
raise gclient_utils.Error(
'ParseDepsFile(%s): recursedeps contains entry, '
'that is not referenced in deps: %s' % name)
# Convert the deps into real Dependency. # Convert the deps into real Dependency.
deps_to_add = [] deps_to_add = []
for name, url in deps.iteritems(): for name, url in deps.iteritems():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment