1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SDK_VERSION := 8
5LOCAL_NDK_STL_VARIANT := stlport_static
6
7LOCAL_SRC_FILES:= \
8	multiply.rs \
9	compute.cpp
10
11LOCAL_STATIC_LIBRARIES := \
12	libRScpp_static
13
14LOCAL_LDFLAGS += -llog -ldl
15
16LOCAL_MODULE:= rstest-cppallocation
17
18LOCAL_MODULE_TAGS := tests
19
20intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
21
22LOCAL_C_INCLUDES += frameworks/rs/cpp
23LOCAL_C_INCLUDES += frameworks/rs
24LOCAL_C_INCLUDES += $(intermediates)
25
26LOCAL_CLANG := true
27
28include $(BUILD_EXECUTABLE)
29
30