commit | 6e686e324f85fa488dad43fa7faccc788ee34a48 | [log] [tgz] |
---|---|---|
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | Tue Apr 12 10:57:22 2011 +0100 |
committer | LuK1337 <priv.luk@gmail.com> | Sat Oct 19 00:16:02 2024 +0200 |
tree | b6dbf7bc374b51d509a8e0f181860130c7b18ddb | |
parent | 3f80cfbb0da9a98758bb5415fc04ecc5201ef938 [diff] |
build: Squash of allowing a device to generically define its own headers Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org> Date: 2011-04-12 10:57:22 +0100 Allow a device to generically define its own headers We have a few cases of devices including specific versions of projects just because of modified headers (msm_mdp.h comes to mind), and I just had enough of ifdeffing header files for specific cases (the P990 needs a lot of these). Now... if a target defines a TARGET_SPECIFIC_HEADER_PATH, any headers in there will take precedence over the standard ones; for example, on the p990, I have TARGET_SPECIFIC_HEADER_PATH := device/lge/p990/include which makes, for example, the device/lge/p990/include/hardware_legacy/AudioHardwareInterface.h be used instead of hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h whenever a source file uses <hardware_legacy/AudioHardwareInterface.h> Change-Id: I41b62668b60e3f62a6ebd3738d8d2675103a81e6a build: fix target header overlay LOCAL_C_INCLUDES as defined by the makefile should be put AFTER the overlay includes so the overlay always takes precedence. Change-Id: I489b2aab6dbacd9122d834f85e07b63ed1271f07 Author: Jan Altensen <info@stricted.net> Date: 2020-09-10 15:18:49 +0200 soong: add TARGET_SPECIFIC_HEADER_PATH Change-Id: I582ae8e6e010016b33fd9b020b723e5fc2dc442b Change-Id: I3c885fe504ce4f646001697119cffd674db9ec49
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.