Index: tools/licenses.py |
diff --git a/tools/licenses.py b/tools/licenses.py |
index 9f33ffb8450ef0e440658c997302b3c55a904bf1..d4767fdd4c2f619f98389779df512d2b3d9332d2 100755 |
--- a/tools/licenses.py |
+++ b/tools/licenses.py |
@@ -493,7 +493,8 @@ def GetThirdPartyDepsFromGNDepsOutput(gn_deps): |
third_party_deps = set() |
for build_dep in gn_deps.split(): |
m = re.search(r'^(.+/third_party/[^/]+)/(.+/)?BUILD\.gn$', build_dep) |
- if m: |
+ # TODO(phajdan): Consider using PRUNE_PATHS to filter unwanted deps. |
Paweł Hajdan Jr.
2017/06/30 07:16:05
Why does this TODO add me? It should add the perso
mef
2017/06/30 12:38:40
I'll be happy to leave it as is or use PRUNE_PATHS
mef
2017/06/30 14:31:45
I've played with relpath and PRUNE_PATHS and it lo
|
+ if m and not os.path.join("secondary", "third_party") in build_dep: |
third_party_deps.add(m.group(1)) |
return third_party_deps |