From 85aa5ded4ca0338f7c0c8d4256143364ca2cea38 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 19 Jan 2011 11:49:21 -0800 Subject: [PATCH] Add external/clang/lib/Headers as llvm-rs-cc's system header search path Change-Id: I30257631d484491d9a8346205e411013c76c5a91 Bug: 2943524 --- core/java.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java.mk b/core/java.mk index c4baff5f0..e2eabed69 100644 --- a/core/java.mk +++ b/core/java.mk @@ -136,8 +136,10 @@ RenderScript_file_stamp := $(LOCAL_INTERMEDIATE_SOURCE_DIR)/RenderScript.stamp renderscript_intermediate := $(LOCAL_INTERMEDIATE_SOURCE_DIR)/renderscript # prepend the RenderScript system include path -LOCAL_RENDERSCRIPT_INCLUDES := $(TOPDIR)frameworks/base/libs/rs/scriptc \ - $(LOCAL_RENDERSCRIPT_INCLUDES) +LOCAL_RENDERSCRIPT_INCLUDES := \ + $(TOPDIR)external/clang/lib/Headers \ + $(TOPDIR)frameworks/base/libs/rs/scriptc \ + $(LOCAL_RENDERSCRIPT_INCLUDES) $(RenderScript_file_stamp): PRIVATE_RS_INCLUDES := $(LOCAL_RENDERSCRIPT_INCLUDES) $(RenderScript_file_stamp): PRIVATE_RS_SOURCE_FILES := $(renderscript_sources_fullpath)