diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2011-04-12 10:57:22 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-10 16:41:45 -0700 |
commit | 8d442bdde929c68480a53cb06d91ad431b829b0a (patch) | |
tree | 8c8ad0f1b276dd980dd9c2ced487885c01a56957 /envsetup.sh | |
parent | 2a99d650eee349124e95bbddbbd4d569ce9a08ef (diff) | |
download | build-8d442bdde929c68480a53cb06d91ad431b829b0a.zip build-8d442bdde929c68480a53cb06d91ad431b829b0a.tar.gz build-8d442bdde929c68480a53cb06d91ad431b829b0a.tar.bz2 |
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
Diffstat (limited to 'envsetup.sh')
0 files changed, 0 insertions, 0 deletions