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 "automotive-general-tests", 26 "cts", 27 "general-tests", 28 ], 29 compile_multilib: "both", 30 31 kotlincflags: [ 32 "-Werror", 33 ], 34 35 srcs: [ 36 "src/**/*.kt", 37 "InputInjectionApp/src/com/android/test/inputinjection/IInputInjectionTestCallbacks.aidl", 38 ], 39 resource_dirs: ["res"], 40 asset_dirs: ["assets"], 41 static_libs: [ 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 "kotlin-test", 51 "ui-trace-collector", 52 "collector-device-lib", 53 "platform-screenshot-diff-core", 54 ], 55 sdk_version: "test_current", 56 data: [ 57 ":InputInjectionApp", 58 ], 59 per_testcase_directory: true, 60} 61