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

Unified Diff: build/android/play_services/preprocess.py

Issue 2885413003: Fix detection of GMS proguard.txt files (Closed)
Patch Set: Created 3 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: build/android/play_services/preprocess.py
diff --git a/build/android/play_services/preprocess.py b/build/android/play_services/preprocess.py
index 16fd3c46764585455c2ae5fd377eeba76c4beba8..e822c1a95bb221740fb94809123613b4b8191de1 100755
--- a/build/android/play_services/preprocess.py
+++ b/build/android/play_services/preprocess.py
@@ -220,7 +220,7 @@ def _EnumerateProguardFiles(root_dir, out_dir, gni_path):
for client_dir in os.listdir(out_dir):
proguard_path = os.path.join(
out_dir, client_dir, 'proguard.txt')
- if os.path.exists(os.path.dirname(proguard_path)):
+ if os.path.exists(proguard_path):
rooted_path = os.path.relpath(proguard_path, root_dir)
gni_lines.append(' "//{}",'.format(rooted_path))
gni_lines.sort()
« 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