• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: "CtsAdServicesPermissionsAppOptOutEndToEndTests",
21    team: "trendy_team_android_rubidium",
22    defaults: [
23        "cts_defaults",
24        "modules-utils-testable-device-config-defaults",
25    ],
26    srcs: [
27        "src/**/*.java",
28    ],
29    static_libs: [
30        "adservices-clients",
31        "adservices-test-fixtures",
32        "adservices-test-utility",
33        "adservices-cts-test-utility",
34        "androidx.concurrent_concurrent-futures",
35        "compatibility-device-util-axt",
36        "truth",
37    ],
38    libs: [
39        "android.test.base.stubs.system",
40        "framework-adservices.stubs.module_lib",
41        "framework-sdksandbox.impl",
42    ],
43    test_suites: [
44        "cts",
45        "general-tests",
46        "mts-adservices",
47        "mcts-adservices",
48    ],
49    min_sdk_version: "33",
50    manifest: "AndroidManifest.xml",
51    lint: {
52        extra_check_modules: ["AdServicesTestLintChecker"],
53        baseline_filename: "lint-baseline.xml",
54    },
55}
56
57android_test {
58    name: "CtsAdExtServicesPermissionsAppOptOutEndToEndTests",
59    defaults: [
60        "cts_defaults",
61        "modules-utils-testable-device-config-defaults",
62    ],
63    srcs: [
64        "src/**/*.java",
65    ],
66    static_libs: [
67        "adservices-clients",
68        "adservices-test-fixtures",
69        "adservices-test-utility",
70        "adservices-cts-test-utility",
71        "androidx.concurrent_concurrent-futures",
72        "compatibility-device-util-axt",
73        "truth",
74    ],
75    libs: [
76        "android.ext.adservices",
77        "android.test.base.stubs.system",
78        "framework-sdksandbox.impl",
79    ],
80    test_suites: [
81        "cts",
82        "general-tests",
83        "mts-extservices",
84        "mcts-extservices",
85    ],
86    sdk_version: "module_current",
87    min_sdk_version: "31",
88    max_sdk_version: "32",
89    test_config: "AndroidTest.ExtServices.xml",
90    manifest: "AndroidManifestExtServices.xml",
91    lint: {
92        extra_check_modules: ["AdServicesTestLintChecker"],
93    },
94}
95