Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 2 | include $(CLEAR_VARS) |
3 | |||||
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 4 | LOCAL_SRC_FILES:= \ |
5 | android_renderscript_RenderScript.cpp | ||||
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 6 | |
7 | LOCAL_SHARED_LIBRARIES := \ | ||||
8 | libandroid_runtime \ | ||||
Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 9 | libandroidfw \ |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 10 | libnativehelper \ |
11 | libRS \ | ||||
12 | libcutils \ | ||||
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 13 | liblog \ |
Mike Reed | b5af325 | 2009-07-10 15:33:21 -0400 | [diff] [blame] | 14 | libskia \ |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 15 | libutils \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 16 | libui \ |
Mathias Agopian | 696257c | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 17 | libgui |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 18 | |
19 | LOCAL_STATIC_LIBRARIES := | ||||
20 | |||||
21 | rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,) | ||||
22 | |||||
23 | LOCAL_C_INCLUDES += \ | ||||
24 | $(JNI_H_INCLUDE) \ | ||||
Alex Sakhartchouk | b43a1e5 | 2012-03-28 14:18:15 -0700 | [diff] [blame] | 25 | frameworks/rs \ |
Derek Sollenberger | eece0dd | 2014-02-27 14:31:29 -0500 | [diff] [blame] | 26 | $(rs_generated_include_dir) |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 27 | |
Tim Murray | eff663f | 2013-11-15 13:08:30 -0800 | [diff] [blame] | 28 | LOCAL_CFLAGS += -Wno-unused-parameter |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 29 | |
30 | LOCAL_LDLIBS := -lpthread | ||||
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 31 | LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h) |
32 | LOCAL_MODULE:= librs_jni | ||||
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 33 | LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source) |
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 34 | LOCAL_MODULE_TAGS := optional |
Ying Wang | 12618a7 | 2012-09-16 13:31:30 -0700 | [diff] [blame] | 35 | LOCAL_REQUIRED_MODULES := libRS libRSDriver |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 36 | |
37 | include $(BUILD_SHARED_LIBRARY) |