diff options
author | agrieve <agrieve@chromium.org> | 2015-09-24 15:08:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-24 22:09:15 +0000 |
commit | d8cef607861d43744b652410aff6f5629181a0f1 (patch) | |
tree | 694485e29ba1d0e8f17c58af691e41ce3f07e900 /build/config/android/config.gni | |
parent | 81a8f06928b49f15f3437784376d83f6ffb990c0 (diff) | |
download | chromium_src-d8cef607861d43744b652410aff6f5629181a0f1.zip chromium_src-d8cef607861d43744b652410aff6f5629181a0f1.tar.gz chromium_src-d8cef607861d43744b652410aff6f5629181a0f1.tar.bz2 |
Adds an --incremental flag to javac.py and a GN flag to enable it
Overhauls md5_check.py to have it track exactly what files change,
as well as what subfiles within zip files change.
Uses this information in javac.py to compile only source files that have
changed since the last invokation.
Timings for the javac.py step of chrome_java with one file changed:
Before:
real 0m11.381s
user 0m27.881s
sys 0m1.217s
After:
real 0m3.511s
user 0m4.624s
sys 0m0.631s
BUG=533442
Review URL: https://codereview.chromium.org/1361733002
Cr-Commit-Position: refs/heads/master@{#350680}
Diffstat (limited to 'build/config/android/config.gni')
-rw-r--r-- | build/config/android/config.gni | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/config/android/config.gni b/build/config/android/config.gni index 2ed5c47..d9a5715 100644 --- a/build/config/android/config.gni +++ b/build/config/android/config.gni @@ -69,6 +69,9 @@ if (is_android) { # Disables process isolation when building _incremental targets. # Required for Android M+ due to SELinux policies (stronger sandboxing). disable_incremental_isolated_processes = false + + # Speed up incremental compiles by compiling only changed files. + incremental_javac = false } # Host stuff ----------------------------------------------------------------- |