diff --git a/core/config.mk b/core/config.mk index 15d8fde192..516fec8fb7 100644 --- a/core/config.mk +++ b/core/config.mk @@ -474,8 +474,10 @@ DX := $(HOST_OUT_EXECUTABLES)/dx MAINDEXCLASSES := $(HOST_OUT_EXECUTABLES)/mainDexClasses # Always use prebuilts for ckati and makeparallel -CKATI := $(prebuilt_sdk_tools_bin)/ckati -MAKEPARALLEL := $(prebuilt_sdk_tools_bin)/makeparallel +prebuilt_build_tools := prebuilts/build-tools +prebuilt_build_tools_bin := $(prebuilt_build_tools)/$(HOST_PREBUILT_TAG)/bin +CKATI := $(prebuilt_build_tools_bin)/ckati +MAKEPARALLEL := $(prebuilt_build_tools_bin)/makeparallel USE_PREBUILT_SDK_TOOLS_IN_PLACE := true diff --git a/core/ninja.mk b/core/ninja.mk index f5d9c89a3c..8a94f39355 100644 --- a/core/ninja.mk +++ b/core/ninja.mk @@ -1,4 +1,4 @@ -NINJA ?= prebuilts/ninja/$(HOST_PREBUILT_TAG)/ninja +NINJA ?= prebuilts/build-tools/$(HOST_PREBUILT_TAG)/bin/ninja include $(BUILD_SYSTEM)/soong.mk