soong: move nvidia enhancements config to select
Original flag is still used by device specific makefile guards. Change-Id: I528ee2a2a25680994561e4c3fc377f7b57106a89
This commit is contained in:
parent
c3c770de44
commit
45b504a7e2
3 changed files with 1 additions and 23 deletions
|
|
@ -359,21 +359,3 @@ powershare {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// NVIDIA specific config modules
|
|
||||||
soong_config_module_type {
|
|
||||||
name: "nvidia_enhancements",
|
|
||||||
module_type: "cc_defaults",
|
|
||||||
config_namespace: "lineageNvidiaVars",
|
|
||||||
bool_variables: ["uses_nvidia_enhancements"],
|
|
||||||
properties: ["cppflags"],
|
|
||||||
}
|
|
||||||
|
|
||||||
nvidia_enhancements {
|
|
||||||
name: "nvidia_enhancements_defaults",
|
|
||||||
soong_config_variables: {
|
|
||||||
uses_nvidia_enhancements: {
|
|
||||||
cppflags: ["-DNV_ANDROID_FRAMEWORK_ENHANCEMENTS"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -57,17 +57,12 @@ SOONG_CONFIG_lineageGlobalVars += \
|
||||||
target_health_charging_control_charging_path
|
target_health_charging_control_charging_path
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SOONG_CONFIG_NAMESPACES += lineageNvidiaVars
|
|
||||||
SOONG_CONFIG_lineageNvidiaVars += \
|
|
||||||
uses_nvidia_enhancements
|
|
||||||
|
|
||||||
# Soong bool variables
|
# Soong bool variables
|
||||||
SOONG_CONFIG_lineageGlobalVars_camera_override_format_from_reserved := $(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED)
|
SOONG_CONFIG_lineageGlobalVars_camera_override_format_from_reserved := $(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED)
|
||||||
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)
|
SOONG_CONFIG_lineageGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY)
|
||||||
SOONG_CONFIG_lineageNvidiaVars_uses_nvidia_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)
|
|
||||||
|
|
||||||
# Set default values
|
# Set default values
|
||||||
BOOTLOADER_MESSAGE_OFFSET ?= 0
|
BOOTLOADER_MESSAGE_OFFSET ?= 0
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,4 @@
|
||||||
# Includes support for:
|
# Includes support for:
|
||||||
# 1) NvCPL / Application Profiles
|
# 1) NvCPL / Application Profiles
|
||||||
NV_ANDROID_FRAMEWORK_ENHANCEMENTS := true
|
NV_ANDROID_FRAMEWORK_ENHANCEMENTS := true
|
||||||
|
$(call soong_config_set,NV_ANDROID,FRAMEWORK_ENHANCEMENTS,true)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue