Jason Sams | 221a4b1 | 2012-02-22 15:22:41 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
2 | include $(CLEAR_VARS) | ||||
3 | |||||
Stephen Hines | 00db019 | 2014-01-15 15:06:24 -0800 | [diff] [blame] | 4 | LOCAL_SDK_VERSION := 8 |
5 | LOCAL_NDK_STL_VARIANT := stlport_static | ||||
6 | |||||
Jason Sams | 221a4b1 | 2012-02-22 15:22:41 -0800 | [diff] [blame] | 7 | LOCAL_SRC_FILES:= \ |
Tim Murray | 8d8fb3e | 2012-11-02 17:02:32 -0700 | [diff] [blame] | 8 | mono.rs \ |
9 | compute.cpp | ||||
Jason Sams | 221a4b1 | 2012-02-22 15:22:41 -0800 | [diff] [blame] | 10 | |
Stephen Hines | 00db019 | 2014-01-15 15:06:24 -0800 | [diff] [blame] | 11 | LOCAL_STATIC_LIBRARIES := \ |
Stephen Hines | be78fa9 | 2014-04-28 18:32:56 -0700 | [diff] [blame] | 12 | libRScpp_static |
Tim Murray | 89daad6 | 2013-07-29 14:30:02 -0700 | [diff] [blame] | 13 | |
Chris Wailes | 44bef6f | 2014-08-12 13:51:10 -0700 | [diff] [blame^] | 14 | LOCAL_CFLAGS := -std=c++11 |
Stephen Hines | 00db019 | 2014-01-15 15:06:24 -0800 | [diff] [blame] | 15 | LOCAL_LDFLAGS += -llog -ldl |
Jason Sams | 221a4b1 | 2012-02-22 15:22:41 -0800 | [diff] [blame] | 16 | |
17 | LOCAL_MODULE:= rstest-compute | ||||
18 | |||||
19 | LOCAL_MODULE_TAGS := tests | ||||
20 | |||||
Jason Sams | 8e412a1 | 2012-03-13 16:22:46 -0700 | [diff] [blame] | 21 | intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) |
Jason Sams | 8e412a1 | 2012-03-13 16:22:46 -0700 | [diff] [blame] | 22 | |
Jason Sams | a662edd | 2012-04-02 15:00:10 -0700 | [diff] [blame] | 23 | LOCAL_C_INCLUDES += frameworks/rs/cpp |
24 | LOCAL_C_INCLUDES += frameworks/rs | ||||
Jason Sams | 8e412a1 | 2012-03-13 16:22:46 -0700 | [diff] [blame] | 25 | LOCAL_C_INCLUDES += $(intermediates) |
26 | |||||
Stephen Hines | b98626d | 2013-10-15 17:46:50 -0700 | [diff] [blame] | 27 | LOCAL_CLANG := true |
Jason Sams | 221a4b1 | 2012-02-22 15:22:41 -0800 | [diff] [blame] | 28 | |
29 | include $(BUILD_EXECUTABLE) | ||||
30 |