commit | 3f15ada51b05428f0b2601126b5d63467970c607 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Feb 05 23:23:00 2018 -0800 |
committer | Tao Bao <tbao@google.com> | Mon Feb 05 23:39:23 2018 -0800 |
tree | 9441b3a02b43898b86c576d62138cb97b737cc59 | |
parent | fe34c5b52c7e576462efb0be1f03d8e8fbe0c56d [diff] |
releasetools: Capture stderr output when calling delta_generator. Prior to this CL, the call to delta_generator in check_ota_package_signature.VerifyAbOtaPayload() didn't redirect stderr. The logs (mostly INFO) on successful verification added noise to the normal output, which also upset the unittest result parser. This CL captures stderr outputs from delta_generator, and will only dump them on error. Bug: 72884343 Test: `python -m unittest -v test_ota_from_target_files > /dev/null` gives clean output. Test: Inject error into delta_generator. The call to check_ota_package_signature correctly dumps both of stdout and stderr outputs. Change-Id: I014a4b21bf758dcf0a4b9963259d6019851935ee
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.