Commit 4d537b5c authored by Eric Stevenson's avatar Eric Stevenson Committed by Commit Bot

Android: Remove default value from write_build_config Deps.All().

Existing code had a typo breaking the default value, but it was never
used anyway.

Change-Id: Id6e763f735ee06d5493871608a68eaeb4bf0de1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898104
Auto-Submit: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712305}
parent e7c8126d
...@@ -648,9 +648,7 @@ class Deps(object): ...@@ -648,9 +648,7 @@ class Deps(object):
GetDepConfig(p) for p in self.all_deps_config_paths] GetDepConfig(p) for p in self.all_deps_config_paths]
self.direct_deps_config_paths = direct_deps_config_paths self.direct_deps_config_paths = direct_deps_config_paths
def All(self, wanted_type=None): def All(self, wanted_type):
if type is None:
return self.all_deps_configs
return DepsOfType(wanted_type, self.all_deps_configs) return DepsOfType(wanted_type, self.all_deps_configs)
def Direct(self, wanted_type=None): def Direct(self, wanted_type=None):
......
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