diff options
author | Ying Wang <wangying@google.com> | 2011-11-08 09:31:21 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2011-11-17 10:52:32 -0800 |
commit | 5f074803fbc14d091fb83208b81b3ffa10f54f90 (patch) | |
tree | 8c9985059abb5cbf84d2faeda8a261e4c42b704d /core/clear_vars.mk | |
parent | 1985846eb07757451a6e9f5d4c838e64397b5540 (diff) | |
download | build-5f074803fbc14d091fb83208b81b3ffa10f54f90.zip build-5f074803fbc14d091fb83208b81b3ffa10f54f90.tar.gz build-5f074803fbc14d091fb83208b81b3ffa10f54f90.tar.bz2 |
Build system support to export include paths
Bug: 5573756
With this change, we can set LOCAL_EXPORT_C_INCLUDE_DIRS in the module
definition to export include dir paths.
Paths in LOCAL_EXPORT_C_INCLUDE_DIRS should be relative to the top dir
of the source tree.
If a library (shared or static) exports some include paths, any module
using it will import the include paths and add them to the compiler
command line.
Change-Id: I49aabc589d2cf214044d13ccd5532ef68209adf0
Diffstat (limited to 'core/clear_vars.mk')
-rw-r--r-- | core/clear_vars.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/clear_vars.mk b/core/clear_vars.mk index d9f3372..fabdc57 100644 --- a/core/clear_vars.mk +++ b/core/clear_vars.mk @@ -44,6 +44,7 @@ LOCAL_CFLAGS:= LOCAL_CPPFLAGS:= LOCAL_RTTI_FLAG:= LOCAL_C_INCLUDES:= +LOCAL_EXPORT_C_INCLUDE_DIRS:= LOCAL_LDFLAGS:= LOCAL_LDLIBS:= LOCAL_AAPT_FLAGS:= |