xref: /aosp_15_r20/external/grpc-grpc-java/binder/Android.bp (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
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_applicable_licenses: ["external_grpc-grpc-java_license"],
17}
18
19android_library {
20    name: "grpc-java-binder",
21    srcs: [
22        "src/main/java/**/*.java",
23    ],
24    libs: [
25        "error_prone_annotations",
26        "guava",
27        "grpc-java-core",
28        "grpc-java-core-internal",
29        "androidx.annotation_annotation",
30        "androidx.core_core",
31        "grpc-java-context"
32    ],
33    // b/267831518: Pin tradefed and dependencies to Java 11.
34    java_version: "11",
35    sdk_version: "current",
36    manifest: "src/main/AndroidManifest.xml",
37}
38