commit | d4349f2106342798ade21c3f3d855e307315e494 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Dec 07 23:01:25 2017 -0800 |
committer | Tao Bao <tbao@google.com> | Thu Dec 07 23:39:56 2017 -0800 |
tree | bc261e1e7632e0fe70172140acc99f338b36ab3f | |
parent | 79d52f87985b28aa3cf893710f7a6aa52e836504 [diff] |
build_image: Factor out CheckHeadroom() and add tests. The test is mostly trivial, but it ensures the result parsing from actual calls to mke2fs. Test: python -m unittest test_build_image Test: `m dist` on aosp_marlin-userdebug (w/ and w/o defining PRODUCT_SYSTEM_HEADROOM respectively). Change-Id: I8b9964213950e76f6d7d5518414a1bab888b4706
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.