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

Unified Diff: build/android/gyp/javac.py

Issue 1127233005: Don't include tested apks resources in test apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: build/android/gyp/javac.py
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py
index a0fcda815635e0d19948ab394f459ff49c9a08bf..e36fd43bc05d3544a537cda9e7c4b85974dbc9fc 100755
--- a/build/android/gyp/javac.py
+++ b/build/android/gyp/javac.py
@@ -236,11 +236,12 @@ def main(argv):
break
java_files = filtered_java_files
- DoJavac(
- classpath,
- classes_dir,
- options.chromium_code,
- java_files)
+ if len(java_files) != 0:
+ DoJavac(
+ classpath,
+ classes_dir,
+ options.chromium_code,
+ java_files)
if options.jar_path:
if options.main_class or options.manifest_entry:

Powered by Google App Engine
This is Rietveld 408576698