1// Copyright (C) 2024 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_defaults {
20    name: "enrollment_ctsroot_defaults",
21    team: "trendy_team_android_rubidium",
22    srcs: [
23        "src/**/*.java",
24    ],
25    static_libs: [
26        "androidx.test.runner",
27        "adservices-assets",
28        "adservices-service-core",
29        "adservices-test-utility",
30        "adservices-ui-cts-root-test-lib",
31        "platform-test-rules",
32        "truth",
33    ],
34    libs: [
35        "android.test.base.stubs.system",
36        "android.test.runner.stubs.system",
37        "framework-adservices-lib",
38    ],
39    test_suites: [
40        "cts_root",
41        "general-tests",
42    ],
43    sdk_version: "module_current",
44    lint: {
45        extra_check_modules: ["AdServicesTestLintChecker"],
46        test: false,
47    },
48}
49
50android_test {
51    name: "AdServicesEnrollmentCtsRootTest",
52    defaults: ["enrollment_ctsroot_defaults"],
53    min_sdk_version: "Tiramisu",
54    manifest: "AndroidManifest.xml",
55    test_config: "AndroidTest.xml",
56}
57