xref: /aosp_15_r20/prebuilts/tools/common/google-api-java-client/1.33.2/Android.bp (revision 6774467a9462441f7cd7fbc651979727f762377a)
1//
2// Copyright (C) 2022 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_applicable_licenses: [
19        "prebuilts_tools_common_google-api-java-client_1.33.2_license",
20    ],
21}
22
23// See: http://go/android-license-faq
24license {
25    name: "prebuilts_tools_common_google-api-java-client_1.33.2_license",
26    visibility: [":__subpackages__"],
27    license_kinds: [
28        "SPDX-license-identifier-Apache-1.1",
29        "SPDX-license-identifier-Apache-2.0",
30        "SPDX-license-identifier-BSD",
31        "SPDX-license-identifier-CDDL",
32        "SPDX-license-identifier-CDDL-1.0",
33        "SPDX-license-identifier-CPL-1.0",
34        "legacy_unencumbered",
35    ],
36    license_text: [
37        "LICENSE.txt",
38    ],
39}
40
41java_import_host {
42    name: "google-api-java-client-assembly",
43    jars: [
44        "libs/commons-logging-1.2.jar",
45        "libs/google-api-client-1.33.2.jar",
46        "libs/google-api-client-java6-1.33.2.jar",
47        "libs/google-http-client-1.41.2.jar",
48        "libs/opencensus-contrib-http-util-0.30.0.jar",
49        "libs/google-oauth-client-1.33.0.jar",
50        "libs/google-oauth-client-java6-1.33.0.jar",
51        "libs/google-http-client-gson-1.41.2.jar",
52        "libs/httpclient-4.5.13.jar",
53        "libs/httpcore-4.4.15.jar",
54        "libs/jsr305-3.0.2.jar",
55    ],
56    target: {
57        windows: {
58            enabled: true,
59        },
60    },
61}
62
63java_import {
64    name: "google-api-java-client-lite",
65    jars: [
66        "libs/commons-logging-1.2.jar",
67        "libs/google-api-client-1.33.2.jar",
68        "libs/google-http-client-1.41.2.jar",
69        "libs/opencensus-contrib-http-util-0.30.0.jar",
70        "libs/google-oauth-client-1.33.0.jar",
71        "libs/google-http-client-gson-1.41.2.jar",
72        "libs/httpclient-4.5.13.jar",
73        "libs/jsr305-3.0.2.jar",
74    ],
75}
76