Revert "config: Use add_soong_config_namespace/add_soong_config_var macros"
This reverts commit c2dd68f84a.
This commit is contained in:
@@ -18,8 +18,16 @@ EXPORT_TO_SOONG := \
|
||||
# Documentation here:
|
||||
# https://github.com/LineageOS/android_build_soong/commit/8328367c44085b948c003116c0ed74a047237a69
|
||||
|
||||
$(call add_soong_config_namespace,lineageVarsPlugin)
|
||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call add_soong_config_var,lineageVarsPlugin,$(v))))
|
||||
SOONG_CONFIG_NAMESPACES += lineageVarsPlugin
|
||||
|
||||
SOONG_CONFIG_lineageVarsPlugin :=
|
||||
|
||||
define addVar
|
||||
SOONG_CONFIG_lineageVarsPlugin += $(1)
|
||||
SOONG_CONFIG_lineageVarsPlugin_$(1) := $($1)
|
||||
endef
|
||||
|
||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call addVar,$(v))))
|
||||
|
||||
# Camera
|
||||
ifneq ($(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED),)
|
||||
|
||||
Reference in New Issue
Block a user