Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index 072da6e002d4a69dc4952caa81e027e95aa693ff..e1b3832a187531057865e56300fbcb594d7b0c41 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -1121,6 +1121,9 @@ template("compile_java") { |
"--java-srcjars=@FileArg($_rebased_build_config:javac:srcjars)", |
"--jar-excluded-classes=$_jar_excluded_patterns", |
] |
+ if (incremental_javac) { |
+ args += [ "--incremental" ] |
+ } |
if (_supports_android) { |
deps += [ "//build/android:android_ijar" ] |
_android_sdk_ijar = "$root_out_dir/lib.java/android.interface.jar" |