soong: Rename fod to udfps

* now flag is changed to TARGET_SURFACEFLINGER_UDFPS_LIB from TARGET_SURFACEFLINGER_FOD_LIB

Change-Id: I499b31d00a053b865ceaa3b34a9762f980bbf14e
This commit is contained in:
TheScarastic 2021-10-12 06:09:57 +00:00 committed by Bruno Martins
parent a585122d85
commit af717a279c
2 changed files with 9 additions and 9 deletions

View file

@ -137,21 +137,21 @@ vendor_init {
}
soong_config_module_type {
name: "surfaceflinger_fod_lib",
name: "surfaceflinger_udfps_lib",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
value_variables: ["target_surfaceflinger_fod_lib"],
value_variables: ["target_surfaceflinger_udfps_lib"],
properties: [
"cppflags",
"whole_static_libs",
],
}
surfaceflinger_fod_lib {
name: "surfaceflinger_fod_lib_defaults",
surfaceflinger_udfps_lib {
name: "surfaceflinger_udfps_lib_defaults",
soong_config_variables: {
target_surfaceflinger_fod_lib: {
cppflags: ["-DTARGET_PROVIDES_FOD_LIB"],
target_surfaceflinger_udfps_lib: {
cppflags: ["-DTARGET_PROVIDES_UDFPS_LIB"],
whole_static_libs: ["%s"],
},
},

View file

@ -39,7 +39,7 @@ SOONG_CONFIG_lineageGlobalVars += \
target_init_vendor_lib \
target_ld_shim_libs \
target_process_sdk_version_override \
target_surfaceflinger_fod_lib \
target_surfaceflinger_udfps_lib \
uses_camera_parameter_lib
SOONG_CONFIG_NAMESPACES += lineageNvidiaVars
@ -85,7 +85,7 @@ BOOTLOADER_MESSAGE_OFFSET ?= 0
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS ?= 0
TARGET_INIT_VENDOR_LIB ?= vendor_init
TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY ?= libcamera_parameters
TARGET_SURFACEFLINGER_FOD_LIB ?= surfaceflinger_fod_lib
TARGET_SURFACEFLINGER_UDFPS_LIB ?= surfaceflinger_udfps_lib
# Soong value variables
SOONG_CONFIG_lineageGlobalVars_additional_gralloc_10_usage_bits := $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS)
@ -93,7 +93,7 @@ SOONG_CONFIG_lineageGlobalVars_bootloader_message_offset := $(BOOTLOADER_MESSAGE
SOONG_CONFIG_lineageGlobalVars_target_init_vendor_lib := $(TARGET_INIT_VENDOR_LIB)
SOONG_CONFIG_lineageGlobalVars_target_ld_shim_libs := $(subst $(space),:,$(TARGET_LD_SHIM_LIBS))
SOONG_CONFIG_lineageGlobalVars_target_process_sdk_version_override := $(TARGET_PROCESS_SDK_VERSION_OVERRIDE)
SOONG_CONFIG_lineageGlobalVars_target_surfaceflinger_fod_lib := $(TARGET_SURFACEFLINGER_FOD_LIB)
SOONG_CONFIG_lineageGlobalVars_target_surfaceflinger_udfps_lib := $(TARGET_SURFACEFLINGER_UDFPS_LIB)
SOONG_CONFIG_lineageGlobalVars_uses_camera_parameter_lib := $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)
ifneq ($(filter $(QSSI_SUPPORTED_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
SOONG_CONFIG_lineageQcomVars_qcom_display_headers_namespace := vendor/qcom/opensource/commonsys-intf/display