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_team: "trendy_team_java_core_libraries", 17 default_visibility: ["//visibility:private"], 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "external_icu_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 // SPDX-license-identifier-EPL 24 default_applicable_licenses: ["external_icu_license"], 25} 26 27// Host prebuilt dependencies. 28// ============================================================ 29 30java_import_host { 31 name: "currysrc_org.eclipse", 32 jars: [ 33 "libs/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar", 34 "libs/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar", 35 "libs/org.eclipse.core.resources_3.13.0.v20180512-1138.jar", 36 "libs/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar", 37 "libs/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar", 38 "libs/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar", 39 "libs/org.eclipse.jdt.core_3.14.0.v20180528-0519.jar", 40 "libs/org.eclipse.osgi_3.13.0.v20180409-1500.jar", 41 "libs/org.eclipse.text_3.6.300.v20180430-1330.jar", 42 ], 43 // Remove signature files found in META-INF/ that cause the combined jar to be rejected. 44 // http://b/111389216 45 exclude_files: [ 46 "META-INF/ECLIPSE_.SF", 47 "META-INF/ECLIPSE_.RSA", 48 ], 49} 50 51// build currysrc jar 52// ============================================================ 53 54java_library_host { 55 name: "currysrc", 56 visibility: [ 57 "//external/icu/tools/srcgen", 58 ], 59 static_libs: [ 60 "currysrc_org.eclipse", 61 "gson", 62 "guava", 63 "jopt-simple-4.9", 64 ], 65 srcs: ["src/**/*.java"], 66} 67