blob: 9f86c62c3b145be39772267da2c4fac481da92b9 [file] [log] [blame]
Simon Shields7ef0e172017-09-04 21:11:16 +10001# Insert new variables inside the Lineage structure
Simon Shields4ed46052017-08-23 12:03:36 +10002lineage_soong:
3 $(hide) mkdir -p $(dir $@)
4 $(hide) (\
5 echo '{'; \
Simon Shields7ef0e172017-09-04 21:11:16 +10006 echo '"Lineage": {'; \
Rashed Abdel-Tawab61f5e142017-10-31 20:01:35 -07007 echo ' "Uses_generic_camera_parameter_library": $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),false,true),'; \
8 echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
Arne Coucheron73296f12017-12-27 11:36:09 +01009 echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \
Paul Keith10084bf2018-02-15 21:46:00 +010010 echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false),'; \
11 echo ' "Target_shim_libs": "$(TARGET_LD_SHIM_LIBS)"'; \
Simon Shields7ef0e172017-09-04 21:11:16 +100012 echo '},'; \
Simon Shields4ed46052017-08-23 12:03:36 +100013 echo '') > $(SOONG_VARIABLES_TMP)