commit | 77a4aa0c064316fb8a8686542c8123940a54b189 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed May 01 22:08:43 2019 -0700 |
committer | Tao Bao <tbao@google.com> | Wed May 01 22:21:25 2019 -0700 |
tree | 8fd4e47bb6ad49527f126453c078ea429610da8a | |
parent | 3b77053daf3f6a09751db25009f1af056cd232c3 [diff] |
releasetools: Skip on empty care_map. common.GetCareMap() may return an empty list on unavailable care_map since the change in commit 8bdfb990ea978e0cf4e16fc0702dc7cb067856e8. Caller needs to handle such a case accordingly. This CL fixes the caller in add_img_to_target_files.py, and changes the return value to None to break legacy callers loudly. Fixes: 131794385 Test: `atest releasetools_test` Change-Id: I7c94f456064199237e84ef75732bdd10ebe31736
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.