From d3f3ab77fde914b38ea78d824e372065dbbec797 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 20 Jan 2016 16:08:49 -0800 Subject: [PATCH] Set flag when using sdk tools in place New version of build/ execute the tools from prebuilts/sdk/tools in place, old versions copy them to $(HOST_OUT_EXECUTABLES). build/ and prebuilts/sdk often use mixed versions, set a flag that prebuilts/sdk/tools/Android.mk can use to determine when it is using an old build/ directory. Change-Id: Iad2f96c35203fd3b0976946d229bfa8ab4acb150 --- core/config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/config.mk b/core/config.mk index 1af199551..34be76bbd 100644 --- a/core/config.mk +++ b/core/config.mk @@ -406,6 +406,8 @@ BCC_COMPAT := $(HOST_OUT_EXECUTABLES)/bcc_compat DX := $(HOST_OUT_EXECUTABLES)/dx MAINDEXCLASSES := $(HOST_OUT_EXECUTABLES)/mainDexClasses +USE_PREBUILT_SDK_TOOLS_IN_PLACE := true + # Override the definitions above for unbundled and PDK builds ifneq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK))) prebuilt_sdk_tools := prebuilts/sdk/tools