| // Copyright (C) 2017 The Android Open Source Project | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| // See the License for the specific language governing permissions and | |
| // limitations under the License. | |
| package { | |
| default_team: "trendy_team_input_method_framework", | |
| default_applicable_licenses: ["Android-Apache-2.0"], | |
| } | |
| android_test { | |
| name: "CtsInputMethodTestCases", | |
| defaults: ["cts_defaults"], | |
| // Tag this module as a cts test artifact | |
| test_suites: [ | |
| "cts", | |
| "general-tests", | |
| // This is an equivalent of general-tests for automotive. | |
| // It helps manage the build time on automotive branches. | |
| "automotive-general-tests", | |
| ], | |
| compile_multilib: "both", | |
| libs: ["android.test.runner.stubs.test"], | |
| static_libs: [ | |
| "androidx.test.ext.junit", | |
| "androidx.test.rules", | |
| "androidx.test.uiautomator_uiautomator", | |
| "compatibility-device-util-axt", | |
| "cts-inputmethod-util", | |
| "cts-mock-a11y-ime-client", | |
| "ctstestrunner-axt", | |
| "CtsMockInputMethodLib", | |
| "CtsInputMethodStandaloneTestLib", | |
| "CtsMockSpellCheckerLib", | |
| "CtsLegacyImeClientTestLib", | |
| "CtsMockInputMethodWithSubtypesLib", | |
| "testng", | |
| "kotlin-test", | |
| "cts-wm-util", | |
| "sts-device-util", | |
| "cts_window-extensions", | |
| "statsdprotonano", | |
| "android.view.inputmethod.flags-aconfig-java", | |
| "com.android.input.flags-aconfig-java", | |
| "com.android.text.flags-aconfig-java", | |
| "flag-junit", | |
| "ravenwood-junit", | |
| "bedstead", | |
| ], | |
| srcs: [ | |
| "src/**/*.java", | |
| "src/**/*.kt", | |
| "src/**/I*.aidl", | |
| ], | |
| aidl: { | |
| local_include_dirs: ["src"], | |
| }, | |
| sdk_version: "test_current", | |
| data: [ | |
| ":CtsMockSpellChecker", | |
| ":CtsHiddenFromPickerIme", | |
| ":CtsMockA11yInputMethod", | |
| ":CtsMockInputMethod", | |
| ":CtsMockInputMethod2", | |
| ":CtsSpellCheckingIme", | |
| ":CtsInputMethodStandaloneTestApp", | |
| ":CtsMockLargeResourceInputMethod", | |
| ":CtsMockInputMethodWithSubtypes", | |
| ":CtsInputMethodTestLauncher", | |
| ":TestIme", | |
| ], | |
| per_testcase_directory: true, | |
| } | |
| android_ravenwood_test { | |
| name: "CtsInputMethodTestCasesRavenwood", | |
| static_libs: [ | |
| "androidx.annotation_annotation", | |
| "androidx.test.rules", | |
| "compatibility-device-util-axt-ravenwood", | |
| ], | |
| srcs: [ | |
| "src/android/view/inputmethod/cts/InputBindingTest.java", | |
| ], | |
| auto_gen_config: true, | |
| team: "trendy_team_ravenwood", | |
| } |