Revert "soong: Add TARGET_USES_OPLUS_CAMERA"
This reverts commit 82ceb03f54a75c347993425aa708d545c4fbc829.
Change-Id: I6e372016dbe9ced6d940c31787d7a2a032493d8a
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
index 9979c13..4b4bb8c 100644
--- a/build/soong/Android.bp
+++ b/build/soong/Android.bp
@@ -559,23 +559,6 @@
}
soong_config_module_type {
- name: "uses_oplus_camera",
- module_type: "cc_defaults",
- config_namespace: "blissGlobalVars",
- bool_variables: ["uses_oplus_camera"],
- properties: ["cppflags"],
-}
-
-uses_oplus_camera {
- name: "uses_oplus_camera_defaults",
- soong_config_variables: {
- uses_oplus_camera: {
- cppflags: ["-DUSES_OPLUS_CAMERA"],
- },
- },
-}
-
-soong_config_module_type {
name: "qti_vibrator_hal",
module_type: "cc_defaults",
config_namespace: "blissQcomVars",
diff --git a/config/BoardConfigSoong.mk b/config/BoardConfigSoong.mk
index f87864f..fdb1bdb 100644
--- a/config/BoardConfigSoong.mk
+++ b/config/BoardConfigSoong.mk
@@ -53,8 +53,7 @@
target_health_charging_control_supports_toggle \
camera_needs_client_info_lib \
camera_needs_client_info_lib_oplus \
- needs_camera_boottime \
- uses_oplus_camera
+ needs_camera_boottime
SOONG_CONFIG_NAMESPACES += blissNvidiaVars
SOONG_CONFIG_blissNvidiaVars += \
@@ -94,7 +93,6 @@
SOONG_CONFIG_blissGlobalVars_camera_needs_client_info_lib := $(TARGET_CAMERA_NEEDS_CLIENT_INFO_LIB)
SOONG_CONFIG_blissGlobalVars_camera_needs_client_info_lib_oplus := $(TARGET_CAMERA_NEEDS_CLIENT_INFO_LIB_OPLUS)
SOONG_CONFIG_blissGlobalVars_needs_camera_boottime := $(TARGET_CAMERA_BOOTTIME_TIMESTAMP)
-SOONG_CONFIG_blissGlobalVars_uses_oplus_camera := $(TARGET_USES_OPLUS_CAMERA)
# Set default values
BOOTLOADER_MESSAGE_OFFSET ?= 0