commit | 667ff57272d6ee8ec44c0246c596eb1e1fee8631 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Sat Feb 10 00:02:40 2018 -0800 |
committer | Tao Bao <tbao@google.com> | Sat Feb 10 00:13:07 2018 -0800 |
tree | ff6985097caa7359ed68b5f466637f4cea1c467d | |
parent | bec8be51a5cbc6e9a14daec2bf92a47fdb262366 [diff] |
releasetools: Specify SWITCH_SLOT_ON_REBOOT for secondary payload. The secondary payload should always be applied with SWITCH_SLOT_ON_REBOOT=0. This CL moves the 'secondary' parameter from Payload.WriteToZip() to Payload.__init__(). So it can append the flag to secondary/payload_properties.txt. Bug: 35724498 Test: Generate an A/B OTA with --include_secondary. Check secondary/payload_properties.txt entry in the generated ZIP. Test: `python -m unittest test_ota_from_target_files` Change-Id: I816c07ab57a1c8a52eff785801634b8b1cb134d4
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.