• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 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
15package {
16    default_visibility: ["//visibility:private"],
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_icu_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    //   SPDX-license-identifier-EPL
23    default_applicable_licenses: ["external_icu_license"],
24}
25
26// Host prebuilt dependencies.
27// ============================================================
28
29java_import_host {
30    name: "currysrc_org.eclipse",
31    jars: [
32        "libs/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar",
33        "libs/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar",
34        "libs/org.eclipse.core.resources_3.13.0.v20180512-1138.jar",
35        "libs/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar",
36        "libs/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar",
37        "libs/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar",
38        "libs/org.eclipse.jdt.core_3.14.0.v20180528-0519.jar",
39        "libs/org.eclipse.osgi_3.13.0.v20180409-1500.jar",
40        "libs/org.eclipse.text_3.6.300.v20180430-1330.jar",
41    ],
42    // Remove signature files found in META-INF/ that cause the combined jar to be rejected.
43    // http://b/111389216
44    exclude_files: [
45        "META-INF/ECLIPSE_.SF",
46        "META-INF/ECLIPSE_.RSA",
47    ],
48}
49
50// build currysrc jar
51// ============================================================
52
53java_library_host {
54    name: "currysrc",
55    visibility: [
56        "//external/icu/tools/srcgen",
57    ],
58    static_libs: [
59        "currysrc_org.eclipse",
60        "guavalib",
61        "gson-prebuilt-jar",
62        "jopt-simple-4.9",
63    ],
64    srcs: ["src/**/*.java"],
65}
66