Android.mk revision e5692bece9c1bc5de70cdc4a5c466666c735a809
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)
20a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_CLANG := true
21a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
22a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_MODULE := libhellocomputendk
23a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_MODULE_TAGS := optional
24a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_SRC_FILES := helloComputeNDK.cpp mono.rs
25a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
26a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_C_INCLUDES := $(JNI_H_INCLUDE)
27a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_C_INCLUDES += frameworks/rs/cpp
28a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_C_INCLUDES += frameworks/rs
29a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
30a89eef413da39b013f2e931c9f207ef2587eef01Tim Murray
31a89eef413da39b013f2e931c9f207ef2587eef01Tim MurrayLOCAL_SHARED_LIBRARIES := libdl liblog libjnigraphics
32336ef39fcc5e8f53a087ed514cb29aa4c5376070Tim MurrayLOCAL_STATIC_LIBRARIES := libRScpp_static libstlport_static
33e5692bece9c1bc5de70cdc4a5c466666c735a809Stephen HinesLOCAL_32_BIT_ONLY := true
34e5692bece9c1bc5de70cdc4a5c466666c735a809Stephen Hines
35a89eef413da39b013f2e931c9f207ef2587eef01Tim Murrayinclude $(BUILD_SHARED_LIBRARY)
36