From 05af6aef825c2e9a1c73401c0b701f033598b231 Mon Sep 17 00:00:00 2001 From: Henry Daitx Date: Thu, 17 Jan 2019 16:24:52 +0000 Subject: [PATCH] Disable dexpreopt for deployagent platform-tools/deployagent.jar is built incorrectly for userdebug sdk builds (which the build machines in android-build use). In eng builds dexpreopt is disable by default, so the file is built correctly. This change disables dexpreopt for deployagent in all builds, for consistency. Bug: 122831369 Test: lunch sdk-eng Test: make sdk Change-Id: I370f0536d906690b153f114ba3dd589a14d222d4 --- adb/fastdeploy/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adb/fastdeploy/Android.bp b/adb/fastdeploy/Android.bp index 400b12f52..1ba0de0a9 100644 --- a/adb/fastdeploy/Android.bp +++ b/adb/fastdeploy/Android.bp @@ -22,6 +22,9 @@ java_binary { wrapper: "deployagent/deployagent.sh", proto: { type: "lite", + }, + dex_preopt: { + enabled: false, } }