blob: 185de12e2e8e951c49ace1159d9f337eba9ed7c3 [file] [log] [blame]
Joel Galenson3f92d192021-04-26 15:39:57 -07001// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
Joel Galensonec910722020-06-30 12:46:08 -07003
Bob Badourc56a18a2021-02-12 14:17:39 -08004package {
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
29license {
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 Galenson96238852020-07-06 11:47:21 -070042rust_library {
Joel Galensonec910722020-06-30 12:46:08 -070043 name: "libandroid_log_sys",
Chih-Hung Hsieh27ce6de2020-10-30 16:33:14 -070044 host_supported: true,
Joel Galensonec910722020-06-30 12:46:08 -070045 crate_name: "android_log_sys",
Joel Galenson4d36dd32021-11-19 15:07:17 -080046 cargo_env_compat: true,
47 cargo_pkg_version: "0.2.0",
Joel Galensonec910722020-06-30 12:46:08 -070048 srcs: ["src/lib.rs"],
49 edition: "2015",
Jiyong Parkaec2dc52020-12-07 15:34:01 +090050 apex_available: [
51 "//apex_available:platform",
Roopa Sattiraju69195792021-12-21 14:36:35 -080052 "com.android.bluetooth",
Victor Hsiehcfd46272021-05-11 12:36:10 -070053 "com.android.compos",
Luke Huang0418b9d2021-05-12 15:19:59 +080054 "com.android.resolv",
Joel Galenson4d36dd32021-11-19 15:07:17 -080055 "com.android.uwb",
Jiyong Parkaec2dc52020-12-07 15:34:01 +090056 "com.android.virt",
57 ],
Joel Galenson4d36dd32021-11-19 15:07:17 -080058 vendor_available: true,
Luke Huang0418b9d2021-05-12 15:19:59 +080059 min_sdk_version: "29",
Joel Galenson458d1162021-06-10 09:54:19 -070060 target: {
61 linux_glibc: {
62 // liblog is not added as a dependency for linux_glibc target
63 enabled: false,
64 },
Colin Crossf385b9a2022-03-08 15:12:48 -080065 linux_musl: {
66 // liblog is not added as a dependency for linux_musl target
67 enabled: false,
68 },
Joel Galenson458d1162021-06-10 09:54:19 -070069 },
Joel Galensonec910722020-06-30 12:46:08 -070070}