Bob Badour | 7bf73d9 | 2021-02-12 20:48:53 -0800 | [diff] [blame^] | 1 | package { |
| 2 | default_applicable_licenses: ["prebuilts_r8_license"], |
| 3 | } |
| 4 | |
| 5 | // Added automatically by a large-scale-change that took the approach of |
| 6 | // 'apply every license found to every target'. While this makes sure we respect |
| 7 | // every license restriction, it may not be entirely correct. |
| 8 | // |
| 9 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 10 | // |
| 11 | // Please consider splitting the single license below into multiple licenses, |
| 12 | // taking care not to lose any license_kind information, and overriding the |
| 13 | // default license using the 'licenses: [...]' property on targets as needed. |
| 14 | // |
| 15 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 16 | // to attach the license to, and including a comment whether the files may be |
| 17 | // used in the current project. |
| 18 | // |
| 19 | // large-scale-change included anything that looked like it might be a license |
| 20 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 21 | // |
| 22 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 23 | // See: http://go/android-license-faq |
| 24 | license { |
| 25 | name: "prebuilts_r8_license", |
| 26 | visibility: [":__subpackages__"], |
| 27 | license_kinds: [ |
| 28 | "SPDX-license-identifier-Apache-2.0", |
| 29 | "SPDX-license-identifier-BSD", |
| 30 | "SPDX-license-identifier-GPL", |
| 31 | "SPDX-license-identifier-MIT", |
| 32 | ], |
| 33 | license_text: [ |
| 34 | "LICENSE", |
| 35 | "NOTICE", |
| 36 | ], |
| 37 | } |
| 38 | |
Yohann Roussel | 4055b81 | 2017-10-23 11:46:43 +0200 | [diff] [blame] | 39 | java_binary_host { |
Alan Leung | a593928 | 2017-11-29 19:00:25 -0800 | [diff] [blame] | 40 | name: "d8", |
| 41 | wrapper: "d8", |
Søren Gjesse | 52a5690 | 2019-12-10 16:26:09 +0000 | [diff] [blame] | 42 | static_libs: [ "r8" ], |
Alan Leung | a593928 | 2017-11-29 19:00:25 -0800 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | java_binary_host { |
Yohann Roussel | 4055b81 | 2017-10-23 11:46:43 +0200 | [diff] [blame] | 46 | name: "r8-compat-proguard", |
| 47 | wrapper: "r8-compat-proguard", |
Søren Gjesse | 52a5690 | 2019-12-10 16:26:09 +0000 | [diff] [blame] | 48 | static_libs: [ "r8" ], |
Yohann Roussel | 4055b81 | 2017-10-23 11:46:43 +0200 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | java_import_host { |
Søren Gjesse | 52a5690 | 2019-12-10 16:26:09 +0000 | [diff] [blame] | 52 | name: "r8", |
| 53 | jars: ["r8.jar"], |
Yohann Roussel | 4055b81 | 2017-10-23 11:46:43 +0200 | [diff] [blame] | 54 | } |