commit | f52dbb81fe50cc0821045bb3160fa4b80e885b69 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu May 09 16:54:15 2019 -0700 |
committer | Baligh Uddin <baligh@google.com> | Sun May 19 11:33:31 2019 -0700 |
tree | 85bfc1aa66b94be8920781c525519dc252533475 | |
parent | 8b6b22e593684c7a5107edabce2b0db336483631 [diff] |
Add sign_apex.py that signs a given APEX file. Bug: 132687993, 131687150 This CL moves SignApex() from sign_target_files_apks into apex_utils, and adds sign_apex that allows signing a standalone APEX file directly. Test: Run the following command and check the output file. $ build/make/tools/releasetools/sign_apex.py \ -v \ --container_key \ build/make/target/product/security/testkey.x509.pem \ --payload_key external/avb/test/data/testkey_rsa4096.pem \ --payload_extra_args \ "--signing_helper_with_files ./signing-helper.sh" \ foo.apex \ signed-foo.apex Test: Run sign_target_files_apks.py on crosshatch target_files.zip. Change-Id: I4b2422fd5cb1c60a3aa94511475e2a0e5b1666ca
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.