commit | bec89c1e1e119af96e321240853b13915de50465 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Oct 15 11:53:28 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Mon Oct 15 12:01:42 2018 -0700 |
tree | 7083e0a09f2bf65a32a288fecc9968d0df224281 | |
parent | 1e5a23f9b030d4183bff9d1e642f28aafd859541 [diff] |
releasetools: Clean up the logging while calling external commands. common.RunAndCheckOutput() checks the exit code and will raise on errors. Test: python -m unittest test_ota_from_target_files Test: Call ota_from_target_files.py with aosp_marlin target_files zip Test: Inject an error to the command. Repeat the call without verbose flag. It dumps the stack trace on error. Change-Id: I85b765a33b9087bcbcb0571d6e632a07bb86c65c
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.