1// 2// Copyright (C) 2018 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21cc_test { 22 sdk_version: "26", 23 name: "GameCoreNativeTestCases", 24 srcs: [ 25 "main.cpp", 26 "cpu_test.cpp", 27 "mprotect_test.cpp", 28 "glExtensions_test.cpp" 29 ], 30 stl: "libc++_static", 31 shared_libs: [ 32 "liblog", 33 "libvulkan", 34 "libEGL", 35 "libGLESv2", 36 ], 37 static_libs: [ 38 "cpufeatures", 39 "libgmock_ndk", 40 ], 41 multilib: { 42 lib32: { 43 suffix: "32", 44 }, 45 lib64: { 46 suffix: "64", 47 }, 48 }, 49 test_suites: [ 50 "device-tests", 51 ], 52} 53