From f1614da261a4058e13b3a500bbd53fd351c91510 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 30 Aug 2022 02:36:39 +0300 Subject: [PATCH] config: Remove QCOM HW FDE setup Change-Id: Ia88a5331e5f3b69a2eea95aa13338f4282779856 --- build/soong/Android.bp | 78 -------------------------------------- config/BoardConfigSoong.mk | 8 ---- 2 files changed, 86 deletions(-) diff --git a/build/soong/Android.bp b/build/soong/Android.bp index 34af118c..377db4a8 100644 --- a/build/soong/Android.bp +++ b/build/soong/Android.bp @@ -235,23 +235,6 @@ needs_netd_direct_connect_rule { }, } -soong_config_module_type { - name: "legacy_hw_disk_encryption", - module_type: "cc_defaults", - config_namespace: "lineageQcomVars", - bool_variables: ["legacy_hw_disk_encryption"], - properties: ["cppflags"], -} - -legacy_hw_disk_encryption { - name: "legacy_hw_disk_encryption_defaults", - soong_config_variables: { - legacy_hw_disk_encryption: { - cppflags: ["-DLEGACY_HW_DISK_ENCRYPTION"], - }, - }, -} - soong_config_module_type { name: "no_cameraserver", module_type: "cc_defaults", @@ -423,67 +406,6 @@ extended_compress_format { }, } -soong_config_module_type { - name: "vold_hw_fde", - module_type: "cc_defaults", - config_namespace: "lineageQcomVars", - bool_variables: ["supports_hw_fde"], - properties: [ - "cflags", - "header_libs", - "shared_libs", - ], -} - -vold_hw_fde { - name: "vold_hw_fde_defaults", - soong_config_variables: { - supports_hw_fde: { - cflags: ["-DCONFIG_HW_DISK_ENCRYPTION"], - header_libs: ["libcryptfs_hw_headers"], - shared_libs: ["libcryptfs_hw"], - }, - }, -} - -soong_config_module_type { - name: "vold_hw_fde_perf", - module_type: "cc_defaults", - config_namespace: "lineageQcomVars", - bool_variables: ["supports_hw_fde_perf"], - properties: [ - "cflags", - "shared_libs", - ], -} - -vold_hw_fde_perf { - name: "vold_hw_fde_perf_defaults", - soong_config_variables: { - supports_hw_fde_perf: { - cflags: ["-DCONFIG_HW_DISK_ENCRYPT_PERF"], - shared_libs: ["libcryptfs_hw"], - }, - }, -} - -soong_config_module_type { - name: "qti_cryptfshw_qsee", - module_type: "cc_defaults", - config_namespace: "lineageQcomVars", - bool_variables: ["should_wait_for_qsee"], - properties: ["cflags"], -} - -qti_cryptfshw_qsee { - name: "qti_cryptfshw_qsee_defaults", - soong_config_variables: { - should_wait_for_qsee: { - cflags: ["-DWAIT_FOR_QSEE"], - }, - }, -} - soong_config_module_type { name: "surfaceflinger_qcom_extensions", module_type: "cc_defaults", diff --git a/config/BoardConfigSoong.mk b/config/BoardConfigSoong.mk index 3898a083..5c942c66 100644 --- a/config/BoardConfigSoong.mk +++ b/config/BoardConfigSoong.mk @@ -52,11 +52,7 @@ SOONG_CONFIG_lineageNvidiaVars += \ SOONG_CONFIG_NAMESPACES += lineageQcomVars SOONG_CONFIG_lineageQcomVars += \ - legacy_hw_disk_encryption \ - should_wait_for_qsee \ supports_extended_compress_format \ - supports_hw_fde \ - supports_hw_fde_perf \ uses_pre_uplink_features_netmgrd \ uses_qcom_bsp_legacy @@ -75,11 +71,7 @@ SOONG_CONFIG_lineageGlobalVars_needs_camera_boottime := $(TARGET_CAMERA_BOOTTIME SOONG_CONFIG_lineageGlobalVars_needs_netd_direct_connect_rule := $(TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE) SOONG_CONFIG_lineageGlobalVars_uses_egl_display_array := $(TARGET_USES_EGL_DISPLAY_ARRAY) SOONG_CONFIG_lineageNvidiaVars_uses_nvidia_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS) -SOONG_CONFIG_lineageQcomVars_legacy_hw_disk_encryption := $(TARGET_LEGACY_HW_DISK_ENCRYPTION) -SOONG_CONFIG_lineageQcomVars_should_wait_for_qsee := $(TARGET_KEYMASTER_WAIT_FOR_QSEE) SOONG_CONFIG_lineageQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT) -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)