commit | 17f6ed8b042e21ece635e46fce410736b7db9c6b | [log] [tgz] |
---|---|---|
author | Tianjie <xunchang@google.com> | Thu Jun 11 22:51:07 2020 -0700 |
committer | Tianjie <xunchang@google.com> | Sat Jun 13 14:35:14 2020 -0700 |
tree | 3d2ede195fa4492cd38280189d04458287a1338c | |
parent | a973323a9d6979f0c8cf510caca6dd80504055e9 [diff] |
Fix the read on a closed zipfile When calculating the dynamic fingerprints, we need to reopen the input file if it's a ZipFile. Because the original object has been closed, as its scope ends after the with statement. Bug: 152167826 Test: generate an OTA package with zip input and overrides Change-Id: I623da3cc5fcc91c6230fb5a6e86517ed995913b7 (cherry picked from commit eb06afb602a95668ae401a62295282ee18be516c)
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.