summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-05-22 11:11:52 -0700
committerColin Cross <ccross@android.com>2018-05-24 14:53:58 -0700
commitae5caf554cb01b2bc73130dfe99c9f5a475b03d9 (patch)
tree71fd459d64024e74738697d546a4509a8f2ded21 /java/java.go
parente467f44f9bbfbb969fe867b8a1b2e68f017ac485 (diff)
Add support for android_test modules
android_test module are APKs that can be run as tests, either as standalone unit tests or as instrumentation tests for another APK. Test: m checkbuild Change-Id: I16661701637e4048fd99442029c3e195ebf373a4
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go
index a4cb65b51..02fdc00fa 100644
--- a/java/java.go
+++ b/java/java.go
@@ -212,8 +212,8 @@ type CompilerDeviceProperties struct {
}
Optimize struct {
- // If false, disable all optimization. Defaults to true for apps, false for
- // libraries and tests.
+ // If false, disable all optimization. Defaults to true for android_app and android_test
+ // modules, false for java_library and java_test modules.
Enabled *bool
// If true, optimize for size by removing unused code. Defaults to true for apps,