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
19android_test {
20    name: "CtsAdServicesPermissionsNoPermEndToEndTests",
21    team: "trendy_team_android_rubidium",
22    srcs: [
23        "src/**/*.java",
24    ],
25    static_libs: [
26        "adservices-clients",
27        "adservices-test-fixtures",
28        "adservices-test-utility",
29        "androidx.concurrent_concurrent-futures",
30        "compatibility-device-util-axt",
31        "truth",
32    ],
33    libs: [
34        "android.test.base",
35        "framework-adservices",
36        "framework-sdksandbox.impl",
37    ],
38    test_suites: [
39        "cts",
40        "general-tests",
41        "mts-adservices",
42        "mcts-adservices",
43    ],
44    min_sdk_version: "33",
45    manifest: "AndroidManifest.xml",
46    lint: {
47        extra_check_modules: ["AdServicesTestLintChecker"],
48        baseline_filename: "lint-baseline.xml",
49        test: false, // TODO(b/343741206): remove when checks will run on android_test
50    },
51}
52
53android_test {
54    name: "CtsAdExtServicesPermissionsNoPermEndToEndTests",
55    srcs: [
56        "src/**/*.java",
57    ],
58    static_libs: [
59        "adservices-clients",
60        "adservices-test-fixtures",
61        "adservices-test-utility",
62        "androidx.concurrent_concurrent-futures",
63        "compatibility-device-util-axt",
64        "truth",
65    ],
66    libs: [
67        "android.ext.adservices",
68        "android.test.base",
69        "framework-sdksandbox.impl",
70    ],
71    test_suites: [
72        "cts",
73        "general-tests",
74        "mts-extservices",
75        "mcts-extservices",
76    ],
77    sdk_version: "module_current",
78    min_sdk_version: "31",
79    max_sdk_version: "32",
80    test_config: "AndroidTest.ExtServices.xml",
81    manifest: "AndroidManifestExtServices.xml",
82    lint: {
83        extra_check_modules: ["AdServicesTestLintChecker"],
84        test: false, // TODO(b/343741206): remove when checks will run on android_test
85    },
86}
87