aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-02-06 13:06:04 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-06 13:08:22 -0800
commit4c6c41799bfe76057ad557de706cd8ca27eab65c (patch)
tree163a447a9e7f18157e8ffa4050a8d751ad178ff0 /src
parentbeefb2c0a578f47f180bde1e42b1c12b61b8835d (diff)
PiperOrigin-RevId: 184726412
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/AndroidDeviceRule.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidDeviceRule.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidDeviceRule.java
index adafacf475..666840bda0 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidDeviceRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidDeviceRule.java
@@ -102,15 +102,9 @@ public final class AndroidDeviceRule implements RuleDefinition {
A list of apks to be installed on the device at boot time.
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("platform_apks", LABEL_LIST).legacyAllowAnyFileType())
- // This should be set to false when we globally enable the flag for cloud dex2oat.
- // Setting it to True for now is a no-op today, but setting it to false will disable
- // all Dex2Oat functionality. This will be changed back to false based on this release
- // process
- // 1. Set pregenerate_oat_files_for_tests with default to true.
- // 2. Wait for a Blaze release. This should be a no-op.
- // 3. Update all android_device rules and set value of cloud_dex2oat appropriately.
- // 4. Change the default flag value to false.
- .add(attr("pregenerate_oat_files_for_tests", BOOLEAN).value(true))
+ // Do not pregenerate oat files for tests by default unless the device
+ // supports it.
+ .add(attr("pregenerate_oat_files_for_tests", BOOLEAN).value(false))
.add(
attr("$adb_static", LABEL)
.cfg(HostTransition.INSTANCE)