1// Copyright (C) 2019 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: "CtsMediaV2TestCases", 21 defaults: ["cts_defaults"], 22 compile_multilib: "both", 23 static_libs: [ 24 "androidx.test.core", 25 "compatibility-device-util-axt", 26 "ctstestrunner-axt", 27 "ctstestserver", 28 "ctsmediav2common", 29 ], 30 libs: [ 31 "org.apache.http.legacy", 32 ], 33 platform_apis: true, 34 jni_uses_sdk_apis: true, 35 jni_libs: [ 36 "libctsmediav2muxer_jni", 37 "libctsmediav2extractor_jni", 38 "libctsmediav2codecdec_jni", 39 "libctsmediav2codecdecsurface_jni", 40 "libctsmediav2codecenc_jni", 41 "libctsmediav2codecencsurface_jni", 42 "libctsmediav2codecapiunit_jni", 43 "libctsmediav2utils_jni", 44 ], 45 srcs: ["src/**/*.java"], 46 // Tag this module as a cts test artifact 47 test_suites: [ 48 "cts", 49 "general-tests", 50 "mts-media", 51 ], 52 min_sdk_version: "29", 53} 54