blob: c34e3e291e94a0339df0b34962b0384cd192d746 [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
Stephen Hines00db0192014-01-15 15:06:24 -080014LOCAL_LDFLAGS += -llog -ldl
Stephen Hines7d1b3c12013-08-22 14:58:13 -070015
16LOCAL_MODULE:= rstest-typecheck
17
18LOCAL_MODULE_TAGS := tests
19
20intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
21
Stephen Hines7d1b3c12013-08-22 14:58:13 -070022LOCAL_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
Stephen Hines7d1b3c12013-08-22 14:58:13 -070027
28include $(BUILD_EXECUTABLE)
29