platform_build/tools
Ying Wang ae61f50a68 Support to configure and build multiple custom images.
Build additional images requested by the product makefile.
This script gives the ability to build multiple additional images and
you can configure what modules/files to include in each image.
1. Define PRODUCT_CUSTOM_IMAGE_MAKEFILES in your product makefile.
   PRODUCT_CUSTOM_IMAGE_MAKEFILES is a list of makefiles.
   Each makefile configures an image.
   For image configuration makefile foo/bar/xyz.mk, the built image
   file name
   will be xyz.img. So make sure they won't conflict.
2. In each image's configuration makefile, you can define variables:
  - CUSTOM_IMAGE_MOUNT_POINT, the mount point, such as "oem", "odm"
    etc.
  - CUSTOM_IMAGE_PARTITION_SIZE
  - CUSTOM_IMAGE_FILE_SYSTEM_TYPE
  - CUSTOM_IMAGE_DICT_FILE, a text file defining a dictionary
    accepted by BuildImage() in tools/releasetools/build_image.py.
  - CUSTOM_IMAGE_MODULES, a list of module names you want to include
    in the image; Not only the module itself will be installed to proper
    path in the image, you can also piggyback additional files/directories
    with the module's LOCAL_PICKUP_FILES.
  - CUSTOM_IMAGE_COPY_FILES, a list of "<src>:<dest>" to be copied to
    the image. <dest> is relativ to the root of the image.

To build all those images, run "make custom_images".

Bug: 19609718
Change-Id: Ic73587e08503a251be27797c7b00329716051927
(cherry picked from commit 5fcf1094f9)
2015-03-14 00:06:54 +00:00
..
acp Support host multilib build 2014-05-14 16:55:04 -07:00
apicheck don't build apicheck for PDK builds, removing dependency on doclava 2012-03-28 15:30:36 -07:00
atree Fix incremental builds for SDK. 2014-07-15 17:26:56 -07:00
check_prereq Remove the simulator target from all makefiles. 2011-07-11 23:51:37 -07:00
droiddoc Merge "doc: Add Japanese version of DAC/distribute/ page." into lmp-docs 2015-02-27 07:58:58 +00:00
fs_config Update OTA to understand SELinux labels and capabilities 2013-09-10 12:30:43 -07:00
fs_get_stats build: update fs_config calls for capabilities change. 2013-02-20 12:48:44 -08:00
releasetools Support to configure and build multiple custom images. 2015-03-14 00:06:54 +00:00
rgb2565
signapk make SignApk do zip alignment 2014-05-15 09:54:26 -07:00
zipalign Add Zopfli-recompress option to zipalign 2014-07-07 16:03:49 -07:00
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
Android.mk Let apicheck visible to unbundled build. 2013-08-02 21:35:15 +00:00
buildinfo.sh Add system propery ro.build.flavor. 2014-12-04 15:19:08 -08:00
check_builds.sh Use a more modern -j flag. 2012-08-16 22:45:55 -07:00
check_radio_versions.py fix build: make check_radio_versions.py okay with no args 2012-03-21 10:01:01 -07:00
compare_fileslist.py
diff_package_overlays.py Clean common intermediate files if overlay changed 2012-06-04 18:02:55 -07:00
dump-package-stats
event_log_tags.py
fileslist.py Move forward installed-files.txt in the dependency graph 2011-09-09 17:07:23 -07:00
filter-product-graph.py make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py Follow symlinks in findleaves 2012-08-24 16:24:45 -07:00
fixlinebreaks.sh
generate-notice-files.py Moving notice file generation to a python script 2012-03-30 15:08:59 -04:00
java-event-log-tags.py Make java-event-log-tags.py create its output directory if it does not exist. 2011-12-13 10:56:33 -08:00
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
mktarball.sh
parsedeps.py Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py resolved conflicts for merge of a8138028 to lmp-dev-plus-aosp 2014-08-06 17:47:40 -07:00
print_module_licenses.sh
product_debug.py More product debugging. 2012-08-16 22:45:56 -07:00
warn.py