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: |