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// 18 19package { 20 default_applicable_licenses: ["Android-Apache-2.0"], 21} 22 23cc_test_library { 24 name: "libopengltest_jni", 25 srcs: [ 26 "common.cpp", 27 "gl2_jni_libone.cpp", 28 "attach_shader_one.cpp", 29 "attach_shader_two.cpp", 30 "attach_shader_three.cpp", 31 "attach_shader_four.cpp", 32 "attach_shader_five.cpp", 33 "attach_shader_six.cpp", 34 "attach_shader_seven.cpp", 35 "attach_shader_eight.cpp", 36 "attach_shader_nine.cpp", 37 "attach_shader_ten.cpp", 38 "attach_shader_eleven.cpp", 39 "color_one.cpp", 40 ], 41 sdk_version: "current", 42 stl: "none", 43 header_libs: ["jni_headers"], 44 shared_libs: [ 45 "libGLESv2", 46 "liblog", 47 ], 48 cflags: [ 49 "-Wall", 50 "-Werror", 51 "-Wno-unused-parameter", 52 "-Wno-sign-compare", 53 "-Wno-unused-function", 54 "-Wno-unused-variable", 55 ], 56} 57