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 Vishalcj17
parent 2402865737
commit c2378f8877
No known key found for this signature in database
GPG Key ID: 5CB1A9F3F6539FB2
2 changed files with 9 additions and 9 deletions

View File

@ -52,21 +52,21 @@ vendor_init {
}
soong_config_module_type {
name: "surfaceflinger_fod_lib",
name: "surfaceflinger_udfps_lib",
module_type: "cc_defaults",
config_namespace: "aospaGlobalVars",
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

@ -20,17 +20,17 @@ SOONG_CONFIG_aospaGlobalVars += \
target_init_vendor_lib \
target_ld_shim_libs \
target_process_sdk_version_override \
target_surfaceflinger_fod_lib
target_surfaceflinger_udfps_lib
# Set default values
TARGET_INIT_VENDOR_LIB ?= vendor_init
TARGET_SURFACEFLINGER_FOD_LIB ?= surfaceflinger_fod_lib
TARGET_SURFACEFLINGER_UDFPS_LIB ?= surfaceflinger_udfps_lib
# Soong value variables
SOONG_CONFIG_aospaGlobalVars_target_init_vendor_lib := $(TARGET_INIT_VENDOR_LIB)
SOONG_CONFIG_aospaGlobalVars_target_ld_shim_libs := $(subst $(space),:,$(TARGET_LD_SHIM_LIBS))
SOONG_CONFIG_aospaGlobalVars_target_process_sdk_version_override := $(TARGET_PROCESS_SDK_VERSION_OVERRIDE)
SOONG_CONFIG_aospaGlobalVars_target_surfaceflinger_fod_lib := $(TARGET_SURFACEFLINGER_FOD_LIB)
SOONG_CONFIG_aospaGlobalVars_target_surfaceflinger_udfps_lib := $(TARGET_SURFACEFLINGER_UDFPS_LIB)
# Gestures
define add-gesturevar-if-exist