1// Copyright (C) 2023 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: "SdkSandboxInprocessTests",
22
23    target_sdk_version: "Tiramisu",
24    min_sdk_version: "Tiramisu",
25
26    srcs: [
27        "src/**/inprocess/*.java",
28    ],
29
30    libs: [
31        "android.test.base",
32        "android.test.runner",
33    ],
34    static_libs: [
35        "androidx.core_core",
36        "androidx.test.rules",
37        "androidx.test.ext.truth",
38        "androidx.test.ext.junit",
39        "SdkSandboxTestUtils",
40        "truth",
41    ],
42    test_suites: ["general-tests"],
43    test_options: {
44        extra_test_configs: ["AndroidTest_SdkInSandbox.xml"],
45    },
46}
47
48android_test {
49    name: "SdkSandboxNextTests",
50
51    manifest: "AndroidManifest_Next.xml",
52    test_config: "AndroidTest_Next.xml",
53
54    target_sdk_version: "34",
55    min_sdk_version: "34",
56
57    srcs: [
58        "src/**/next/*.java",
59    ],
60
61    libs: [
62        "android.test.base",
63        "android.test.runner",
64    ],
65    static_libs: [
66        "androidx.core_core",
67        "androidx.test.rules",
68        "androidx.test.ext.truth",
69        "androidx.test.ext.junit",
70        "truth",
71        "SdkSandboxTestUtils",
72    ],
73    test_suites: ["general-tests"],
74}
75
76android_test {
77    name: "SdkSandboxAuditTests",
78
79    manifest: "AndroidManifest_Audit.xml",
80    test_config: "AndroidTest_Audit.xml",
81
82    target_sdk_version: "34",
83    min_sdk_version: "34",
84
85    srcs: [
86        "src/**/audit/*.java",
87    ],
88
89    libs: [
90        "android.test.base",
91        "android.test.runner",
92    ],
93    static_libs: [
94        "androidx.core_core",
95        "androidx.test.rules",
96        "androidx.test.ext.truth",
97        "androidx.test.ext.junit",
98        "truth",
99        "SdkSandboxTestUtils",
100    ],
101    test_suites: ["general-tests"],
102}
103