xref: /aosp_15_r20/prebuilts/tools/common/google-api-java-client/1.31.3/Android.bp (revision 6774467a9462441f7cd7fbc651979727f762377a)
1*6774467aSAndroid Build Coastguard Worker//
2*6774467aSAndroid Build Coastguard Worker// Copyright (C) 2021 The Android Open Source Project
3*6774467aSAndroid Build Coastguard Worker//
4*6774467aSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
5*6774467aSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
6*6774467aSAndroid Build Coastguard Worker// You may obtain a copy of the License at
7*6774467aSAndroid Build Coastguard Worker//
8*6774467aSAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
9*6774467aSAndroid Build Coastguard Worker//
10*6774467aSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
11*6774467aSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
12*6774467aSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*6774467aSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
14*6774467aSAndroid Build Coastguard Worker// limitations under the License.
15*6774467aSAndroid Build Coastguard Worker//
16*6774467aSAndroid Build Coastguard Worker
17*6774467aSAndroid Build Coastguard Workerpackage {
18*6774467aSAndroid Build Coastguard Worker    default_applicable_licenses: [
19*6774467aSAndroid Build Coastguard Worker        "prebuilts_tools_common_google-api-java-client_1.31.3_license",
20*6774467aSAndroid Build Coastguard Worker    ],
21*6774467aSAndroid Build Coastguard Worker}
22*6774467aSAndroid Build Coastguard Worker
23*6774467aSAndroid Build Coastguard Worker// Added automatically by a large-scale-change that took the approach of
24*6774467aSAndroid Build Coastguard Worker// 'apply every license found to every target'. While this makes sure we respect
25*6774467aSAndroid Build Coastguard Worker// every license restriction, it may not be entirely correct.
26*6774467aSAndroid Build Coastguard Worker//
27*6774467aSAndroid Build Coastguard Worker// e.g. GPL in an MIT project might only apply to the contrib/ directory.
28*6774467aSAndroid Build Coastguard Worker//
29*6774467aSAndroid Build Coastguard Worker// Please consider splitting the single license below into multiple licenses,
30*6774467aSAndroid Build Coastguard Worker// taking care not to lose any license_kind information, and overriding the
31*6774467aSAndroid Build Coastguard Worker// default license using the 'licenses: [...]' property on targets as needed.
32*6774467aSAndroid Build Coastguard Worker//
33*6774467aSAndroid Build Coastguard Worker// For unused files, consider creating a 'fileGroup' with "//visibility:private"
34*6774467aSAndroid Build Coastguard Worker// to attach the license to, and including a comment whether the files may be
35*6774467aSAndroid Build Coastguard Worker// used in the current project.
36*6774467aSAndroid Build Coastguard Worker// See: http://go/android-license-faq
37*6774467aSAndroid Build Coastguard Workerlicense {
38*6774467aSAndroid Build Coastguard Worker    name: "prebuilts_tools_common_google-api-java-client_1.31.3_license",
39*6774467aSAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
40*6774467aSAndroid Build Coastguard Worker    license_kinds: [
41*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-1.1",
42*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-2.0",
43*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-BSD",
44*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-CDDL",
45*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-CDDL-1.0",
46*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-CPL-1.0",
47*6774467aSAndroid Build Coastguard Worker        "SPDX-license-identifier-GPL-2.0",
48*6774467aSAndroid Build Coastguard Worker        "legacy_unencumbered",
49*6774467aSAndroid Build Coastguard Worker    ],
50*6774467aSAndroid Build Coastguard Worker    license_text: [
51*6774467aSAndroid Build Coastguard Worker        "LICENSE.txt",
52*6774467aSAndroid Build Coastguard Worker    ],
53*6774467aSAndroid Build Coastguard Worker}
54*6774467aSAndroid Build Coastguard Worker
55*6774467aSAndroid Build Coastguard Workerjava_import_host {
56*6774467aSAndroid Build Coastguard Worker    name: "google-api-java-client-assembly-1.31.3",
57*6774467aSAndroid Build Coastguard Worker    jars: [
58*6774467aSAndroid Build Coastguard Worker    	"libs/commons-logging-1.2.jar",
59*6774467aSAndroid Build Coastguard Worker	"libs/google-api-client-1.31.3.jar",
60*6774467aSAndroid Build Coastguard Worker	"libs/google-api-client-java6-1.31.3.jar",
61*6774467aSAndroid Build Coastguard Worker	"libs/google-http-client-1.39.0.jar",
62*6774467aSAndroid Build Coastguard Worker	"libs/opencensus-contrib-http-util-0.28.0.jar",
63*6774467aSAndroid Build Coastguard Worker	"libs/google-oauth-client-1.31.4.jar",
64*6774467aSAndroid Build Coastguard Worker	"libs/google-oauth-client-java6-1.31.4.jar",
65*6774467aSAndroid Build Coastguard Worker	"libs/google-http-client-gson-1.39.0.jar",
66*6774467aSAndroid Build Coastguard Worker	"libs/httpclient-4.5.13.jar",
67*6774467aSAndroid Build Coastguard Worker	"libs/httpcore-4.4.14.jar",
68*6774467aSAndroid Build Coastguard Worker	"libs/jsr305-3.0.2.jar",
69*6774467aSAndroid Build Coastguard Worker    ],
70*6774467aSAndroid Build Coastguard Worker}
71