commit | 80921986d1b520dba94ed6b86fdcaedb59241475 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Mar 21 21:02:19 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Mar 22 00:09:33 2018 -0700 |
tree | f8c49f455fc4c80fd880adbf6760191f0da0faba | |
parent | 2ebcf419e46cb7c77532feeea9aee3ac59f18d69 [diff] |
releasetools: Capture and dump stdout/stderr outputs on errors. For the functions in common.py, capture the stdout/stderr outputs when shelling out to external tools. Dump the outputs on errors. Bug: 76123422 Test: Inject errors to signapk.jar / brotli / unzip. Check the outputs. Change-Id: Ib2d4272528b83a50bb727788cf8a5211e2ddade8
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.