1// 2// Copyright (C) 2021 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 default_team: "trendy_team_art_performance", 20} 21 22android_test { 23 name: "CtsUffdGcTestCases", 24 defaults: ["cts_defaults"], 25 compile_multilib: "both", 26 srcs: ["src/**/*.java"], 27 jni_libs: ["libuserfaultfdtest"], 28 sdk_version: "current", 29 static_libs: [ 30 "androidx.test.core", 31 "androidx.test.ext.junit", 32 "androidx.test.rules", 33 "compatibility-device-util-axt", 34 "ctstestrunner-axt", 35 ], 36 libs: [ 37 "android.test.runner.stubs", 38 "android.test.base.stubs", 39 ], 40 test_suites: [ 41 "cts", 42 "vts", 43 "general-tests", 44 ], 45} 46 47cc_test_library { 48 name: "libuserfaultfdtest", 49 defaults: ["libctsos_jni_defaults"], 50 srcs: ["jni/android_os_cts_uffdgc_UserfaultfdTest.cc"], 51 stl: "c++_static", 52 sdk_version: "current", 53} 54