Merge "Pass binder ABI to Soong"
This commit is contained in:
@@ -25,6 +25,13 @@ $(SOONG_BOOTSTRAP): bootstrap.bash $(SOONG_NEEDS_REBOOTSTRAP)
|
|||||||
$(hide) mkdir -p $(dir $@)
|
$(hide) mkdir -p $(dir $@)
|
||||||
$(hide) BUILDDIR=$(SOONG_OUT_DIR) ./bootstrap.bash
|
$(hide) BUILDDIR=$(SOONG_OUT_DIR) ./bootstrap.bash
|
||||||
|
|
||||||
|
BINDER32BIT :=
|
||||||
|
ifneq ($(TARGET_USES_64_BIT_BINDER),true)
|
||||||
|
ifneq ($(TARGET_IS_64_BIT),true)
|
||||||
|
BINDER32BIT := true
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Create soong.variables with copies of makefile settings. Runs every build,
|
# Create soong.variables with copies of makefile settings. Runs every build,
|
||||||
# but only updates soong.variables if it changes
|
# but only updates soong.variables if it changes
|
||||||
SOONG_VARIABLES_TMP := $(SOONG_VARIABLES).$$$$
|
SOONG_VARIABLES_TMP := $(SOONG_VARIABLES).$$$$
|
||||||
@@ -44,6 +51,7 @@ $(SOONG_VARIABLES): FORCE
|
|||||||
echo ' "HostStaticBinaries": $(if $(strip $(BUILD_HOST_static)),true,false),'; \
|
echo ' "HostStaticBinaries": $(if $(strip $(BUILD_HOST_static)),true,false),'; \
|
||||||
echo ' "Cpusets": $(if $(strip $(ENABLE_CPUSETS)),true,false),'; \
|
echo ' "Cpusets": $(if $(strip $(ENABLE_CPUSETS)),true,false),'; \
|
||||||
echo ' "Schedboost": $(if $(strip $(ENABLE_SCHEDBOOST)),true,false),'; \
|
echo ' "Schedboost": $(if $(strip $(ENABLE_SCHEDBOOST)),true,false),'; \
|
||||||
|
echo ' "Binder32bit": $(if $(BINDER32BIT),true,false),'; \
|
||||||
echo ''; \
|
echo ''; \
|
||||||
echo ' "DeviceName": "$(TARGET_DEVICE)",'; \
|
echo ' "DeviceName": "$(TARGET_DEVICE)",'; \
|
||||||
echo ' "DeviceArch": "$(TARGET_ARCH)",'; \
|
echo ' "DeviceArch": "$(TARGET_ARCH)",'; \
|
||||||
|
Reference in New Issue
Block a user