blob: 2e46c9e69eda25d0a912c825c4219a2412c741fd [file] [log] [blame]
Tim Murray704616e2012-11-13 14:10:21 -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 Murray704616e2012-11-13 14:10:21 -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
14LOCAL_LDFLAGS += -llog -ldl
Tim Murray704616e2012-11-13 14:10:21 -080015
16LOCAL_MODULE:= rstest-cppallocation
17
18LOCAL_MODULE_TAGS := tests
19
20intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
21
Tim Murray704616e2012-11-13 14:10:21 -080022LOCAL_C_INCLUDES += frameworks/rs/cpp
23LOCAL_C_INCLUDES += frameworks/rs
24LOCAL_C_INCLUDES += $(intermediates)
25
Stephen Hinesb98626d2013-10-15 17:46:50 -070026LOCAL_CLANG := true
Tim Murray704616e2012-11-13 14:10:21 -080027
28include $(BUILD_EXECUTABLE)
29