omni: Rename fod to udfps

 * now flag is changed to TARGET_SURFACEFLINGER_UDFPS_LIB from TARGET_SURFACEFLINGER_FOD_LIB

Change-Id: I499b31d00a053b865ceaa3b34a9762f980bbf14e
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 8c13e12..6df8f7f 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -64,21 +64,21 @@
 }
 
 soong_config_module_type {
-    name: "surfaceflinger_fod_lib",
+    name: "surfaceflinger_udfps_lib",
     module_type: "cc_defaults",
     config_namespace: "omniGlobalVars",
-    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 5d696ca..29d5c38 100644
--- a/config/BoardConfigSoong.mk
+++ b/config/BoardConfigSoong.mk
@@ -31,7 +31,7 @@
 SOONG_CONFIG_omniGlobalVars += \
     target_create_device_symlinks \
     target_init_vendor_lib \
-    target_surfaceflinger_fod_lib \
+    target_surfaceflinger_udfps_lib \
     healthd_use_battery_info \
     healthd_enable_op_fastchg \
     targetNeedsHWCOnFirstRef \
@@ -61,8 +61,8 @@
 
 # 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_omniGlobalVars_target_init_vendor_lib := $(TARGET_INIT_VENDOR_LIB)
-SOONG_CONFIG_omniGlobalVars_target_surfaceflinger_fod_lib := $(TARGET_SURFACEFLINGER_FOD_LIB)
+SOONG_CONFIG_omniGlobalVars_target_surfaceflinger_udfps_lib := $(TARGET_SURFACEFLINGER_UDFPS_LIB)