1// Copyright (C) 2024 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: "SdkSandboxRestrictionsTests",
22    srcs: [
23        "src/**/*restrictions/*.java",
24    ],
25    static_libs: [
26        "androidx.test.ext.junit",
27        "androidx.test.runner",
28        "compatibility-device-util-axt-minus-dexmaker",
29        "modules-utils-build",
30        "SdkSandboxTestUtils",
31        "RestrictionsSdkApi",
32    ],
33    libs: [
34        "android.test.base.stubs.system",
35        "android.test.mock.stubs.system",
36        "android.test.runner.stubs.system",
37        "framework-configinfrastructure.stubs.module_lib",
38    ],
39    manifest: "SdkSandboxRestrictionsManifest.xml",
40    test_config: "SdkSandboxRestrictionsTest.xml",
41    data: [
42        ":RestrictionsProvider",
43    ],
44    min_sdk_version: "Tiramisu",
45    target_sdk_version: "Tiramisu",
46    test_suites: [
47        "mts-adservices",
48        "general-tests",
49    ],
50    jarjar_rules: ":test-service-jarjar-rules",
51}
52