soong_config: Allow process-specific override of target SDK version

Change-Id: I775e852c17af12d2233e644e3db10c10bcb20d19
gugelfrei
Danny Baumann 6 years ago committed by Kevin F. Haggerty
parent d51aef27d5
commit fc6e3810e6
No known key found for this signature in database
GPG Key ID: 6D95512933112729

@ -9,6 +9,9 @@ type Product_variables struct {
Needs_text_relocations struct {
Cppflags []string
}
Target_process_sdk_version_override struct {
Cppflags []string
}
Target_shim_libs struct {
Cppflags []string
}
@ -33,6 +36,7 @@ type ProductVariables struct {
Java_Source_Overlays *string `json:",omitempty"`
Needs_text_relocations *bool `json:",omitempty"`
Specific_camera_parameter_library *string `json:",omitempty"`
Target_process_sdk_version_override *string `json:",omitempty"`
Target_shim_libs *string `json:",omitempty"`
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
Uses_nvidia_enhancements *bool `json:",omitempty"`

@ -8,6 +8,7 @@ $(call add_json_bool, Has_legacy_camera_hal1, $(filter true,$(TARGET_HAS_LEGACY_
$(call add_json_str, Java_Source_Overlays, $(JAVA_SOURCE_OVERLAYS))
$(call add_json_bool, Needs_text_relocations, $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)))
$(call add_json_str, Specific_camera_parameter_library, $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY))
$(call add_json_str_omitempty, Target_process_sdk_version_override, $(TARGET_PROCESS_SDK_VERSION_OVERRIDE))
$(call add_json_str, Target_shim_libs, $(TARGET_LD_SHIM_LIBS))
$(call add_json_bool, Uses_generic_camera_parameter_library, $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),,true))
$(call add_json_bool, Uses_nvidia_enhancements, $(filter TRUE,$(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)))

Loading…
Cancel
Save