lineage: soong: Add var for linker shim libs
* To limit security exposure, we're forcing all devices to define shim libs with a TARGET_LD_SHIM_LIBS Change-Id: Ic8722c42807429f2faa3546316c71c40533ce195
This commit is contained in:
parent
735c79cb4d
commit
10084bf867
2 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,9 @@ type Product_variables struct {
|
|||
Uses_qcom_bsp_legacy struct {
|
||||
Cppflags []string
|
||||
}
|
||||
Target_shim_libs struct {
|
||||
Cppflags []string
|
||||
}
|
||||
}
|
||||
|
||||
type ProductVariables struct {
|
||||
|
@ -16,4 +19,5 @@ type ProductVariables struct {
|
|||
Specific_camera_parameter_library *string `json:",omitempty"`
|
||||
Needs_text_relocations *bool `json:",omitempty"`
|
||||
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
|
||||
Target_shim_libs *string `json:",omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ lineage_soong:
|
|||
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 ' "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 ' "Target_shim_libs": "$(TARGET_LD_SHIM_LIBS)"'; \
|
||||
echo '},'; \
|
||||
echo '') > $(SOONG_VARIABLES_TMP)
|
||||
|
|
Loading…
Reference in a new issue