Simon Shields | 7ef0e17 | 2017-09-04 21:11:16 +1000 | [diff] [blame] | 1 | # Insert new variables inside the Lineage structure |
Simon Shields | 4ed4605 | 2017-08-23 12:03:36 +1000 | [diff] [blame] | 2 | lineage_soong: |
| 3 | $(hide) mkdir -p $(dir $@) |
| 4 | $(hide) (\ |
| 5 | echo '{'; \ |
Simon Shields | 7ef0e17 | 2017-09-04 21:11:16 +1000 | [diff] [blame] | 6 | echo '"Lineage": {'; \ |
Adrian DC | 41927e4 | 2017-07-24 14:04:34 +0200 | [diff] [blame^] | 7 | echo ' "Has_legacy_camera_hal1": $(if $(filter true,$(TARGET_HAS_LEGACY_CAMERA_HAL1)),true,false),'; \ |
Arne Coucheron | 73296f1 | 2017-12-27 11:36:09 +0100 | [diff] [blame] | 8 | echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \ |
Adrian DC | ae509e4 | 2018-02-18 14:51:05 +0100 | [diff] [blame] | 9 | echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \ |
| 10 | echo ' "Target_shim_libs": "$(subst $(space),:,$(TARGET_LD_SHIM_LIBS))",'; \ |
| 11 | echo ' "Uses_generic_camera_parameter_library": $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),false,true),'; \ |
Rashed Abdel-Tawab | 31eec20 | 2018-03-24 11:17:49 -0700 | [diff] [blame] | 12 | echo ' "Uses_qcom_bsp_legacy": $(if $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)),true,false),'; \ |
| 13 | echo ' "Uses_qti_camera_device": $(if $(filter true,$(TARGET_USES_QTI_CAMERA_DEVICE)),true,false)'; \ |
Simon Shields | 7ef0e17 | 2017-09-04 21:11:16 +1000 | [diff] [blame] | 14 | echo '},'; \ |
Simon Shields | 4ed4605 | 2017-08-23 12:03:36 +1000 | [diff] [blame] | 15 | echo '') > $(SOONG_VARIABLES_TMP) |