Tim Murray | 704616e | 2012-11-13 14:10:21 -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 | |
Tim Murray | 704616e | 2012-11-13 14:10:21 -0800 | [diff] [blame] | 7 | LOCAL_SRC_FILES:= \ |
| 8 | multiply.rs \ |
| 9 | compute.cpp |
| 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 |
Stephen Hines | 00db019 | 2014-01-15 15:06:24 -0800 | [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 |
Tim Murray | 704616e | 2012-11-13 14:10:21 -0800 | [diff] [blame] | 16 | |
| 17 | LOCAL_MODULE:= rstest-cppallocation |
| 18 | |
| 19 | LOCAL_MODULE_TAGS := tests |
| 20 | |
| 21 | intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) |
| 22 | |
Tim Murray | 704616e | 2012-11-13 14:10:21 -0800 | [diff] [blame] | 23 | LOCAL_C_INCLUDES += frameworks/rs/cpp |
| 24 | LOCAL_C_INCLUDES += frameworks/rs |
| 25 | LOCAL_C_INCLUDES += $(intermediates) |
| 26 | |
Stephen Hines | b98626d | 2013-10-15 17:46:50 -0700 | [diff] [blame] | 27 | LOCAL_CLANG := true |
Tim Murray | 704616e | 2012-11-13 14:10:21 -0800 | [diff] [blame] | 28 | |
| 29 | include $(BUILD_EXECUTABLE) |
| 30 | |