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", // CC-BY
20    ],
21    default_team: "trendy_team_android_media_solutions",
22}
23
24android_test {
25    name: "CtsMediaExtractorTestCases",
26    defaults: ["cts_defaults"],
27    // include both the 32 and 64 bit versions
28    compile_multilib: "both",
29    static_libs: [
30        "ctstestrunner-axt",
31        "ctstestserver",
32        "cts-media-common",
33    ],
34    srcs: [
35        "src/**/*.java",
36    ],
37    platform_apis: true,
38    jni_uses_sdk_apis: true,
39    test_suites: [
40        "cts",
41        "general-tests",
42    ],
43    host_required: ["cts-dynamic-config"],
44    min_sdk_version: "29",
45    target_sdk_version: "31",
46}
47
48android_test {
49    name: "MctsMediaExtractorTestCases",
50    defaults: ["cts_defaults"],
51    // include both the 32 and 64 bit versions
52    compile_multilib: "both",
53    static_libs: [
54        "ctstestrunner-axt",
55        "ctstestserver",
56        "cts-media-common",
57    ],
58    srcs: [
59        "src/**/*.java",
60    ],
61    platform_apis: true,
62    jni_uses_sdk_apis: true,
63    test_config: "AndroidTest-mcts.xml",
64    test_suites: [
65        "general-tests",
66        "mcts-media",
67        "mts-media",
68    ],
69    host_required: ["cts-dynamic-config"],
70    min_sdk_version: "29",
71    target_sdk_version: "31",
72}
73