1c6d7d7ece
build: fix depot_tools patch
14 lines
784 B
Diff
14 lines
784 B
Diff
diff --git a/gclient.py b/gclient.py
|
|
index 59e2b4c5197928bdba1ef69bdbe637d7dfe471c1..b4bae5e48c83c84bd867187afaf40eed16e69851 100755
|
|
--- a/gclient.py
|
|
+++ b/gclient.py
|
|
@@ -783,7 +783,8 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
|
|
not condition or "non_git_source" not in condition):
|
|
continue
|
|
cipd_root = self.GetCipdRoot()
|
|
- for package in dep_value.get('packages', []):
|
|
+ packages = dep_value.get('packages', [])
|
|
+ for package in (x for x in packages if "infra/3pp/tools/swift-format" not in x.get('package')):
|
|
deps_to_add.append(
|
|
CipdDependency(parent=self,
|
|
name=name,
|