blob: f63684ee5a17bf9654cd6282639c26fd785efa3d [file] [log] [blame]
Stephen Hines7d1b3c12013-08-22 14:58:13 -07001LOCAL_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
Stephen Hines7d1b3c12013-08-22 14:58:13 -07007LOCAL_SRC_FILES:= \
8 kernels.rs \
9 typecheck.cpp
10
Stephen Hines00db0192014-01-15 15:06:24 -080011LOCAL_STATIC_LIBRARIES := \
Stephen Hinesbe78fa92014-04-28 18:32:56 -070012 libRScpp_static
Stephen Hines7d1b3c12013-08-22 14:58:13 -070013
Chris Wailes44bef6f2014-08-12 13:51:10 -070014LOCAL_CFLAGS := -std=c++11
Stephen Hines00db0192014-01-15 15:06:24 -080015LOCAL_LDFLAGS += -llog -ldl
Stephen Hines7d1b3c12013-08-22 14:58:13 -070016
17LOCAL_MODULE:= rstest-typecheck
18
19LOCAL_MODULE_TAGS := tests
20
21intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
22
Stephen Hines7d1b3c12013-08-22 14:58:13 -070023LOCAL_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
Stephen Hines7d1b3c12013-08-22 14:58:13 -070028
29include $(BUILD_EXECUTABLE)
30