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 := \ |
Andreas Gampe | 6733392 | 2014-11-10 20:35:59 -0800 | [diff] [blame] | 8 | libandroid_runtime \ |
| 9 | libandroidfw \ |
| 10 | libnativehelper \ |
| 11 | libRS \ |
| 12 | libcutils \ |
| 13 | liblog \ |
| 14 | libskia \ |
| 15 | libutils \ |
| 16 | libui \ |
John Reck | f4faeac | 2015-03-05 13:50:31 -0800 | [diff] [blame] | 17 | libgui \ |
| 18 | libjnigraphics |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 19 | |
| 20 | LOCAL_STATIC_LIBRARIES := |
| 21 | |
| 22 | rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,) |
| 23 | |
| 24 | LOCAL_C_INCLUDES += \ |
Andreas Gampe | 6733392 | 2014-11-10 20:35:59 -0800 | [diff] [blame] | 25 | $(JNI_H_INCLUDE) \ |
| 26 | frameworks/rs \ |
John Reck | f4faeac | 2015-03-05 13:50:31 -0800 | [diff] [blame] | 27 | frameworks/base/core/jni \ |
John Reck | c1b33d6 | 2015-04-22 09:04:45 -0700 | [diff] [blame] | 28 | frameworks/base/libs/hwui \ |
Andreas Gampe | 6733392 | 2014-11-10 20:35:59 -0800 | [diff] [blame] | 29 | $(rs_generated_include_dir) |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 30 | |
Chris Wailes | 488230c3 | 2014-08-14 11:22:40 -0700 | [diff] [blame] | 31 | LOCAL_CFLAGS += -Wno-unused-parameter -std=c++11 |
Andreas Gampe | 6733392 | 2014-11-10 20:35:59 -0800 | [diff] [blame] | 32 | LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 33 | |
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 34 | LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h) |
| 35 | LOCAL_MODULE:= librs_jni |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 36 | LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source) |
Jason Sams | e29d471 | 2009-07-23 15:19:03 -0700 | [diff] [blame] | 37 | LOCAL_MODULE_TAGS := optional |
Ying Wang | 12618a7 | 2012-09-16 13:31:30 -0700 | [diff] [blame] | 38 | LOCAL_REQUIRED_MODULES := libRS libRSDriver |
Jason Sams | 94d8e90a | 2009-06-10 16:09:05 -0700 | [diff] [blame] | 39 | |
| 40 | include $(BUILD_SHARED_LIBRARY) |