blob: 9e24dca7bb0d8419e753bcfd3e62166bd4834a14 [file] [log] [blame]
Jason Sams221a4b12012-02-22 15:22:41 -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
Jason Sams221a4b12012-02-22 15:22:41 -08007LOCAL_SRC_FILES:= \
Tim Murray8d8fb3e2012-11-02 17:02:32 -07008 mono.rs \
9 compute.cpp
Jason Sams221a4b12012-02-22 15:22:41 -080010
Stephen Hines00db0192014-01-15 15:06:24 -080011LOCAL_STATIC_LIBRARIES := \
Stephen Hinesbe78fa92014-04-28 18:32:56 -070012 libRScpp_static
Tim Murray89daad62013-07-29 14:30:02 -070013
Chris Wailes44bef6f2014-08-12 13:51:10 -070014LOCAL_CFLAGS := -std=c++11
Stephen Hines00db0192014-01-15 15:06:24 -080015LOCAL_LDFLAGS += -llog -ldl
Jason Sams221a4b12012-02-22 15:22:41 -080016
17LOCAL_MODULE:= rstest-compute
18
19LOCAL_MODULE_TAGS := tests
20
Jason Sams8e412a12012-03-13 16:22:46 -070021intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,)
Jason Sams8e412a12012-03-13 16:22:46 -070022
Jason Samsa662edd2012-04-02 15:00:10 -070023LOCAL_C_INCLUDES += frameworks/rs/cpp
24LOCAL_C_INCLUDES += frameworks/rs
Jason Sams8e412a12012-03-13 16:22:46 -070025LOCAL_C_INCLUDES += $(intermediates)
26
Stephen Hinesb98626d2013-10-15 17:46:50 -070027LOCAL_CLANG := true
Jason Sams221a4b12012-02-22 15:22:41 -080028
29include $(BUILD_EXECUTABLE)
30