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_team: "trendy_team_rubidium_sdk_runtime",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsSdkSandboxInprocessTests",
22
23    target_sdk_version: "Tiramisu",
24    min_sdk_version: "Tiramisu",
25
26    srcs: [
27        "src/**/*.java",
28    ],
29
30    libs: [
31        "android.test.base.stubs.system",
32        "android.test.runner.stubs.system",
33        "framework-adservices.impl",
34    ],
35    static_libs: [
36        "androidx.core_core",
37        "androidx.test.rules",
38        "androidx.test.ext.truth",
39        "androidx.test.ext.junit",
40        "truth",
41        "modules-utils-build",
42        "SdkSandboxTestUtils",
43    ],
44    data: [
45        ":SocketApp",
46        ":SocketSdkProvider",
47    ],
48    test_suites: [
49        "cts",
50        "mts-adservices",
51        "general-tests",
52        "mcts-adservices",
53    ],
54    jarjar_rules: ":test-service-jarjar-rules",
55}
56
57android_test {
58    name: "SdkSandboxMultiUserInprocessTests",
59
60    target_sdk_version: "Tiramisu",
61    min_sdk_version: "Tiramisu",
62
63    test_config: "AndroidTest_MultiUser.xml",
64    srcs: [
65        "src/**/*.java",
66    ],
67
68    libs: [
69        "android.test.base.stubs.system",
70        "android.test.runner.stubs.system",
71        "framework-adservices.impl",
72    ],
73    static_libs: [
74        "androidx.core_core",
75        "androidx.test.rules",
76        "androidx.test.ext.truth",
77        "androidx.test.ext.junit",
78        "truth",
79        "modules-utils-build",
80        "SdkSandboxTestUtils",
81    ],
82    data: [
83        ":SocketApp",
84        ":SocketSdkProvider",
85    ],
86    test_suites: [
87        "general-tests",
88    ],
89    jarjar_rules: ":test-service-jarjar-rules",
90}
91