• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15java_defaults {
16    name: "android.jar_defaults",
17    sdk_version: "none",
18    system_modules: "none",
19    java_version: "1.8",
20    compile_dex: true,
21    defaults_visibility: ["//frameworks/base"],
22    visibility: ["//visibility:public"],
23}
24
25java_library_static {
26    name: "android_30xcurrent",
27    static_libs: [
28        "sdk_public_30_android-non-updatable", // Prebuilt non-updatable 30 stub.
29        "private-stub-annotations-jar",
30
31        // Public stubs for BCP modules in Android R built from source
32        "conscrypt.module.public.api.stubs",
33        "framework-media.stubs",
34        "framework-mediaprovider.stubs",
35        "framework-permission.stubs",
36        "framework-sdkextensions.stubs",
37        "framework-statsd.stubs",
38        "framework-tethering.stubs",
39        "framework-wifi.stubs",
40    ],
41    defaults: ["android.jar_defaults"],
42}
43
44java_library_static {
45    name: "android_system_30xcurrent",
46    static_libs: [
47        "sdk_system_30_android-non-updatable", // Prebuilt non-updatable 30 stub.
48        "private-stub-annotations-jar",
49
50        // System stubs for BCP modules in Android R built from source
51        "conscrypt.module.public.api.stubs", // Only has public stubs
52        "framework-media.stubs.system",
53        "framework-mediaprovider.stubs.system",
54        "framework-permission.stubs.system",
55        "framework-sdkextensions.stubs.system",
56        "framework-statsd.stubs.system",
57        "framework-tethering.stubs.system",
58        "framework-wifi.stubs.system",
59    ],
60    defaults: ["android.jar_defaults"],
61}
62