commit | 889b1f7c0ce3ba567ee7696f01e1b36512c10f39 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Mar 13 12:27:07 2019 -0700 |
committer | Daniel Norman <danielnorman@google.com> | Mon Mar 18 11:48:03 2019 -0700 |
tree | 2c88d170c497b9c8cb26aa641155a380b05028ec | |
parent | e7854a3745cba1b6ae9da7c12b6ba8bc2be77279 [diff] |
Allow disabling building super partition for DAP devices Previously: if (DAP && !BUILD_SUPER) error; Now: if (BUILD_SUPER && !DAP) error; This allows DAP devices to disable building super partition when the OEM doesn't want to. The ability to build super partition shouldn't be a requirement of enabling DAP; rather, building super partition requires DAP to be enabled. To do this on a device, PRODUCT_BUILD_SUPER_PARTITION should be set to false explicitly. If it is unset, it will use the value of PRODUCT_USE_DYNAMIC_PARTITIONS. Bug: 127687287 Test: set PRODUCT_BUILD_SUPER_PARTITION to false and build dist Change-Id: I25f1866e61d73affb445c1aec042cf53aac93583
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.