Support custom my_copy_pairs in package-modules.mk

To support extra files in package-modules.mk, allow the user to set
my_copy_pairs to a list of src:dest pairs that will be copied into the
zip file.

Test: build-aosp_arm.ninja is identical before/after
Test: codesearch says that these variables aren't otherwise used
Test: set my_copy_pairs, ensure that they exist in the zip.
Change-Id: Ia80cd136db8ad37a71010baf0552621b281c8bc3
This commit is contained in:
Dan Willemsen
2017-06-20 15:57:32 -07:00
parent 0effed4b94
commit f354b178b1
2 changed files with 18 additions and 2 deletions

View File

@@ -144,3 +144,9 @@ custom_images $(my_custom_image_name) : $(my_installed_custom_image)
# Archive the built image.
$(call dist-for-goals, $(my_custom_image_name) custom_images,$(my_installed_custom_image))
my_staging_dir :=
my_built_modules :=
my_copy_dest :=
my_copy_pairs :=
my_pickup_files :=