xref: /aosp_15_r20/cts/hostsidetests/media/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1//
2// Copyright (C) 2017 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_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21java_test_host {
22    name: "CtsMediaHostTestCases",
23    team: "trendy_team_android_media_solutions",
24    defaults: ["cts_defaults"],
25    srcs: [
26        "src/**/*.java",
27    ],
28    // tag this module as a cts test artifact
29    test_suites: [
30        "cts",
31        "general-tests",
32    ],
33    libs: [
34        "cts-tradefed",
35        "tradefed",
36        "compatibility-host-util",
37
38    ],
39    static_libs: [
40        "com.android.media.flags.bettertogether-aconfig-java-host",
41        "CompatChangeGatingTestBase",
42        "cts-host-utils",
43        "cts-statsd-atom-host-test-utils",
44        "CtsMediaHostTestCommon",
45        "flag-junit-host",
46        "modules-utils-build-testing",
47    ],
48    device_common_data: [
49        ":CtsAudioHostTestApp",
50        ":CtsMediaExtractorHostTestApp",
51        ":CtsMediaMetricsHostTestApp",
52        ":CtsMediaRouterHostSideTestBluetoothPermissionsApp",
53        ":CtsMediaRouterHostSideTestModifyAudioRoutingApp",
54        ":CtsMediaRouterHostSideTestMediaRoutingControlApp",
55        ":CtsMediaRouterHostSideTestRequiredPermissionsApp",
56        ":CtsMediaRouterHostSideTestProviderApp1",
57        ":CtsMediaRouterHostSideTestProviderApp2",
58        ":CtsMediaRouterHostSideTestProviderApp3",
59        ":CtsMediaRouterHostSideTestProviderRequiresPermissionsApp",
60        ":CtsMediaRouterHostSideTestProviderSelfScanOnlyApp",
61        ":CtsMediaRouterHostSideTestProviderWithPackageManagerSpam",
62        ":CtsMediaSessionHostTestApp",
63        ":CtsMediaSessionTestHelper",
64        ":CtsProxyMediaRouterSecondaryUserTestHelperApp",
65        ":CtsProxyMediaRouterTestHelperApp",
66    ],
67}
68