platform_build/core/tasks
Vikram Dattu 29e88b850e HOST_OUT_EXECUTABLES path is not needed in misc_info file
HOST_OUT_EXECUTABLES is already added to the PATH variable,
so it is not needed to add the path info for binaries in
misc_info.txt and <partition>_image_info.txt.

Earlier the mkuserimg item in the build_image dictionary is
hardcoded to "mkuserimg.sh", but now it is customized for
mkuserimg.sh and mkuserimg_mke2fs.sh, and maintained in
dictionary "ext_mkuserimg=$(MKEXTUSERIMG)" in misc_info.txt
and <partition>_image_info.txt, where it is used in the
build_image script while creating the images.

The problem here is the value for this key is set to build
path of the file mkuserimg file
$(HOST_OUT_EXECUTABLES)/mkuserimg.sh,
i.e. out/host/linux_x86/bin/mkuserimg.sh,
there by standalone signing the images using otatools is
not working as the executables are packed in bin folder.

Test: tools/releasetools/sign_target_files_apks
    -p <extracted ota-tools.zip folder>
    --extra_signapk_args=-f /etc/opt/cert_data.dat
    -v
    --replace_verity_private_key ~/build/target/product/security/verity
    --replace_verity_public_key ~/build/target/product/security/verity.x509.pem
    -k <key maping>
    <input target files zip>
    <output target files zip>

Change-Id: I57af1025ec38f3794f779c49faa0bf965afc6a5d
2016-12-20 13:55:06 +01:00
..
check_boot_jars Use legacy-test instead of core-junit 2016-12-09 15:21:45 +00:00
tools HOST_OUT_EXECUTABLES path is not needed in misc_info file 2016-12-20 13:55:06 +01:00
apicheck.mk Add new Test API for CTS testing. 2015-11-25 11:38:44 +00:00
boot_jars_package_check.mk
build_custom_images.mk
collect_gpl_sources.mk
cts.mk old-cts: Add testng and libcoreoj test support 2016-04-26 17:00:22 -07:00
deps_licenses.mk
ide.mk
module-info.mk Add generation of a module-info.json file 2016-04-06 19:11:51 -07:00
oem_image.mk
sdk-addon.mk Don't run ziptime on host zip files. 2015-11-04 10:06:25 -08:00
vendor_module_check.mk Merge \\\"Add VENDOR_PRODUCT_RESTRICT_VENDOR_FILES\\\" am: 2acb2d5bcf am: 200da242a5 2016-06-28 06:27:13 +00:00
vts.mk build file change for vts to use the existing cts-tradefed infrastructure 2016-02-24 16:12:49 -08:00