1// Copyright (C) 2017 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 15java_test_helper_library { 16 name: "CtsMockInputMethodLib", 17 sdk_version: "test_current", 18 19 // TODO: ideally we should split MockIme source files into three categories 20 // 1) common, 2) common + IME-only, and 3) common + client-only. 21 // Currently, both MockIme APK and test APKs that use MockIme contain 22 // all the Java classes, which is inefficient. 23 srcs: ["src/**/*.java"], 24 libs: ["junit"], 25 static_libs: [ 26 "androidx.annotation_annotation", 27 "androidx.autofill_autofill", 28 "compatibility-device-util-axt", 29 ], 30} 31 32android_test_helper_app { 33 name: "CtsMockInputMethod", 34 defaults: ["cts_defaults"], 35 optimize: { 36 enabled: false, 37 }, 38 sdk_version: "current", 39 min_sdk_version: "19", 40 // tag this module as a cts test artifact 41 test_suites: [ 42 "cts", 43 "vts10", 44 "general-tests", 45 "sts", 46 ], 47 static_libs: [ 48 "androidx.annotation_annotation", 49 "CtsMockInputMethodLib", 50 ], 51} 52