Commit 4978e8d1 authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

android_build_instructions.md: Mention more GN args for local dev

Mentions:
* disable_android_lint
* use_errorprone_java_compiler
* treat_warnings_as_errors

TBR=docs update

Change-Id: I4bf1e320058357bbf878aedacaa9641bfa169daa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2308272Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790373}
parent bef8eec5
......@@ -355,6 +355,17 @@ Args that affect build speed:
* What it does: Uses multiple `.so` files instead of just one (faster links)
* `is_java_debug = true` *(default=`is_debug`)*
* What it does: Disables ProGuard (slow build step)
* `treat_warnings_as_errors = false` *(default=`true`)*
* Causes any compiler warnings or lint checks to not fail the build.
* Allows you to iterate without needing to satisfy static analysis checks.
* `use_errorprone_java_compiler = false` *(default=`true`)
* Don't run Errorprone checks when compiling Java files.
* Speeds up Java compiles by ~30% at the cost of not seeing ErrorProne
warnings.
* `disable_android_lint = true` *(default=`false`)*
* Don't run Android Lint when building APK / App Bundle targets.
* Lint usually takes > 60 seconds to run, so disabling it dramatically
reduces incremental build times.
#### Incremental Install
[Incremental Install](/build/android/incremental_install/README.md) uses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment