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_team: "trendy_team_windowing_infra_", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsSurfaceControlTests", 22 defaults: ["cts_defaults"], 23 24 // Tag this module as a cts test artifact 25 test_suites: [ 26 "cts", 27 "general-tests", 28 ], 29 30 compile_multilib: "both", 31 32 libs: [ 33 "android.test.runner.stubs", 34 "android.test.base.stubs", 35 "android.view.flags-aconfig-java", 36 ], 37 38 static_libs: [ 39 "androidx.test.rules", 40 "androidx.test.ext.junit", 41 "android.hardware.flags-aconfig-java", 42 "compatibility-device-util-axt", 43 "ctsdeviceutillegacy-axt", 44 "ctstestrunner-axt", 45 "cts-input-lib", 46 "cts-hardware-lib", 47 "junit-params", 48 "mockito-target-minus-junit4", 49 "platform-test-annotations", 50 "androidx.test.uiautomator_uiautomator", 51 "truth", 52 "CtsSurfaceValidatorLib", 53 "cts-wm-util", 54 "CtsMockInputMethodLib", 55 "CtsCrossProcessSurfaceControlViewHostTestService", 56 "flag-junit", 57 "com.android.window.flags.window-aconfig-java", 58 "hwui_flags_java_lib", 59 "ui-trace-collector", 60 "collector-device-lib", 61 ], 62 63 jni_libs: [ 64 "libctssurfacecontrol_jni", 65 "libnativehelper_compat_libc++", 66 ], 67 68 srcs: [ 69 "src/**/*.java", 70 "src/**/*.aidl", 71 ], 72 73 data: [ 74 ":CtsCrossProcessSurfaceControlViewHostTestService", 75 ":CtsMockInputMethod", 76 ], 77 78 sdk_version: "test_current", 79} 80