Joel Galenson | 3f92d19 | 2021-04-26 15:39:57 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --config cargo2android.json. |
| 2 | // Do not modify this file as changes will be overridden on upgrade. |
Joel Galenson | ec91072 | 2020-06-30 12:46:08 -0700 | [diff] [blame] | 3 | |
Bob Badour | c56a18a | 2021-02-12 14:17:39 -0800 | [diff] [blame] | 4 | package { |
| 5 | default_applicable_licenses: [ |
| 6 | "external_rust_crates_android_log-sys_license", |
| 7 | ], |
| 8 | } |
| 9 | |
| 10 | // Added automatically by a large-scale-change that took the approach of |
| 11 | // 'apply every license found to every target'. While this makes sure we respect |
| 12 | // every license restriction, it may not be entirely correct. |
| 13 | // |
| 14 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 15 | // |
| 16 | // Please consider splitting the single license below into multiple licenses, |
| 17 | // taking care not to lose any license_kind information, and overriding the |
| 18 | // default license using the 'licenses: [...]' property on targets as needed. |
| 19 | // |
| 20 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 21 | // to attach the license to, and including a comment whether the files may be |
| 22 | // used in the current project. |
| 23 | // |
| 24 | // large-scale-change included anything that looked like it might be a license |
| 25 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 26 | // |
| 27 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 28 | // See: http://go/android-license-faq |
| 29 | license { |
| 30 | name: "external_rust_crates_android_log-sys_license", |
| 31 | visibility: [":__subpackages__"], |
| 32 | license_kinds: [ |
| 33 | "SPDX-license-identifier-Apache-2.0", |
| 34 | "SPDX-license-identifier-MIT", |
| 35 | ], |
| 36 | license_text: [ |
| 37 | "LICENSE-APACHE", |
| 38 | "LICENSE-MIT", |
| 39 | ], |
| 40 | } |
| 41 | |
Joel Galenson | 9623885 | 2020-07-06 11:47:21 -0700 | [diff] [blame] | 42 | rust_library { |
Joel Galenson | ec91072 | 2020-06-30 12:46:08 -0700 | [diff] [blame] | 43 | name: "libandroid_log_sys", |
Chih-Hung Hsieh | 27ce6de | 2020-10-30 16:33:14 -0700 | [diff] [blame] | 44 | host_supported: true, |
Joel Galenson | ec91072 | 2020-06-30 12:46:08 -0700 | [diff] [blame] | 45 | crate_name: "android_log_sys", |
Joel Galenson | 4d36dd3 | 2021-11-19 15:07:17 -0800 | [diff] [blame] | 46 | cargo_env_compat: true, |
| 47 | cargo_pkg_version: "0.2.0", |
Joel Galenson | ec91072 | 2020-06-30 12:46:08 -0700 | [diff] [blame] | 48 | srcs: ["src/lib.rs"], |
| 49 | edition: "2015", |
Jiyong Park | aec2dc5 | 2020-12-07 15:34:01 +0900 | [diff] [blame] | 50 | apex_available: [ |
| 51 | "//apex_available:platform", |
Roopa Sattiraju | 6919579 | 2021-12-21 14:36:35 -0800 | [diff] [blame] | 52 | "com.android.bluetooth", |
Victor Hsieh | cfd4627 | 2021-05-11 12:36:10 -0700 | [diff] [blame] | 53 | "com.android.compos", |
Luke Huang | 0418b9d | 2021-05-12 15:19:59 +0800 | [diff] [blame] | 54 | "com.android.resolv", |
Joel Galenson | 4d36dd3 | 2021-11-19 15:07:17 -0800 | [diff] [blame] | 55 | "com.android.uwb", |
Jiyong Park | aec2dc5 | 2020-12-07 15:34:01 +0900 | [diff] [blame] | 56 | "com.android.virt", |
| 57 | ], |
Joel Galenson | 4d36dd3 | 2021-11-19 15:07:17 -0800 | [diff] [blame] | 58 | vendor_available: true, |
Luke Huang | 0418b9d | 2021-05-12 15:19:59 +0800 | [diff] [blame] | 59 | min_sdk_version: "29", |
Joel Galenson | 458d116 | 2021-06-10 09:54:19 -0700 | [diff] [blame] | 60 | target: { |
| 61 | linux_glibc: { |
| 62 | // liblog is not added as a dependency for linux_glibc target |
| 63 | enabled: false, |
| 64 | }, |
Colin Cross | f385b9a | 2022-03-08 15:12:48 -0800 | [diff] [blame] | 65 | linux_musl: { |
| 66 | // liblog is not added as a dependency for linux_musl target |
| 67 | enabled: false, |
| 68 | }, |
Joel Galenson | 458d116 | 2021-06-10 09:54:19 -0700 | [diff] [blame] | 69 | }, |
Joel Galenson | ec91072 | 2020-06-30 12:46:08 -0700 | [diff] [blame] | 70 | } |