1# Copyright (C) 2012 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# 16# This is the shared library included by the JNI test app. 17# 18LOCAL_PATH := $(call my-dir) 19include $(CLEAR_VARS) 20LOCAL_MODULE := libopengltest_jni 21LOCAL_MODULE_TAGS := optional 22LOCAL_SRC_FILES := common.cpp \ 23 gl2_jni_libone.cpp \ 24 attach_shader_one.cpp \ 25 attach_shader_two.cpp \ 26 attach_shader_three.cpp \ 27 attach_shader_four.cpp \ 28 attach_shader_five.cpp \ 29 attach_shader_six.cpp \ 30 attach_shader_seven.cpp \ 31 attach_shader_eight.cpp \ 32 attach_shader_nine.cpp \ 33 attach_shader_ten.cpp \ 34 attach_shader_eleven.cpp \ 35 color_one.cpp 36 37LOCAL_C_INCLUDES := $(JNI_H_INCLUDE) 38 39LOCAL_SDK_VERSION := current 40LOCAL_NDK_STL_VARIANT := none 41 42LOCAL_SHARED_LIBRARIES := libGLESv2 liblog 43 44LOCAL_CFLAGS := -Wall -Werror -Wno-unused-parameter 45LOCAL_CFLAGS += -Wno-sign-compare -Wno-unused-function -Wno-unused-variable 46 47include $(BUILD_SHARED_LIBRARY) 48 49 50 51