blob: 0658620534d8d8afc5ea37860d4465903b53cd63 [file] [log] [blame]
Jason Samse29d4712009-07-23 15:19:03 -07001LOCAL_PATH:= $(call my-dir)
Jason Sams94d8e90a2009-06-10 16:09:05 -07002include $(CLEAR_VARS)
3
Jason Samse29d4712009-07-23 15:19:03 -07004LOCAL_SRC_FILES:= \
5 android_renderscript_RenderScript.cpp
Jason Sams94d8e90a2009-06-10 16:09:05 -07006
7LOCAL_SHARED_LIBRARIES := \
Andreas Gampe67333922014-11-10 20:35:59 -08008 libandroid_runtime \
9 libandroidfw \
10 libnativehelper \
11 libRS \
12 libcutils \
13 liblog \
14 libskia \
15 libutils \
16 libui \
John Reckf4faeac2015-03-05 13:50:31 -080017 libgui \
18 libjnigraphics
Jason Sams94d8e90a2009-06-10 16:09:05 -070019
20LOCAL_STATIC_LIBRARIES :=
21
22rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,)
23
24LOCAL_C_INCLUDES += \
Andreas Gampe67333922014-11-10 20:35:59 -080025 $(JNI_H_INCLUDE) \
26 frameworks/rs \
John Reckf4faeac2015-03-05 13:50:31 -080027 frameworks/base/core/jni \
John Reckc1b33d62015-04-22 09:04:45 -070028 frameworks/base/libs/hwui \
Andreas Gampe67333922014-11-10 20:35:59 -080029 $(rs_generated_include_dir)
Jason Sams94d8e90a2009-06-10 16:09:05 -070030
Chris Wailes488230c32014-08-14 11:22:40 -070031LOCAL_CFLAGS += -Wno-unused-parameter -std=c++11
Andreas Gampe67333922014-11-10 20:35:59 -080032LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
Jason Sams94d8e90a2009-06-10 16:09:05 -070033
Jason Samse29d4712009-07-23 15:19:03 -070034LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h)
35LOCAL_MODULE:= librs_jni
Jason Sams94d8e90a2009-06-10 16:09:05 -070036LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source)
Jason Samse29d4712009-07-23 15:19:03 -070037LOCAL_MODULE_TAGS := optional
Ying Wang12618a72012-09-16 13:31:30 -070038LOCAL_REQUIRED_MODULES := libRS libRSDriver
Jason Sams94d8e90a2009-06-10 16:09:05 -070039
40include $(BUILD_SHARED_LIBRARY)