1// Copyright (C) 2021 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_defaults {
21    name: "SdkSandboxCodeDefaults",
22    min_sdk_version: "33",
23    target_sdk_version: "33",
24    static_libs: [
25        "SdkInterfaces",
26        "SdkSandboxTestUtils",
27        "modules-utils-build",
28    ],
29    resource_dirs: ["res"],
30    certificate: ":sdksandbox-test",
31}
32
33android_test_helper_app {
34    name: "SdkSandboxCodeProvider",
35    defaults: [
36        "platform_app_defaults",
37        "SdkSandboxCodeDefaults",
38    ],
39    srcs: [
40        "src/**/sdksandboxcode_1/*.java",
41        "src/**/apiimplementation/*.java",
42    ],
43    static_libs: [
44        "androidx.media3.media3-common",
45        "androidx.media3.media3-exoplayer",
46        "androidx.media3.media3-ui",
47    ],
48    manifest: "AndroidManifest.xml",
49    test_suites: ["general-tests"],
50}
51
52android_test_helper_app {
53    name: "SdkSandboxWebViewProvider",
54    defaults: [
55        "platform_app_defaults",
56        "SdkSandboxCodeDefaults",
57    ],
58    srcs: [
59        "src/**/sdksandboxcode_webview/*.java",
60        "src/**/apiimplementation/*.java",
61    ],
62    manifest: "AndroidManifest_WebViewProvider.xml",
63    test_suites: ["general-tests"],
64}
65
66android_test_helper_app {
67    name: "SdkSandboxMediateeProvider",
68    defaults: [
69        "platform_app_defaults",
70        "SdkSandboxCodeDefaults",
71    ],
72    srcs: [
73        "src/**/sdksandboxcode_mediatee/*.java",
74        "src/**/apiimplementation/*.java",
75    ],
76    manifest: "AndroidManifest_MediateeProvider.xml",
77    test_suites: ["general-tests"],
78}
79