commit | 9be20c7650e140a1b2c30d2da2ed437b98772496 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Apr 08 21:11:59 2019 -0700 |
committer | Tao Bao <tbao@google.com> | Wed Apr 10 14:29:50 2019 -0700 |
tree | 7755d680c184455e138ab1d377a1a4e7a4557626 | |
parent | d72873dc412b7000107e22e929e7443c50224e13 [diff] |
Allow building generic OTA packages. We already have targets that build generic system images, which can be applied (flashed) onto matching devices to replace their target-specific system images. This CL adds PRODUCT_BUILD_GENERIC_OTA_PACKAGE that allows building generic OTA packages to be installed over-the-air. Since A/B and non-A/B OTAs have different package formats, currently the support is limited to targets that use A/B OTAs. Note that this CL only allows _building_ the package - will need additional changes for the actual package install as well as targeting matching devices. Bug: 122851610 Test: `m otapackage` on a target that sets `PRODUCT_BUILD_GENERIC_OTA_PACKAGE := true`. Test: TreeHugger Change-Id: If6fd2da15d24c5aaee09618efe94514c6d83292d
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.