soong: move EGL display array config to select

Change-Id: Ia03dd6b49637ed3b7432df26824fcbf01d92106b
This commit is contained in:
Michael Bestas
2025-03-26 19:25:20 +02:00
parent 45b504a7e2
commit 67492332e1
2 changed files with 1 additions and 20 deletions

View File

@@ -267,23 +267,6 @@ bootloader_message_offset {
}, },
} }
soong_config_module_type {
name: "egl_display_array",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
bool_variables: ["uses_egl_display_array"],
properties: ["cflags"],
}
egl_display_array {
name: "egl_display_array_defaults",
soong_config_variables: {
uses_egl_display_array: {
cflags: ["-DEGL_DISPLAY_ARRAY"],
},
},
}
soong_config_module_type { soong_config_module_type {
name: "health_charging_control", name: "health_charging_control",
module_type: "cc_defaults", module_type: "cc_defaults",

View File

@@ -49,8 +49,7 @@ SOONG_CONFIG_lineageGlobalVars += \
target_surfaceflinger_udfps_lib \ target_surfaceflinger_udfps_lib \
target_trust_usb_control_path \ target_trust_usb_control_path \
target_trust_usb_control_enable \ target_trust_usb_control_enable \
target_trust_usb_control_disable \ target_trust_usb_control_disable
uses_egl_display_array
ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH),) ifneq ($(TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH),)
SOONG_CONFIG_lineageGlobalVars += \ SOONG_CONFIG_lineageGlobalVars += \
@@ -62,7 +61,6 @@ SOONG_CONFIG_lineageGlobalVars_camera_override_format_from_reserved := $(TARGET_
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_custom_content_md_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE) SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_custom_content_md_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE)
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE) SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE)
SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_ubwcp_format := $(TARGET_GRALLOC_HANDLE_HAS_UBWCP_FORMAT) SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_ubwcp_format := $(TARGET_GRALLOC_HANDLE_HAS_UBWCP_FORMAT)
SOONG_CONFIG_lineageGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY)
# Set default values # Set default values
BOOTLOADER_MESSAGE_OFFSET ?= 0 BOOTLOADER_MESSAGE_OFFSET ?= 0