commit | a7054eede1089e22274502ff51e0915ba80e887c | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Dec 08 14:42:16 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Fri Dec 08 15:19:47 2017 -0800 |
tree | 0f67a3b36685d97720e5bd28b4d5a286b151aecd | |
parent | 3af39153a8b6644eb4283fded7ab3c13490680f0 [diff] |
releasetools: Fix the tag replacement for ro.build.vendor.fingerprint. For devices using derived fingerprint (i.e. /system/build.prop doesn't contain ro.build.fingerprint, but has ro.build.thumbprint instead), the current code (in android.os.Build) doesn't have a matching logic to do the same for ro.vendor.build.fingerprint. This means we will see ro.build.thumbprint in /system/build.prop, while there's no matching ro.vendor.build.thumbprint in /vendor/build.prop. From signing script point of view, it should just apply the tag replacement (e.g. test-keys -> release-keys) for whatever it sees when signing a target_files.zip. This CL also adds unit tests for EditTags() and RewriteProps(). Fixes: 27950003 Test: Use 'sign_target_files_apks.py' to sign a target that uses derived fingerprint and vendor partition. Check VENDOR/build.prop. Test: python -m unittest test_sign_target_files_apks Change-Id: I09019da970840cd82f54b68a32b4e94984bc1d8d
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.