lineage: Sort soong variables and configurations
Change-Id: I4a191f8ce61123e30f780f8e39411a7723fb6197
This commit is contained in:
@@ -3,21 +3,21 @@ type Product_variables struct {
|
|||||||
Needs_text_relocations struct {
|
Needs_text_relocations struct {
|
||||||
Cppflags []string
|
Cppflags []string
|
||||||
}
|
}
|
||||||
|
Target_shim_libs struct {
|
||||||
|
Cppflags []string
|
||||||
|
}
|
||||||
Uses_generic_camera_parameter_library struct {
|
Uses_generic_camera_parameter_library struct {
|
||||||
Srcs []string
|
Srcs []string
|
||||||
}
|
}
|
||||||
Uses_qcom_bsp_legacy struct {
|
Uses_qcom_bsp_legacy struct {
|
||||||
Cppflags []string
|
Cppflags []string
|
||||||
}
|
}
|
||||||
Target_shim_libs struct {
|
|
||||||
Cppflags []string
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProductVariables struct {
|
type ProductVariables struct {
|
||||||
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
|
|
||||||
Specific_camera_parameter_library *string `json:",omitempty"`
|
|
||||||
Needs_text_relocations *bool `json:",omitempty"`
|
Needs_text_relocations *bool `json:",omitempty"`
|
||||||
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
|
Specific_camera_parameter_library *string `json:",omitempty"`
|
||||||
Target_shim_libs *string `json:",omitempty"`
|
Target_shim_libs *string `json:",omitempty"`
|
||||||
|
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
|
||||||
|
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
@@ -4,10 +4,10 @@ lineage_soong:
|
|||||||
$(hide) (\
|
$(hide) (\
|
||||||
echo '{'; \
|
echo '{'; \
|
||||||
echo '"Lineage": {'; \
|
echo '"Lineage": {'; \
|
||||||
echo ' "Uses_generic_camera_parameter_library": $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),false,true),'; \
|
|
||||||
echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
|
|
||||||
echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \
|
echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \
|
||||||
echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false),'; \
|
echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
|
||||||
echo ' "Target_shim_libs": "$(subst $(space),:,$(TARGET_LD_SHIM_LIBS))"'; \
|
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 '},'; \
|
echo '},'; \
|
||||||
echo '') > $(SOONG_VARIABLES_TMP)
|
echo '') > $(SOONG_VARIABLES_TMP)
|
||||||
|
Reference in New Issue
Block a user