soong_config: Add TARGET_USES_QCOM_BSP_LEGACY
Change-Id: Ia5ddfa263df71388b19c77d2509c29791177208d
This commit is contained in:
parent
8ee5d891b0
commit
73296f14dc
3 changed files with 7 additions and 1 deletions
|
@ -42,6 +42,7 @@ ifeq ($(BOARD_USES_QCOM_HARDWARE),true)
|
|||
TARGET_COMPILE_WITH_MSM_KERNEL := true
|
||||
|
||||
ifneq ($(filter msm7x27a msm7x30 msm8660 msm8960,$(TARGET_BOARD_PLATFORM)),)
|
||||
TARGET_USES_QCOM_BSP_LEGACY := true
|
||||
# Enable legacy audio functions
|
||||
ifeq ($(BOARD_USES_LEGACY_ALSA_AUDIO),true)
|
||||
USE_CUSTOM_AUDIO_POLICY := 1
|
||||
|
|
|
@ -6,10 +6,14 @@ type Product_variables struct {
|
|||
Uses_generic_camera_parameter_library struct {
|
||||
Srcs []string
|
||||
}
|
||||
Uses_qcom_bsp_legacy struct {
|
||||
Cppflags []string
|
||||
}
|
||||
}
|
||||
|
||||
type ProductVariables struct {
|
||||
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
|
||||
Specific_camera_parameter_library *string `json:",omitempty"`
|
||||
Needs_text_relocations *bool `json:",omitempty"`
|
||||
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ lineage_soong:
|
|||
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 '},'; \
|
||||
echo '') > $(SOONG_VARIABLES_TMP)
|
||||
|
|
Loading…
Reference in a new issue