• 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: "CtsAdServicesTopicsAppUpdateTests",
21    team: "trendy_team_android_rubidium",
22    srcs: [
23        "src/**/*.java",
24    ],
25    static_libs: [
26        "androidx.concurrent_concurrent-futures",
27        "compatibility-device-util-axt",
28        "truth",
29        "adservices-clients",
30        "adservices-test-utility",
31    ],
32    libs: [
33        "android.test.base.stubs.system",
34        "framework-adservices.stubs.module_lib",
35        "framework-sdksandbox.impl",
36    ],
37    test_suites: [
38        "cts",
39        "general-tests",
40        "mts-adservices",
41        "mcts-adservices",
42    ],
43    data: [
44        // Sample App will be installed and uninstalled in the test.
45        ":CtsSampleTopicsApp1",
46    ],
47    sdk_version: "module_current",
48    min_sdk_version: "Tiramisu",
49    lint: {
50        extra_check_modules: ["AdServicesTestLintChecker"],
51    },
52}
53
54android_test {
55    name: "CtsAdExtServicesTopicsAppUpdateTests",
56    srcs: [
57        "src/**/*.java",
58    ],
59    static_libs: [
60        "androidx.concurrent_concurrent-futures",
61        "compatibility-device-util-axt",
62        "truth",
63        "adservices-clients",
64        "adservices-test-utility",
65    ],
66    libs: [
67        "android.ext.adservices",
68        "android.test.base.stubs.system",
69        "framework-adservices.stubs.module_lib",
70        "framework-sdksandbox.impl",
71    ],
72    test_suites: [
73        "cts",
74        "general-tests",
75        "mts-extservices",
76        "mcts-extservices",
77    ],
78    data: [
79        // Sample App will be installed and uninstalled in the test.
80        ":CtsSampleTopicsApp1",
81    ],
82    sdk_version: "module_current",
83    min_sdk_version: "31",
84    max_sdk_version: "32",
85    test_config: "AndroidTest.ExtServices.xml",
86    manifest: "AndroidManifestExtServices.xml",
87    lint: {
88        extra_check_modules: ["AdServicesTestLintChecker"],
89    },
90}
91