blob: 07933b4528c728fb46ba7e95ec914a8921e0a88a [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 := \
8 libandroid_runtime \
Mathias Agopian83c64e62012-02-20 16:58:20 -08009 libandroidfw \
Jason Sams94d8e90a2009-06-10 16:09:05 -070010 libnativehelper \
11 libRS \
12 libcutils \
Ying Wangd6858942013-04-09 21:54:12 -070013 liblog \
Mike Reedb5af3252009-07-10 15:33:21 -040014 libskia \
Jason Sams94d8e90a2009-06-10 16:09:05 -070015 libutils \
Mathias Agopian000479f2010-02-09 17:46:37 -080016 libui \
Mathias Agopian696257c2011-03-25 18:42:40 -070017 libgui
Jason Sams94d8e90a2009-06-10 16:09:05 -070018
19LOCAL_STATIC_LIBRARIES :=
20
21rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,)
22
23LOCAL_C_INCLUDES += \
24 $(JNI_H_INCLUDE) \
Alex Sakhartchoukb43a1e52012-03-28 14:18:15 -070025 frameworks/rs \
Derek Sollenbergereece0dd2014-02-27 14:31:29 -050026 $(rs_generated_include_dir)
Jason Sams94d8e90a2009-06-10 16:09:05 -070027
Tim Murrayeff663f2013-11-15 13:08:30 -080028LOCAL_CFLAGS += -Wno-unused-parameter
Jason Sams94d8e90a2009-06-10 16:09:05 -070029
30LOCAL_LDLIBS := -lpthread
Jason Samse29d4712009-07-23 15:19:03 -070031LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h)
32LOCAL_MODULE:= librs_jni
Jason Sams94d8e90a2009-06-10 16:09:05 -070033LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source)
Jason Samse29d4712009-07-23 15:19:03 -070034LOCAL_MODULE_TAGS := optional
Ying Wang12618a72012-09-16 13:31:30 -070035LOCAL_REQUIRED_MODULES := libRS libRSDriver
Jason Sams94d8e90a2009-06-10 16:09:05 -070036
37include $(BUILD_SHARED_LIBRARY)