Loading core/soong_config.mk +4 −5 Original line number Diff line number Diff line Loading @@ -15,11 +15,10 @@ endif # Create soong.variables with copies of makefile settings. Runs every build, # but only updates soong.variables if it changes SOONG_VARIABLES_TMP := $(SOONG_VARIABLES).$$$$ $(SOONG_VARIABLES): FORCE $(hide) mkdir -p $(dir $@) SOONG_VARIABLES_TMP := $(shell mktemp -u) include vendor/lineage/build/soong/soong_config.mk $(SOONG_VARIABLES): FORCE lineage_soong $(hide) (\ echo '{'; \ echo ' "Make_suffix": "-$(TARGET_PRODUCT)",'; \ echo ''; \ echo ' "Platform_sdk_version": $(PLATFORM_SDK_VERSION),'; \ Loading Loading @@ -72,7 +71,7 @@ $(SOONG_VARIABLES): FORCE echo ' "ArtUseReadBarrier": $(if $(filter false,$(PRODUCT_ART_USE_READ_BARRIER)),false,true),'; \ echo ''; \ echo ' "BtConfigIncludeDir": "$(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)"'; \ echo '}') > $(SOONG_VARIABLES_TMP); \ echo '}') >> $(SOONG_VARIABLES_TMP); \ if ! cmp -s $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); then \ mv $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); \ else \ Loading Loading
core/soong_config.mk +4 −5 Original line number Diff line number Diff line Loading @@ -15,11 +15,10 @@ endif # Create soong.variables with copies of makefile settings. Runs every build, # but only updates soong.variables if it changes SOONG_VARIABLES_TMP := $(SOONG_VARIABLES).$$$$ $(SOONG_VARIABLES): FORCE $(hide) mkdir -p $(dir $@) SOONG_VARIABLES_TMP := $(shell mktemp -u) include vendor/lineage/build/soong/soong_config.mk $(SOONG_VARIABLES): FORCE lineage_soong $(hide) (\ echo '{'; \ echo ' "Make_suffix": "-$(TARGET_PRODUCT)",'; \ echo ''; \ echo ' "Platform_sdk_version": $(PLATFORM_SDK_VERSION),'; \ Loading Loading @@ -72,7 +71,7 @@ $(SOONG_VARIABLES): FORCE echo ' "ArtUseReadBarrier": $(if $(filter false,$(PRODUCT_ART_USE_READ_BARRIER)),false,true),'; \ echo ''; \ echo ' "BtConfigIncludeDir": "$(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)"'; \ echo '}') > $(SOONG_VARIABLES_TMP); \ echo '}') >> $(SOONG_VARIABLES_TMP); \ if ! cmp -s $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); then \ mv $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); \ else \ Loading