1// Copyright (C) 2021 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_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test { 20 name: "CtsTranslationTestCases", 21 defaults: ["cts_defaults"], 22 // Tag this module as a cts test artifact 23 test_suites: [ 24 "cts", 25 "general-tests", 26 ], 27 libs: ["android.test.base"], 28 static_libs: [ 29 "androidx.test.core", 30 "androidx.test.rules", 31 "compatibility-device-util-axt", 32 "ctstestrunner-axt", 33 "truth-prebuilt", 34 "androidx.test.ext.junit", 35 "testng", 36 "androidx.test.uiautomator_uiautomator", 37 ], 38 srcs: [ 39 "src/**/*.java", 40 ], 41 sdk_version: "test_current", 42 // set target sdk 30 that can use for test 43 target_sdk_version: "30", 44 min_sdk_version: "30", 45} 46