commit | ccbb2419379c8eb34bfc2bf262c5d29b995116c0 | [log] [tgz] |
---|---|---|
author | Peter Wen <wnwen@chromium.org> | Mon Apr 30 19:13:55 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Apr 30 19:13:55 2018 |
tree | 63353d90cd1ee8a61f75649afbbd2d17406ffbf9 | |
parent | ebbf83c380b06f13516b2e9755040aad5bcab6d7 [diff] |
Android: Default no longer builds generated files * Switch Android Studio's generate_gradle.py script to no longer build all the generated files by default. This reduces runtime for a clean build from 10 minutes to 20 seconds. Add a `--full` flag to explicitly build these generated files, which should not be necessary on a regular basis. * Most of the benefit from generated files being present is fewer red underlines in Android Studio. Many red underlines are from lacking a R.java file, which takes a long time to generate. * Fix bug so generate_gradle.py works even right after `gn clean`. * Allow users to specify `-j` so generate_gradle.py works without goma. * Speed up generating the `all` module (which is the default) by not creating each sub-project's build.gradle file when generating the information that it needs. Bug: 799954,620034 Change-Id: Ie3c6ea0cdba198aede001332d64bec2eccffbe13 Reviewed-on: https://chromium-review.googlesource.com/1031052 Reviewed-by: Eric Stevenson <estevenson@chromium.org> Commit-Queue: Peter Wen <wnwen@chromium.org> Cr-Commit-Position: refs/heads/master@{#554838}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .