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