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 15 // Host prebuilt dependencies. 16 // ============================================================ 17 18 java_import_host { 19 name: "currysrc_org.eclipse", 20 jars: [ 21 "libs/org.eclipse.core.contenttype_3.7.0.v20180426-1644.jar", 22 "libs/org.eclipse.core.jobs_3.10.0.v20180427-1454.jar", 23 "libs/org.eclipse.core.resources_3.13.0.v20180512-1138.jar", 24 "libs/org.eclipse.core.runtime_3.14.0.v20180417-0825.jar", 25 "libs/org.eclipse.equinox.common_3.10.0.v20180412-1130.jar", 26 "libs/org.eclipse.equinox.preferences_3.7.100.v20180510-1129.jar", 27 "libs/org.eclipse.jdt.core_3.14.0.v20180528-0519.jar", 28 "libs/org.eclipse.osgi_3.13.0.v20180409-1500.jar", 29 "libs/org.eclipse.text_3.6.300.v20180430-1330.jar", 30 ], 31 // Remove signature files found in META-INF/ that cause the combined jar to be rejected. 32 // http://b/111389216 33 exclude_files: [ 34 "META-INF/ECLIPSE_.SF", 35 "META-INF/ECLIPSE_.RSA", 36 ], 37 } 38 39 // build currysrc jar 40 // ============================================================ 41 42 java_library_host { 43 name: "currysrc", 44 static_libs: [ 45 "currysrc_org.eclipse", 46 "guavalib", 47 "gson-prebuilt-jar", 48 "jopt-simple-4.9", 49 ], 50 srcs: ["src/**/*.java"], 51 } 52