1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_log_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_log_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "liblog_rust",
18    host_supported: true,
19    crate_name: "log",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.4.22",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: ["std"],
25    apex_available: [
26        "//apex_available:platform",
27        "//apex_available:anyapex",
28    ],
29    product_available: true,
30    vendor_available: true,
31    min_sdk_version: "29",
32    target: {
33        android: {
34            cfgs: ["default_log_impl"],
35            rustlibs: [
36                "libandroid_log_sys",
37                "libonce_cell",
38            ],
39            shared_libs: [
40                "liblog",
41            ],
42        },
43    },
44}
45
46rust_library {
47    name: "liblog_rust_max_level_info",
48    host_supported: true,
49    crate_name: "log",
50    cargo_env_compat: true,
51    cargo_pkg_version: "0.4.22",
52    crate_root: "src/lib.rs",
53    edition: "2021",
54    features: [
55        "max_level_info",
56        "release_max_level_info",
57        "std",
58    ],
59    apex_available: [
60        "//apex_available:platform",
61        "//apex_available:anyapex",
62    ],
63    product_available: true,
64    vendor_available: true,
65    min_sdk_version: "29",
66    target: {
67        android: {
68            cfgs: ["default_log_impl"],
69            rustlibs: [
70                "libandroid_log_sys",
71                "libonce_cell",
72            ],
73            shared_libs: [
74                "liblog",
75            ],
76        },
77    },
78}
79
80rust_library {
81    name: "liblog_rust_max_level_off",
82    host_supported: true,
83    crate_name: "log",
84    cargo_env_compat: true,
85    cargo_pkg_version: "0.4.22",
86    crate_root: "src/lib.rs",
87    edition: "2021",
88    features: [
89        "max_level_off",
90        "release_max_level_off",
91        "std",
92    ],
93    apex_available: [
94        "//apex_available:platform",
95        "//apex_available:anyapex",
96    ],
97    product_available: true,
98    vendor_available: true,
99    min_sdk_version: "29",
100    target: {
101        android: {
102            cfgs: ["default_log_impl"],
103            rustlibs: [
104                "libandroid_log_sys",
105                "libonce_cell",
106            ],
107            shared_libs: [
108                "liblog",
109            ],
110        },
111    },
112}
113
114rust_library_rlib {
115    name: "liblog_rust_nostd",
116    crate_name: "log",
117    cargo_env_compat: true,
118    cargo_pkg_version: "0.4.22",
119    crate_root: "src/lib.rs",
120    edition: "2021",
121    apex_available: [
122        "//apex_available:platform",
123        "//apex_available:anyapex",
124    ],
125    prefer_rlib: true,
126    no_stdlibs: true,
127    stdlibs: [
128        "libcompiler_builtins.rust_sysroot",
129        "libcore.rust_sysroot",
130    ],
131    product_available: true,
132    vendor_available: true,
133    min_sdk_version: "29",
134}
135
136dirgroup {
137    name: "trusty_dirgroup_external_rust_crates_log",
138    visibility: ["//trusty/vendor/google/aosp/scripts"],
139    dirs: ["."],
140}
141