1// Copyright (C) 2022 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
19java_test_host {
20    name: "CtsAdServicesHostTests",
21    team: "trendy_team_android_rubidium",
22    defaults: ["cts_defaults"],
23    srcs: ["src/**/*.java"],
24    // tag this module as a cts test artifact
25    test_suites: [
26        "cts",
27        "general-tests",
28        "mts-adservices",
29        "mcts-adservices",
30    ],
31    libs: [
32        "cts-tradefed",
33        "tradefed",
34        "platformprotos",
35    ],
36    static_libs: [
37        "adservices-host-side-test-utility",
38        "cts-statsd-atom-host-test-utils",
39    ],
40    data: [
41        ":CtsAdservicesHostTestApp",
42    ],
43    per_testcase_directory: true,
44}
45
46java_test_host {
47    name: "CtsAdExtServicesHostTests",
48    defaults: ["cts_defaults"],
49    srcs: ["src/**/*.java"],
50    // tag this module as a cts test artifact
51    test_suites: [
52        "cts",
53        "general-tests",
54        "mts-extservices",
55        "mcts-extservices",
56    ],
57    libs: [
58        "cts-tradefed",
59        "tradefed",
60        "platformprotos",
61    ],
62    static_libs: [
63        "adservices-host-side-test-utility",
64        "cts-statsd-atom-host-test-utils",
65    ],
66    data: [
67        ":CtsAdservicesHostTestApp",
68    ],
69    test_config: "AndroidTest.ExtServices.xml",
70}
71