summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-07-24 11:35:21 -0700
committer Andreas Gampe <agampe@google.com> 2017-07-25 09:06:01 -0700
commita46d0ab465ae854cb00be61bf7ded7c44e3bdfa3 (patch)
tree4e9679c24748b1870be689dbac2ea59e192d6a2e
parent194cf5f7db9762c17a0f2c91308cb060db08f571 (diff)
ART: Allow dex2oat sanitization
Reverts commit c2f0474b90ee62fce1e538bfbfde4a609885b258. Reverts commit 07407cd082033b72c953cbef37feb98cbd8a1b61. The original commit was made when builds were not preopted by default, so that dex2oat was speed-compiling everything on first boot. Bug: 22233158 Bug: 29188876 Test: m Test: SANITIZE_TARGET=address m Test: First boot is acceptable (tested on Pixel) Change-Id: I52a334c7fe927f78bf8049208e5654e0aa86dbc9
-rw-r--r--dex2oat/Android.bp9
1 files changed, 0 insertions, 9 deletions
diff --git a/dex2oat/Android.bp b/dex2oat/Android.bp
index 346f5a7ef5..0d453efc0c 100644
--- a/dex2oat/Android.bp
+++ b/dex2oat/Android.bp
@@ -30,15 +30,6 @@ cc_defaults {
android: {
// Use the 32-bit version of dex2oat on devices
compile_multilib: "prefer32",
-
- sanitize: {
- // ASan slows down dex2oat by ~3.5x, which translates into
- // extremely slow first boot. Disabled to help speed up
- // SANITIZE_TARGET mode.
- // Bug: 22233158
- address: false,
- coverage: false,
- },
},
},