summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Tao Bao <tbao@google.com> 2019-03-20 11:26:06 -0700
committer Tao Bao <tbao@google.com> 2019-03-20 12:38:09 -0700
commit0ff15de32a41a00c0ef1a5dbcf2826ef9c1c87db (patch)
tree73e0baf19d7f1ac174a6a39803a978b6bec12071 /tools/warn/java_warn_patterns.py
parentbec4aa868a06433b61eec0e796e63fc3b1a24935 (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
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions