blob: 253a10490dbf2ee86fe3a806e94683849e3f0a7a [file] [log] [blame]
Tim Murray358747a2012-11-26 13:52:04 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
Stephen Hines00db0192014-01-15 15:06:24 -08004LOCAL_SDK_VERSION := 8
5LOCAL_NDK_STL_VARIANT := stlport_static
6
Tim Murray358747a2012-11-26 13:52:04 -08007LOCAL_SRC_FILES:= \
8 multiply.rs \
9 compute.cpp
10
Stephen Hines00db0192014-01-15 15:06:24 -080011LOCAL_STATIC_LIBRARIES := \
Stephen Hinesbe78fa92014-04-28 18:32:56 -070012 libRScpp_static
Stephen Hines00db0192014-01-15 15:06:24 -080013
Chris Wailes44bef6f2014-08-12 13:51:10 -070014LOCAL_CFLAGS := -std=c++11
Stephen Hines00db0192014-01-15 15:06:24 -080015LOCAL_LDFLAGS += -llog -ldl
Tim Murray358747a2012-11-26 13:52:04 -080016
17LOCAL_MODULE:= rstest-cppstrided
18
19LOCAL_MODULE_TAGS := tests
20
21intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
22
Tim Murray358747a2012-11-26 13:52:04 -080023LOCAL_C_INCLUDES += frameworks/rs/cpp
24LOCAL_C_INCLUDES += frameworks/rs
25LOCAL_C_INCLUDES += $(intermediates)
26
Stephen Hinesb98626d2013-10-15 17:46:50 -070027LOCAL_CLANG := true
Tim Murray358747a2012-11-26 13:52:04 -080028
29include $(BUILD_EXECUTABLE)
30