Provide mechanism to override llvm-rs-cc headers.

Change-Id: I87fd496069a9dfde633e2d232e436fa5d7315cc0
This commit is contained in:
Stephen Hines 2011-08-23 22:01:49 -07:00
parent c7fd4a5a7b
commit d4136c0fc6
2 changed files with 5 additions and 0 deletions

View file

@ -104,6 +104,7 @@ LOCAL_EMMA_COVERAGE_FILTER:=
LOCAL_WARNINGS_ENABLE:=
LOCAL_MANIFEST_FILE:=
LOCAL_RENDERSCRIPT_INCLUDES:=
LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
LOCAL_RENDERSCRIPT_CC:=
LOCAL_BUILD_HOST_DEX:=
LOCAL_DEX_PREOPT:=

View file

@ -166,6 +166,10 @@ LOCAL_RENDERSCRIPT_INCLUDES := \
$(LOCAL_RENDERSCRIPT_INCLUDES)
endif
ifneq ($(LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE),)
LOCAL_RENDERSCRIPT_INCLUDES := $(LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE)
endif
$(RenderScript_file_stamp): PRIVATE_RS_INCLUDES := $(LOCAL_RENDERSCRIPT_INCLUDES)
$(RenderScript_file_stamp): PRIVATE_RS_CC := $(LOCAL_RENDERSCRIPT_CC)
$(RenderScript_file_stamp): PRIVATE_RS_SOURCE_FILES := $(renderscript_sources_fullpath)