soong_config: Add new flags for HW FDE
Add new flags for HW FDE to pass CFlags to source code. CRs-Fixed: 2210986 Change-Id: I70d68f015ee8eb8d123ce863ce8e36d0310bc082
This commit is contained in:
committed by
Bruno Martins
parent
b8084ec8a5
commit
26b6abac8b
@@ -6,6 +6,14 @@ type Product_variables struct {
|
||||
Has_legacy_camera_hal1 struct {
|
||||
Cflags []string
|
||||
}
|
||||
Supports_hw_fde struct {
|
||||
Cflags []string
|
||||
Header_libs []string
|
||||
Shared_libs []string
|
||||
}
|
||||
Supports_hw_fde_perf struct {
|
||||
Cflags []string
|
||||
}
|
||||
Target_process_sdk_version_override struct {
|
||||
Cppflags []string
|
||||
}
|
||||
@@ -32,6 +40,8 @@ type ProductVariables struct {
|
||||
Has_legacy_camera_hal1 *bool `json:",omitempty"`
|
||||
Java_Source_Overlays *string `json:",omitempty"`
|
||||
Specific_camera_parameter_library *string `json:",omitempty"`
|
||||
Supports_hw_fde *bool `json:",omitempty"`
|
||||
Supports_hw_fde_perf *bool `json:",omitempty"`
|
||||
Target_process_sdk_version_override *string `json:",omitempty"`
|
||||
Target_shim_libs *string `json:",omitempty"`
|
||||
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
|
||||
|
@@ -7,6 +7,8 @@ $(call add_json_str_omitempty, Additional_gralloc_10_usage_bits, $(TARGET_ADDITI
|
||||
$(call add_json_bool, Has_legacy_camera_hal1, $(filter true,$(TARGET_HAS_LEGACY_CAMERA_HAL1)))
|
||||
$(call add_json_str, Java_Source_Overlays, $(JAVA_SOURCE_OVERLAYS))
|
||||
$(call add_json_str, Specific_camera_parameter_library, $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY))
|
||||
$(call add_json_bool, Supports_hw_fde, $(filter true,$(TARGET_HW_DISK_ENCRYPTION)))
|
||||
$(call add_json_bool, Supports_hw_fde_perf, $(filter true,$(TARGET_HW_DISK_ENCRYPTION_PERF)))
|
||||
$(call add_json_str_omitempty, Target_process_sdk_version_override, $(TARGET_PROCESS_SDK_VERSION_OVERRIDE))
|
||||
$(call add_json_str_omitempty, Target_shim_libs, $(TARGET_LD_SHIM_LIBS))
|
||||
$(call add_json_bool, Uses_generic_camera_parameter_library, $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),,true))
|
||||
|
Reference in New Issue
Block a user