1a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# Copyright (C) 2013 The Android Open Source Project
2a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#
3a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# Licensed under the Apache License, Version 2.0 (the "License");
4a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# you may not use this file except in compliance with the License.
5a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# You may obtain a copy of the License at
6a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#
7a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#      http://www.apache.org/licenses/LICENSE-2.0
8a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#
9a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# Unless required by applicable law or agreed to in writing, software
10a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# distributed under the License is distributed on an "AS IS" BASIS,
11a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# See the License for the specific language governing permissions and
13a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# limitations under the License.
14a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
15a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#
16a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray# This is the shared library included by the JNI test app.
17a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray#
18a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_PATH := $(call my-dir)
19a89eef413da39b013f2e931c9f207ef2587eef01Tim Murrayinclude $(CLEAR_VARS)
20d1cfb510bcae2ed7cf735c9937b5050ae1043c85Dan AlbertLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
21a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
22a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_MODULE := libhellocomputendk
23863237215cab4812df373b63ba3bbf2bc1d8647dJean-Luc BrouilletLOCAL_MODULE_TAGS := tests
24a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_SRC_FILES := helloComputeNDK.cpp mono.rs
25a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
26a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
27a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
2844bef6fba6244292b751387f3d6c31cca96c28adChris WailesLOCAL_CFLAGS := -std=c++11
29997bb34e1f65bf4026634d2db5be5c86f13a31f0Stephen HinesLOCAL_LDFLAGS := -Wl,-Bsymbolic
30a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_SHARED_LIBRARIES := libdl liblog libjnigraphics
31997bb34e1f65bf4026634d2db5be5c86f13a31f0Stephen HinesLOCAL_STATIC_LIBRARIES := libRScpp_static
32e5692bece9c1bc5de70cdc4a5c466666c735a809Stephen Hines
338467325c6d80de30bb86b7665cc41dff0c276e8dAlan ViveretteLOCAL_SDK_VERSION := current
34fbb6938c9735b34168d8a7844038cb76a23321f9Dan Albert
35fbb6938c9735b34168d8a7844038cb76a23321f9Dan AlbertLOCAL_NDK_STL_VARIANT := stlport_static
36fbb6938c9735b34168d8a7844038cb76a23321f9Dan Albert
37a89eef413da39b013f2e931c9f207ef2587eef01Tim Murrayinclude $(BUILD_SHARED_LIBRARY)
38