• 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_team: "trendy_team_rubidium_sdk_runtime",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_library {
21    name: "SdkSandboxTestUtils",
22    srcs: [
23        "src/**/testutils/*.java",
24        "src/com/android/server/sdksandbox/*.java",
25    ],
26    libs: [
27        "framework-sdksandbox.impl",
28    ],
29    static_libs: [
30        "service-sdksandbox.impl",
31        "adservices-test-utility",
32        "truth",
33        "androidx.test.ext.junit",
34        "SdkSandbox-java-lib",
35        "platform-screenshot-diff-core",
36        "modules-utils-build",
37    ],
38    visibility: [
39        // TODO(b/222118402): adjust once code is moved
40        "//packages/modules/AdServices:__subpackages__",
41    ],
42}
43
44java_library_host {
45    name: "SdkSandboxHostTestUtils",
46    srcs: [
47        "src/**/hosttestutils/*.java",
48    ],
49    static_libs: [
50        "compatibility-host-util",
51        "modules-utils-build-testing",
52    ],
53    libs: ["tradefed"],
54}
55