You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.3 KiB
66 lines
2.3 KiB
// Copyright (C) 2015 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package {
|
|
default_visibility: ["//visibility:private"],
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "external_icu_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
// SPDX-license-identifier-EPL
|
|
default_applicable_licenses: ["external_icu_license"],
|
|
}
|
|
|
|
// Host prebuilt dependencies.
|
|
// ============================================================
|
|
|
|
java_import_host {
|
|
name: "currysrc_org.eclipse",
|
|
jars: [
|
|
"libs/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar",
|
|
"libs/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar",
|
|
"libs/org.eclipse.core.resources_3.13.0.v20180512-1138.jar",
|
|
"libs/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar",
|
|
"libs/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar",
|
|
"libs/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar",
|
|
"libs/org.eclipse.jdt.core_3.14.0.v20180528-0519.jar",
|
|
"libs/org.eclipse.osgi_3.13.0.v20180409-1500.jar",
|
|
"libs/org.eclipse.text_3.6.300.v20180430-1330.jar",
|
|
],
|
|
// Remove signature files found in META-INF/ that cause the combined jar to be rejected.
|
|
// http://b/111389216
|
|
exclude_files: [
|
|
"META-INF/ECLIPSE_.SF",
|
|
"META-INF/ECLIPSE_.RSA",
|
|
],
|
|
}
|
|
|
|
// build currysrc jar
|
|
// ============================================================
|
|
|
|
java_library_host {
|
|
name: "currysrc",
|
|
visibility: [
|
|
"//external/icu/tools/srcgen",
|
|
],
|
|
static_libs: [
|
|
"currysrc_org.eclipse",
|
|
"guavalib",
|
|
"gson-prebuilt-jar",
|
|
"jopt-simple-4.9",
|
|
],
|
|
srcs: ["src/**/*.java"],
|
|
}
|