bbcba1e353
- Copy "use_logical_partitions" to *_image_info.txt before sending it to build_image.py, so that the script can use this variable. - build_image.py emits an additional properties file to inform the build system about the system image size. Test: `make systemimage` Test: `make systemimage` with the following: - install a large file to system image fails as expected (because _PARTITION_SIZE is exceeded) Test: `make systemimage` with the following: - set PRODUCT_USE_LOGICAL_PARTITIONS to true - set BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE fails as expected (BOARD_SYSTEMIMAGE_PARTITION_SIZE needs to be undefined) Test: `make systemimage` with the following: - install a large file to system image - set PRODUCT_USE_LOGICAL_PARTIIONS to true - add a small BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE - remove BOARD_SYSTEMIMAGE_PARTITION_SIZE build succeeds. Test: same for systemotherimage Bug: 79106666 Change-Id: I574062882acd1ecd633ac38c5a8c5351b90a32d8 |
||
---|---|---|
core | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Android.mk | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
OWNERS | ||
README.md | ||
tapasHelp.sh | ||
Usage.txt |
Android Make Build System
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.