1// 2// Copyright (C) 2024 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_team: "trendy_team_chromium_webview", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22// Test app target for testing compatibility changes gated on targetSdkVersion. 23android_test_helper_app { 24 name: "CtsWebViewCompatChangeApp", 25 defaults: ["cts_support_defaults"], 26 platform_apis: true, 27 // Must be 1 version lower than the lowest targetSdkVersion used by tests. 28 // Tests currently start with features introduced in U, hence this value: V (34). 29 target_sdk_version: "34", 30 static_libs: [ 31 "compatibility-device-util-axt", 32 "ctsdeviceutillegacy-axt", 33 "ctstestserver", 34 "ctstestrunner-axt", 35 "androidx.test.core", 36 ], 37 libs: [ 38 "android.test.runner", 39 "android.test.base", 40 ], 41 srcs: ["src/**/*.java"], 42 // Tag this module as a cts test artifact. 43 test_suites: [ 44 "cts", 45 "general-tests", 46 ], 47} 48