soong: Add TARGET_USES_QTI_CAMERA_DEVICE

Change-Id: I925b137edeed9fa11bbe566002147b444328c661
gugelfrei
Rashed Abdel-Tawab 6 years ago committed by Rashed Abdel-Tawab
parent 6f68de1a32
commit 31eec2059a

@ -12,6 +12,10 @@ type Product_variables struct {
Uses_qcom_bsp_legacy struct {
Cppflags []string
}
Uses_qti_camera_device struct {
Cppflags []string
Shared_libs []string
}
}
type ProductVariables struct {
@ -20,4 +24,5 @@ type ProductVariables struct {
Target_shim_libs *string `json:",omitempty"`
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
Uses_qti_camera_device *bool `json:",omitempty"`
}

@ -8,6 +8,7 @@ lineage_soong:
echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
echo ' "Target_shim_libs": "$(subst $(space),:,$(TARGET_LD_SHIM_LIBS))",'; \
echo ' "Uses_generic_camera_parameter_library": $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),false,true),'; \
echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false)'; \
echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false),'; \
echo ' "Uses_qti_camera_device": $(if $(filter true,$(TARGET_USES_QTI_CAMERA_DEVICE)),true,false)'; \
echo '},'; \
echo '') > $(SOONG_VARIABLES_TMP)

Loading…
Cancel
Save