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 // See: http://go/android-license-faq 17 default_applicable_licenses: [ 18 "Android-Apache-2.0", 19 "cts_tests_tests_media_license", 20 ], 21 default_team: "trendy_team_android_video_image_codecs", 22} 23 24java_defaults { 25 name: "MediaEncoderTestCases_defaults", 26 defaults: ["cts_defaults"], 27 // include both the 32 and 64 bit versions 28 compile_multilib: "both", 29 static_libs: [ 30 "ctstestrunner-axt", 31 "cts-media-common", 32 ], 33 jni_libs: [ 34 "libctscodecutils_jni", 35 ], 36 srcs: [ 37 "src/**/*.java", 38 ], 39 // This test uses private APIs 40 platform_apis: true, 41 jni_uses_sdk_apis: true, 42 host_required: ["cts-dynamic-config"], 43 min_sdk_version: "29", 44 target_sdk_version: "31", 45} 46 47android_test { 48 name: "CtsMediaEncoderTestCases", 49 defaults: ["MediaEncoderTestCases_defaults"], 50 test_config: "AndroidTest.xml", 51 test_suites: [ 52 "cts", 53 "general-tests", 54 ], 55} 56 57android_test { 58 name: "MctsMediaEncoderTestCases", 59 defaults: ["MediaEncoderTestCases_defaults"], 60 test_config: "AndroidTest-mcts.xml", 61 test_suites: [ 62 "cts", 63 "general-tests", 64 "mcts-media", 65 "mts-media", 66 ], 67} 68