chromium-src-build/android
Peter Wen bd7145a538 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-Original-Commit-Position: refs/heads/master@{#554838}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ccbb2419379c8eb34bfc2bf262c5d29b995116c0
2018-04-30 19:13:55 +00:00
..
binary_size Android: Update reference apks for M67. 2018-04-30 15:01:05 +00:00
buildhooks Android: Fix emma_coverage=true 2018-01-16 14:54:45 +00:00
bytecode Android: Remove BaseChromiumApplication 2018-02-21 20:11:28 +00:00
docs android: Document .build_config build files. 2018-03-07 09:44:28 +00:00
empty Reland: Android: Remove last remnants of ANT (part 1) 2017-10-19 20:31:40 +00:00
gn [android] Stop using isolate.py for data dependency management. (RELAND) 2016-11-18 22:55:16 +00:00
gradle Android: Default no longer builds generated files 2018-04-30 19:13:55 +00:00
gyp Reland "Reland "Remove ".dd" extension from VR icons"" 2018-04-25 16:36:54 +00:00
incremental_install Android: Tweak log message of incremental install to include apk name 2018-04-12 15:01:42 +00:00
lint Add global WebUSB permission toggle to Android 2018-04-27 19:55:48 +00:00
play_services physicalweb: Remove Nearby-based scanning 2018-04-27 19:28:45 +00:00
pylib [build/android] Replace version_codes.O_MR1 with OREO_MR1 2018-04-30 12:33:35 +00:00
stacktrace java_deobfuscate: Update regex for logcat with space before PID 2017-10-24 14:29:49 +00:00
test_wrapper Remove --target-devices-file option from android test runner. 2017-10-06 18:41:01 +00:00
tests/symbolize [ndk] Change ndk deps in src and relocate to third_party/android_ndk 2018-01-11 00:25:57 +00:00
update_deps [android] Propagate exit codes from update_third_party_deps. 2017-11-03 23:42:51 +00:00
AndroidManifest.xml Change dummy package name so it doesn't include a reserved word. 2017-04-19 15:55:54 +00:00
BUILD.gn Switch //build/print_python_deps.py to vpython. (RELAND) 2018-02-10 00:53:10 +00:00
CheckInstallApk-debug.apk Stop build on failed device status check, apk install and add CheckInstall step. 2013-05-14 17:15:30 +00:00
OWNERS Add COMPONENT: Test>Android to several OWNERS files. 2017-02-02 16:41:24 +00:00
PRESUBMIT.py android: Cleanup stack trace symbolizer 2018-04-11 09:15:46 +00:00
adb_chrome_public_command_line [build/android] Update adb_command_line.py to use flag_changer 2017-01-20 07:42:28 +00:00
adb_command_line.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
adb_gdb Fix Android debugging on Debian. 2018-02-12 17:02:47 +00:00
adb_install_apk.py [build/android] Fix error messages in adb_install_apk 2017-07-03 12:42:21 +00:00
adb_logcat_monitor.py [Android] Fix new pylint errors in build/android/. 2014-11-19 15:41:56 +00:00
adb_logcat_printer.py Create output dir in logcat printer if it doesn't exist. 2016-03-25 19:31:34 +00:00
adb_profile_chrome Remove //tools/profile_chrome from Chromium repo 2016-02-26 00:48:40 +00:00
adb_profile_chrome_startup Remove //tools/profile_chrome from Chromium repo 2016-02-26 00:48:40 +00:00
adb_reverse_forwarder.py [Android] Switch adb_reverse_forwarder to argparse. 2016-09-23 02:43:03 +00:00
adb_system_webview_command_line [build/android] Update adb_command_line.py to use flag_changer 2017-01-20 07:42:28 +00:00
android_only_explicit_jni_exports.lst Reland of Android: Use linker script to hide all non-JNI symbols 2017-02-15 17:20:56 +00:00
android_only_jni_exports.lst Reland of Android: Use linker script to hide all non-JNI symbols 2017-02-15 17:20:56 +00:00
apk_operations.py Warn rather than fail when setting flags fails for apk run command 2018-03-22 17:35:02 +00:00
asan_symbolize.py Fix target_arch kward in asan_symbolize.py 2018-04-20 08:15:09 +00:00
chromium-debug.keystore Reland: Android: Remove last remnants of ANT (part 1) 2017-10-19 20:31:40 +00:00
devil_chromium.json Roll Android SDK to N-MR1 2017-03-30 23:46:11 +00:00
devil_chromium.py [Android] Use local build of chromium_commands.dex.jar in chromium tests. 2016-12-19 20:21:14 +00:00
diff_resource_sizes.py Fix appending to wrong var in diff_resource_sizes.py 2017-09-26 00:00:40 +00:00
download_doclava.py [Cronet] Use doclava to build Cronet Javadocs 2016-04-15 18:37:41 +00:00
emma_coverage_stats.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
emma_coverage_stats_test.py Set Python shebang in build to /usr/bin/env python 2017-07-05 14:42:43 +00:00
empty_proguard.flags Split apk-build.xml into 3 steps 2013-03-26 17:35:21 +00:00
envsetup.sh Android: Remove mentions of envsetup.sh from docs 2017-11-23 16:58:31 +00:00
generate_emma_html.py Output coverage reports in UTF8. 2016-10-17 16:56:09 +00:00
host_heartbeat.py [Android] Prepare build/android/ for catapult+devil. 2016-01-11 16:23:48 +00:00
lighttpd_server.py Android: Roll third_party/android_tools 2018-02-08 18:38:54 +00:00
main_dex_classes.flags Android: @MainDex fixes and assertion to prevent @MainDex regressions 2018-03-26 20:00:13 +00:00
method_count.py Reland #2 of Add dex info and static initializers to resource_sizes.py 2016-09-01 18:47:24 +00:00
multidex.flags Android: Remove ApplicationStatus from @MainDex 2018-03-16 21:18:13 +00:00
provision_devices.py [devil refactor] Prepare clients for DeviceUnreachableError 2017-04-13 12:19:51 +00:00
pylintrc [Android] Add a configurable environment for devil/. (RELAND 2) 2015-12-04 14:28:57 +00:00
resource_sizes.py resource_sizes.py: Remove detailed pak entry analysis 2018-04-04 20:13:51 +00:00
screenshot.py [Android] Prepare build/android/ for catapult+devil. 2016-01-11 16:23:48 +00:00
test_runner.py Create a top level ui screenshot description (Reland) 2018-03-19 16:00:09 +00:00
test_runner.pydeps Update Jinja2 from 2.8 to 2.10 2018-03-14 14:18:56 +00:00
tombstones.py Close and join pool after resolving tombstones. 2017-11-17 19:21:10 +00:00
update_verification.py [Android] Prepare build/android/ for catapult+devil. 2016-01-11 16:23:48 +00:00
video_recorder.py [Android] Prepare build/android/ for catapult+devil. 2016-01-11 16:23:48 +00:00