blob: 5a37d3779818005e8e6cb5ec6cfd9e942a183dec [file] [log] [blame]
Julien Desprez76deef72018-10-19 15:08:00 -07001// Copyright (C) 2018 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//
15//
16
Bob Badour2690e042021-02-12 19:43:37 -080017package {
18 default_applicable_licenses: ["external_grpc-grpc-java_license"],
19}
20
21// Added automatically by a large-scale-change
22//
23// large-scale-change included anything that looked like it might be a license
24// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
25//
26// Please consider removing redundant or irrelevant files from 'license_text:'.
27// See: http://go/android-license-faq
28license {
29 name: "external_grpc-grpc-java_license",
30 visibility: [":__subpackages__"],
31 license_kinds: [
32 "SPDX-license-identifier-Apache-2.0",
33 ],
34 license_text: [
35 "LICENSE",
36 "NOTICE.txt",
37 ],
38}
39
Julien Desprez76deef72018-10-19 15:08:00 -070040java_library_host {
41 name: "grpc-java",
42 static_libs: [
Hadrien Zalek2bf353c2020-06-19 17:00:51 -070043 "grpc-java-auth",
Hadrien Zalek2d04a322020-05-26 21:51:30 -070044 "grpc-java-context",
Julien Desprez76deef72018-10-19 15:08:00 -070045 "grpc-java-core",
Hadrien Zalek2d04a322020-05-26 21:51:30 -070046 "grpc-java-core-inprocess",
47 "grpc-java-core-internal",
48 "grpc-java-core-util",
Hadrien Zalek2d04a322020-05-26 21:51:30 -070049 "grpc-java-protobuf",
50 "grpc-java-protobuf-lite",
51 "grpc-java-stub",
Julien Desprez76deef72018-10-19 15:08:00 -070052 ]
53}
Karl Shaffer8e51fde2020-11-18 15:04:30 -050054
55java_library {
Charlie Boutiera4d0b7c2022-02-01 14:19:06 +000056 name: "grpc-java-lite",
57 static_libs: [
58 "grpc-java-context",
59 "grpc-java-core",
60 "grpc-java-core-inprocess",
61 "grpc-java-core-internal",
62 "grpc-java-core-util",
63 "grpc-java-protobuf-lite",
64 "grpc-java-stub",
65 ],
Charlie Boutiera7cdc612022-04-21 09:07:06 +000066 visibility: ["//packages/modules/Bluetooth/android/pandora/server"],
Charlie Boutiera4d0b7c2022-02-01 14:19:06 +000067}
68
69java_library {
Karl Shaffer8e51fde2020-11-18 15:04:30 -050070 name: "grpc-java-okhttp-client-lite",
71 host_supported: true,
72 static_libs: [
73 "grpc-java-stub",
74 "grpc-java-context",
75 "grpc-java-core",
76 "grpc-java-core-internal",
77 "grpc-java-protobuf-lite",
78 "grpc-java-okhttp",
79 ],
80 sdk_version: "current",
Bob Badour2690e042021-02-12 19:43:37 -080081}