soong: move extended compress format config to select
Change-Id: Id56bad89607cd2961a571c148ec40e9334f0a6ce
This commit is contained in:
@@ -396,23 +396,6 @@ librmnetctl_pre_uplink {
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "extended_compress_format",
|
||||
module_type: "cc_defaults",
|
||||
config_namespace: "lineageQcomVars",
|
||||
bool_variables: ["supports_extended_compress_format"],
|
||||
properties: ["cflags"],
|
||||
}
|
||||
|
||||
extended_compress_format {
|
||||
name: "extended_compress_format_defaults",
|
||||
soong_config_variables: {
|
||||
supports_extended_compress_format: {
|
||||
cflags: ["-DENABLE_EXTENDED_COMPRESS_FORMAT"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "surfaceflinger_qcom_extensions",
|
||||
module_type: "cc_defaults",
|
||||
|
@@ -63,7 +63,6 @@ SOONG_CONFIG_lineageNvidiaVars += \
|
||||
|
||||
SOONG_CONFIG_NAMESPACES += lineageQcomVars
|
||||
SOONG_CONFIG_lineageQcomVars += \
|
||||
supports_extended_compress_format \
|
||||
uses_pre_uplink_features_netmgrd
|
||||
|
||||
# Only create display_headers_namespace var if dealing with UM platforms to avoid breaking build for all other platforms
|
||||
@@ -79,7 +78,6 @@ SOONG_CONFIG_lineageGlobalVars_gralloc_handle_has_reserved_size := $(TARGET_GRAL
|
||||
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)
|
||||
SOONG_CONFIG_lineageNvidiaVars_uses_nvidia_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)
|
||||
SOONG_CONFIG_lineageQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT)
|
||||
SOONG_CONFIG_lineageQcomVars_uses_pre_uplink_features_netmgrd := $(TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD)
|
||||
|
||||
# Set default values
|
||||
|
Reference in New Issue
Block a user