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 \ |
Mike Reed | b5af325 | 2009-07-10 15:33:21 -0400 | [diff] [blame] | 13 | libskia \ |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 14 | libutils \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 15 | libui \ |
Mathias Agopian | 696257c | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 16 | libgui |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 17 | |
| 18 | LOCAL_STATIC_LIBRARIES := |
| 19 | |
| 20 | rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,) |
| 21 | |
| 22 | LOCAL_C_INCLUDES += \ |
| 23 | $(JNI_H_INCLUDE) \ |
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 24 | $(LOCAL_PATH)/../../libs/rs \ |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 25 | $(rs_generated_include_dir) \ |
| 26 | $(call include-path-for, corecg graphics) |
| 27 | |
| 28 | LOCAL_CFLAGS += |
| 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 |
Joe Onorato | 01e5fbd | 2009-08-10 14:06:01 -0700 | [diff] [blame] | 35 | LOCAL_REQUIRED_MODULES := libRS |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 36 | |
| 37 | include $(BUILD_SHARED_LIBRARY) |