xref: /aosp_15_r20/external/icu/tools/srcgen/currysrc/Android.bp (revision 0e209d3975ff4a8c132096b14b0e9364a753506e)
1*0e209d39SAndroid Build Coastguard Worker// Copyright (C) 2015 The Android Open Source Project
2*0e209d39SAndroid Build Coastguard Worker//
3*0e209d39SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*0e209d39SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*0e209d39SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*0e209d39SAndroid Build Coastguard Worker//
7*0e209d39SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*0e209d39SAndroid Build Coastguard Worker//
9*0e209d39SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*0e209d39SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*0e209d39SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*0e209d39SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*0e209d39SAndroid Build Coastguard Worker// limitations under the License.
14*0e209d39SAndroid Build Coastguard Worker
15*0e209d39SAndroid Build Coastguard Workerpackage {
16*0e209d39SAndroid Build Coastguard Worker    default_team: "trendy_team_java_core_libraries",
17*0e209d39SAndroid Build Coastguard Worker    default_visibility: ["//visibility:private"],
18*0e209d39SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
19*0e209d39SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
20*0e209d39SAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_icu_license"
21*0e209d39SAndroid Build Coastguard Worker    // to get the below license kinds:
22*0e209d39SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
23*0e209d39SAndroid Build Coastguard Worker    //   SPDX-license-identifier-EPL
24*0e209d39SAndroid Build Coastguard Worker    default_applicable_licenses: ["external_icu_license"],
25*0e209d39SAndroid Build Coastguard Worker}
26*0e209d39SAndroid Build Coastguard Worker
27*0e209d39SAndroid Build Coastguard Worker// Host prebuilt dependencies.
28*0e209d39SAndroid Build Coastguard Worker// ============================================================
29*0e209d39SAndroid Build Coastguard Worker
30*0e209d39SAndroid Build Coastguard Workerjava_import_host {
31*0e209d39SAndroid Build Coastguard Worker    name: "currysrc_org.eclipse",
32*0e209d39SAndroid Build Coastguard Worker    jars: [
33*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar",
34*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar",
35*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.core.resources_3.13.0.v20180512-1138.jar",
36*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar",
37*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar",
38*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar",
39*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.jdt.core_3.14.0.v20180528-0519.jar",
40*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.osgi_3.13.0.v20180409-1500.jar",
41*0e209d39SAndroid Build Coastguard Worker        "libs/org.eclipse.text_3.6.300.v20180430-1330.jar",
42*0e209d39SAndroid Build Coastguard Worker    ],
43*0e209d39SAndroid Build Coastguard Worker    // Remove signature files found in META-INF/ that cause the combined jar to be rejected.
44*0e209d39SAndroid Build Coastguard Worker    // http://b/111389216
45*0e209d39SAndroid Build Coastguard Worker    exclude_files: [
46*0e209d39SAndroid Build Coastguard Worker        "META-INF/ECLIPSE_.SF",
47*0e209d39SAndroid Build Coastguard Worker        "META-INF/ECLIPSE_.RSA",
48*0e209d39SAndroid Build Coastguard Worker    ],
49*0e209d39SAndroid Build Coastguard Worker}
50*0e209d39SAndroid Build Coastguard Worker
51*0e209d39SAndroid Build Coastguard Worker// build currysrc jar
52*0e209d39SAndroid Build Coastguard Worker// ============================================================
53*0e209d39SAndroid Build Coastguard Worker
54*0e209d39SAndroid Build Coastguard Workerjava_library_host {
55*0e209d39SAndroid Build Coastguard Worker    name: "currysrc",
56*0e209d39SAndroid Build Coastguard Worker    visibility: [
57*0e209d39SAndroid Build Coastguard Worker        "//external/icu/tools/srcgen",
58*0e209d39SAndroid Build Coastguard Worker    ],
59*0e209d39SAndroid Build Coastguard Worker    static_libs: [
60*0e209d39SAndroid Build Coastguard Worker        "currysrc_org.eclipse",
61*0e209d39SAndroid Build Coastguard Worker        "gson",
62*0e209d39SAndroid Build Coastguard Worker        "guava",
63*0e209d39SAndroid Build Coastguard Worker        "jopt-simple-4.9",
64*0e209d39SAndroid Build Coastguard Worker    ],
65*0e209d39SAndroid Build Coastguard Worker    srcs: ["src/**/*.java"],
66*0e209d39SAndroid Build Coastguard Worker}
67