commit | 0ff15de32a41a00c0ef1a5dbcf2826ef9c1c87db | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Mar 20 11:26:06 2019 -0700 |
committer | Tao Bao <tbao@google.com> | Wed Mar 20 12:38:09 2019 -0700 |
tree | 73e0baf19d7f1ac174a6a39803a978b6bec12071 | |
parent | bec4aa868a06433b61eec0e796e63fc3b1a24935 [diff] |
releasetools: common.UnzipTemp() filters out non-matching patterns. common.UnzipTemp() calls `unzip` to do the unzipping, which will complain if there's non-existent names in the given list. Prior to this CL, callers had to do the work to remove non-existent entries. This CL filters out the given patterns in common.UnzipTemp()/common.UnzipToDir() to make callers' works easier. Bug: 128848294 Test: `m dist` with aosp_taimen-userdebug (which calls ota_from_target_files.py on a target_files.zip that doesn't contain RADIO/*). Test: `python -m unittest test_common.CommonZipTest` Change-Id: I5e741c27ea8d0b8126c398a7e1b56a8deb4a3d7f
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.