1// Copyright (C) 2023 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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "CtsSurfaceControlTests", 21 defaults: ["cts_defaults"], 22 23 // Tag this module as a cts test artifact 24 test_suites: [ 25 "cts", 26 "general-tests", 27 ], 28 29 compile_multilib: "both", 30 31 libs: [ 32 "android.test.runner.stubs", 33 "android.test.base.stubs", 34 ], 35 36 static_libs: [ 37 "androidx.test.rules", 38 "androidx.test.ext.junit", 39 "compatibility-device-util-axt", 40 "ctsdeviceutillegacy-axt", 41 "ctstestrunner-axt", 42 "cts-input-lib", 43 "cts-hardware-lib", 44 "junit-params", 45 "mockito-target-minus-junit4", 46 "platform-test-annotations", 47 "ub-uiautomator", 48 "truth-prebuilt", 49 "CtsSurfaceValidatorLib", 50 "cts-wm-util", 51 ], 52 53 jni_libs: [ 54 "libctssurfacecontrol_jni", 55 "libnativehelper_compat_libc++", 56 ], 57 58 srcs: [ 59 "src/**/*.java", 60 ], 61 62 sdk_version: "test_current", 63} 64