Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: tools/checkdeps/java_checker.py

Issue 239993004: Ignore java files in ThirdParty directories (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/checkdeps/java_checker.py
diff --git a/tools/checkdeps/java_checker.py b/tools/checkdeps/java_checker.py
index 61e51df98996f3cafd506aeb13bed2ed0fc02bbf..36e46230f4cd6ee47160fd27cd8555eb31898e98 100644
--- a/tools/checkdeps/java_checker.py
+++ b/tools/checkdeps/java_checker.py
@@ -56,7 +56,7 @@ class JavaChecker(object):
if d == 'out':
dirs.remove(d)
# Skip third-party directories.
- if d == 'third_party':
+ if d in ('third_party', 'ThirdParty'):
dirs.remove(d)
for f in files:
if f.endswith('.java'):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698