Colin Cross | 2acaac5 | 2017-10-02 16:57:00 -0700 | [diff] [blame] | 1 | // Copyright (C) 2014 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 | |
Bob Badour | ae66633 | 2021-02-12 19:49:50 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["external_jarjar_license"], |
| 17 | } |
| 18 | |
| 19 | // Added automatically by a large-scale-change |
| 20 | // |
| 21 | // large-scale-change included anything that looked like it might be a license |
| 22 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 23 | // |
| 24 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 25 | // See: http://go/android-license-faq |
| 26 | license { |
| 27 | name: "external_jarjar_license", |
| 28 | visibility: [":__subpackages__"], |
| 29 | license_kinds: [ |
| 30 | "SPDX-license-identifier-Apache-2.0", |
| 31 | ], |
| 32 | license_text: [ |
| 33 | "COPYING", |
| 34 | "LICENSE.txt", |
| 35 | "NOTICE", |
| 36 | ], |
| 37 | } |
| 38 | |
Colin Cross | 2acaac5 | 2017-10-02 16:57:00 -0700 | [diff] [blame] | 39 | java_library_host { |
| 40 | name: "jarjar", |
| 41 | manifest: "manifest.txt", |
| 42 | |
Artur Satayev | 0ecdee5 | 2020-04-09 19:53:35 +0100 | [diff] [blame] | 43 | srcs: [ |
| 44 | "src/android/**/*.java", |
| 45 | "src/main/**/*.java", |
| 46 | ], |
Colin Cross | 2acaac5 | 2017-10-02 16:57:00 -0700 | [diff] [blame] | 47 | java_resource_dirs: ["res"], |
| 48 | |
| 49 | static_libs: [ |
Tobias Thierer | 2db8c52 | 2017-10-25 02:35:59 +0100 | [diff] [blame] | 50 | "asm-6.0", |
| 51 | "asm-commons-6.0", |
Colin Cross | 2acaac5 | 2017-10-02 16:57:00 -0700 | [diff] [blame] | 52 | ], |
| 53 | |
| 54 | libs: [ |
| 55 | "jarjar-maven-plugin-api", |
| 56 | "jarjar-apache-ant", |
| 57 | ], |
| 58 | } |
| 59 | |
| 60 | //################################################# |
| 61 | |
| 62 | java_import_host { |
| 63 | name: "jarjar-maven-plugin-api", |
| 64 | jars: ["lib/maven-plugin-api.jar"], |
| 65 | } |
| 66 | |
| 67 | java_import_host { |
| 68 | name: "jarjar-apache-ant", |
| 69 | jars: ["lib/apache-ant-1.9.4.jar"], |
| 70 | } |