commit | 3e3456bb7273cf4dcba73d627b5b40f359b4d705 | [log] [tgz] |
---|---|---|
author | luoqiangwei1 <luoqiangwei1@xiaomi.com> | Fri Nov 11 00:05:56 2022 +0800 |
committer | luoqiangwei1 <luoqiangwei1@xiaomi.com> | Fri Nov 11 00:26:19 2022 +0800 |
tree | b444cfefbd7ed6dd5355c59ca1cbfc99e4cc83c5 | |
parent | a2faaa8c45fcd6691b14c240b6532f3592deaf36 [diff] |
Fix 'expected str instance, bytes found' error when compute patches When building an incremental OTA package, if the compress_target=True parameter is passed in when calculating a block, an exception will occur in the subsequent join operation. The reason is that Python 3 no longer allows str type join bytes type. Bug: None Test: Build Incremental OTA package Change-Id: I6d556f9905b7ab75b70d3785334d71d5a6e5479b Signed-off-by: luoqiangwei1 <luoqiangwei1@xiaomi.com>
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.