commit | 8d4b72405e691eec0fc216553893e1341d052d8b | [log] [tgz] |
---|---|---|
author | Bowgo Tsai <bowgotsai@google.com> | Tue Jan 04 15:15:35 2022 +0800 |
committer | Bowgo Tsai <bowgotsai@google.com> | Tue Jan 04 17:55:19 2022 +0800 |
tree | 92b760718f71ca48518d7bd293f83e1f37d03357 | |
parent | 8c861cec97383a30eaef1ea4f68b2ed04f41f5b8 [diff] |
Fix the signing error on no-system-image targets Currently when running sign_target_files_apks on a no-system-image target, it will raise the following error: ValueError: max() arg is an empty sequence This is because there is no APK files in the target_files.zip. Fixing this by setting maxsize to zero in this case. Bug: 213028932 Test: lunch gki_arm64-userdebug; make dist Test: sign_target_files_apks \ --gki_signing_key=external/avb/test/data/testkey_rsa4096.pem \ --gki_signing_algorithm=SHA256_RSA4096 \ --gki_signing_extra_args="--prop gki:prop1 --prop gki:prop2" \ ./out/dist/*-target_files-eng.*.zip signed.zip Change-Id: I40daecbc2ff3f89d3e635d1a4a1c1dea31ba9a27
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.