diff --git a/build/soong/Android.bp b/build/soong/Android.bp index 5d661543..ecfa9ac5 100644 --- a/build/soong/Android.bp +++ b/build/soong/Android.bp @@ -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"], }, }, diff --git a/config/BoardConfigSoong.mk b/config/BoardConfigSoong.mk index 47658042..bde1fdcc 100644 --- a/config/BoardConfigSoong.mk +++ b/config/BoardConfigSoong.mk @@ -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