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 "android.view.flags-aconfig-java", 42 "androidx.test.core", 43 "androidx.test.ext.junit", 44 "com.android.hardware.input-aconfig-java", 45 "com.android.input.flags-aconfig-java", 46 "compatibility-device-util-axt", 47 "cts-input-lib", 48 "cts-wm-util", 49 "kotlin-test", 50 "ui-trace-collector", 51 "collector-device-lib", 52 "platform-screenshot-diff-core", 53 ], 54 sdk_version: "test_current", 55 data: [ 56 ":InputInjectionApp", 57 ], 58 per_testcase_directory: true, 59} 60