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_applicable_licenses: ["Android-Apache-2.0"], 17 default_team: "trendy_team_android_media_solutions_editing", 18} 19 20android_test { 21 name: "CtsMediaTranscodingTestCases", 22 defaults: [ 23 "CtsMediaTranscodingTestCasesDefaults", 24 "cts_defaults", 25 ], 26 // part of MTS, so we need compatibility back to Q/29 27 min_sdk_version: "29", 28 test_suites: [ 29 "cts", 30 "general-tests", 31 ], 32 static_libs: [ 33 "compatibility-device-util-axt", 34 ], 35 resource_dirs: ["res"], 36 sdk_version: "test_current", 37} 38 39android_test { 40 name: "MctsMediaTranscodingTestCases", 41 defaults: [ 42 "CtsMediaTranscodingTestCasesDefaults", 43 "cts_defaults", 44 ], 45 // part of MTS, so we need compatibility back to Q/29 46 min_sdk_version: "29", 47 test_config: "AndroidTest-mcts.xml", 48 test_suites: [ 49 "general-tests", 50 "cts", 51 "mts-media", 52 "mcts-media", 53 "mts", 54 ], 55 static_libs: [ 56 "compatibility-device-util-axt", 57 ], 58 resource_dirs: ["res"], 59} 60 61java_defaults { 62 name: "CtsMediaTranscodingTestCasesDefaults", 63 srcs: ["src/**/*.java"], 64 static_libs: [ 65 "ctstestrunner-axt", 66 "androidx.test.ext.junit", 67 "testng", 68 ], 69 libs: [ 70 "android.test.base.stubs.test", 71 "android.test.runner.stubs.test", 72 ], 73} 74