Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7536307 authored by Simon Shields's avatar Simon Shields Committed by Rashed Abdel-Tawab
Browse files

soong: include lineage board flags

Change-Id: I1aabe4915036790dd35ceb985cf0a2701ca0faf9
parent 612e31d7
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -26,11 +26,10 @@ csv_to_json_list = $(call _json_list,$(comma),$(1))

# 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),'; \
@@ -86,7 +85,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 \