diff --git a/build/soong/Android.bp b/build/soong/Android.bp index 461d4cf1..4ec33d18 100644 --- a/build/soong/Android.bp +++ b/build/soong/Android.bp @@ -389,27 +389,6 @@ librmnetctl_pre_uplink { }, } -soong_config_module_type { - name: "qti_camera_device", - module_type: "cc_defaults", - config_namespace: "lineageQcomVars", - bool_variables: ["uses_qti_camera_device"], - properties: [ - "cppflags", - "shared_libs", - ], -} - -qti_camera_device { - name: "qti_camera_device_defaults", - soong_config_variables: { - uses_qti_camera_device: { - cppflags: ["-DQTI_CAMERA_DEVICE"], - shared_libs: ["vendor.qti.hardware.camera.device@1.0"], - }, - }, -} - soong_config_module_type { name: "extended_compress_format", module_type: "cc_defaults", diff --git a/config/BoardConfigSoong.mk b/config/BoardConfigSoong.mk index 25395c2d..8c1bf9e9 100644 --- a/config/BoardConfigSoong.mk +++ b/config/BoardConfigSoong.mk @@ -57,8 +57,7 @@ SOONG_CONFIG_lineageQcomVars += \ supports_hw_fde \ supports_hw_fde_perf \ uses_pre_uplink_features_netmgrd \ - uses_qcom_bsp_legacy \ - uses_qti_camera_device + uses_qcom_bsp_legacy # Only create display_headers_namespace var if dealing with UM platforms to avoid breaking build for all other platforms ifneq ($(filter $(UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),) @@ -81,7 +80,6 @@ SOONG_CONFIG_lineageQcomVars_supports_hw_fde := $(TARGET_HW_DISK_ENCRYPTION) SOONG_CONFIG_lineageQcomVars_supports_hw_fde_perf := $(TARGET_HW_DISK_ENCRYPTION_PERF) SOONG_CONFIG_lineageQcomVars_uses_pre_uplink_features_netmgrd := $(TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD) SOONG_CONFIG_lineageQcomVars_uses_qcom_bsp_legacy := $(TARGET_USES_QCOM_BSP_LEGACY) -SOONG_CONFIG_lineageQcomVars_uses_qti_camera_device := $(TARGET_USES_QTI_CAMERA_DEVICE) # Set default values BOOTLOADER_MESSAGE_OFFSET ?= 0