commit | b37c5be8cc2d01bcde34098650501abc93d9275f | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Thu Oct 15 21:27:10 2020 -0700 |
committer | Tianjie <xunchang@google.com> | Fri Oct 16 11:46:03 2020 -0700 |
tree | 59d9e7481a851d4e9d25f4230cbceb70fdf464f0 | |
parent | f3d4f2f26b208126bc5843e0acaf413618bf94ec [diff] |
Update ota script to match init's logic In aosp/1459042, init has updated it's logic to use ro.build.version.release_or_codename for fingerprint calculation. The ota script needs the same update for ota targeting to work correctly. As a best effort to support pre-S dev stage builds, use ro.build.version.release for sdk version < 30. Bug: 170968068 Bug: 158483506 Test: unit tests, generate an OTA for S build Change-Id: I01ca8a3b7b8b58f94b10f90ed0d27e688a72b866
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.