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_helper_app {
21    name: "SdkSandboxMediationTestProvider",
22    defaults: ["platform_app_defaults"],
23    certificate: ":sdksandbox-test",
24    srcs: [
25        "src/**/*.java",
26    ],
27    static_libs: [
28        "CtsMediationTestSdkApi",
29        "CtsSdkProviderApi",
30        "compatibility-device-util-axt",
31        "SdkSandboxTestUtils",
32    ],
33    min_sdk_version: "33",
34    target_sdk_version: "33",
35}
36
37java_library {
38    name: "CtsMediationTestSdkApi",
39    srcs: [
40        "src/**/mediationtest/*.aidl",
41        ":framework-sdksandbox-aidl-sources",
42    ],
43    libs: [
44        "framework-sdksandbox.impl",
45    ],
46    min_sdk_version: "33", // This is passed to the AIDL compiler so that generated Java code doesn't use newer (>33) APIs
47}
48