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