Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7beb2529 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Convert PRODUCT_COPY_FILES to a list" into main

parents 8fa09fcd 1dedc039
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -464,10 +464,7 @@ $(call add_json_map, PartitionVarsForSoongMigrationOnlyDoNotUse)
  $(call add_json_list, BoardInfoFiles, $(if $(TARGET_BOARD_INFO_FILES),$(TARGET_BOARD_INFO_FILES),$(firstword $(TARGET_BOARD_INFO_FILE) $(wildcard $(TARGET_DEVICE_DIR)/board-info.txt))))
  $(call add_json_str, BootLoaderBoardName, $(TARGET_BOOTLOADER_BOARD_NAME))

  $(call add_json_map, ProductCopyFiles)
  $(foreach pair,$(PRODUCT_COPY_FILES),\
    $(call add_json_str,$(word 1,$(subst :, ,$(pair))),$(word 2,$(subst :, ,$(pair)))))
  $(call end_json_map)
  $(call add_json_list, ProductCopyFiles, $(PRODUCT_COPY_FILES))

$(call end_json_map)