1// Copyright (C) 2020 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_input_framework", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsInputTestCases", 22 defaults: ["cts_defaults"], 23 // Tag this module as a cts test artifact 24 test_suites: [ 25 "cts", 26 "general-tests", 27 ], 28 compile_multilib: "both", 29 30 kotlincflags: [ 31 "-Werror", 32 ], 33 34 srcs: [ 35 "src/**/*.kt", 36 "InputInjectionApp/src/com/android/test/inputinjection/IInputInjectionTestCallbacks.aidl", 37 ], 38 resource_dirs: ["res"], 39 asset_dirs: ["assets"], 40 static_libs: [ 41 "CtsVirtualDeviceCommonLib", 42 "android.view.flags-aconfig-java", 43 "androidx.test.core", 44 "androidx.test.ext.junit", 45 "com.android.hardware.input-aconfig-java", 46 "com.android.input.flags-aconfig-java", 47 "compatibility-device-util-axt", 48 "cts-input-lib", 49 "cts-wm-util", 50 "flag-junit", 51 "kotlin-test", 52 "ui-trace-collector", 53 "collector-device-lib", 54 "platform-screenshot-diff-core", 55 ], 56 sdk_version: "test_current", 57 data: [ 58 ":InputInjectionApp", 59 ], 60 per_testcase_directory: true, 61} 62