Merge "Enable goma in soong" am: 753ed863c5
am: cc7f1318e9
am: 00570bbbb3
Change-Id: I0344c8a2c9d2a34f36ee5d68be5ca5ebec76f60a
This commit is contained in:
commit
85b2b926de
3 changed files with 6 additions and 2 deletions
|
@ -284,6 +284,9 @@ endif
|
|||
include $(BUILD_SYSTEM)/ccache.mk
|
||||
include $(BUILD_SYSTEM)/goma.mk
|
||||
|
||||
export CC_WRAPPER
|
||||
export CXX_WRAPPER
|
||||
|
||||
ifdef TARGET_PREFER_32_BIT
|
||||
TARGET_PREFER_32_BIT_APPS := true
|
||||
TARGET_PREFER_32_BIT_EXECUTABLES := true
|
||||
|
|
|
@ -131,8 +131,8 @@ COMBINED_BUILD_NINJA := $(OUT_DIR)/combined$(KATI_NINJA_SUFFIX).ninja
|
|||
|
||||
$(COMBINED_BUILD_NINJA): $(KATI_BUILD_NINJA)
|
||||
$(hide) echo "builddir = $(OUT_DIR)" > $(COMBINED_BUILD_NINJA)
|
||||
$(hide) echo "subninja $(SOONG_BUILD_NINJA)" >> $(COMBINED_BUILD_NINJA)
|
||||
$(hide) echo "subninja $(KATI_BUILD_NINJA)" >> $(COMBINED_BUILD_NINJA)
|
||||
$(hide) echo "include $(KATI_BUILD_NINJA)" >> $(COMBINED_BUILD_NINJA)
|
||||
$(hide) echo "include $(SOONG_BUILD_NINJA)" >> $(COMBINED_BUILD_NINJA)
|
||||
|
||||
$(sort $(DEFAULT_GOAL) $(ANDROID_GOALS)) : ninja_wrapper
|
||||
@#empty
|
||||
|
|
|
@ -54,6 +54,7 @@ $(SOONG_VARIABLES): FORCE
|
|||
echo ' "Binder32bit": $(if $(BINDER32BIT),true,false),'; \
|
||||
echo ' "DevicePrefer32BitExecutables": $(if $(filter true,$(TARGET_PREFER_32_BIT_EXECUTABLES)),true,false),'; \
|
||||
echo ' "HostPrefer32BitExecutables": $(if $(filter true,$(HOST_PREFER_32_BIT)),true,false),'; \
|
||||
echo ' "UseGoma": $(if $(filter-out false,$(USE_GOMA)),true,false),'; \
|
||||
echo ''; \
|
||||
echo ' "DeviceName": "$(TARGET_DEVICE)",'; \
|
||||
echo ' "DeviceArch": "$(TARGET_ARCH)",'; \
|
||||
|
|
Loading…
Reference in a new issue