blob: 7212a3f57ee8d9ad6949f337f40420690808e515 [file] [log] [blame]
Hadrien Zalek332041b2020-06-19 09:16:35 -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
Bob Badour2690e042021-02-12 19:43:37 -080016package {
17 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "external_grpc-grpc-java_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["external_grpc-grpc-java_license"],
23}
24
Karl Shaffer8e51fde2020-11-18 15:04:30 -050025java_library {
Hadrien Zalek332041b2020-06-19 09:16:35 -070026 name: "grpc-java-okhttp",
Karl Shaffer8e51fde2020-11-18 15:04:30 -050027 host_supported: true,
Hadrien Zalek332041b2020-06-19 09:16:35 -070028 srcs: [
29 "third_party/okhttp/main/java/**/*.java",
30 "src/main/java/**/*.java",
31 ],
32 java_resource_dirs: [
33 "src/main/resources",
34 ],
35 libs: [
36 "grpc-java-core",
37 "grpc-java-core-internal",
38 "jsr305",
39 "guava",
40 ],
41 static_libs: [
Karl Shaffer30a843d2020-10-28 16:51:11 -040042 "okhttp-norepackage",
Hadrien Zalek332041b2020-06-19 09:16:35 -070043 ],
Karl Shaffer8e51fde2020-11-18 15:04:30 -050044 sdk_version: "current",
Hadrien Zalek332041b2020-06-19 09:16:35 -070045}