2 Star 0 Fork 0

mirrors_android_source/proc-macro-error

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Android.bp 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
Andrew Walbran 提交于 2023-11-15 02:36 +08:00 . Migrate to cargo_embargo.
// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
package {
default_applicable_licenses: [
"external_rust_crates_proc-macro-error_license",
],
}
// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
name: "external_rust_crates_proc-macro-error_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE-APACHE",
"LICENSE-MIT",
],
}
rust_library_host {
name: "libproc_macro_error",
crate_name: "proc_macro_error",
cargo_env_compat: true,
cargo_pkg_version: "1.0.4",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
"default",
"syn",
"syn-error",
],
cfgs: ["skip_ui_tests"],
rustlibs: [
"libproc_macro2",
"libquote",
"libsyn",
],
proc_macros: ["libproc_macro_error_attr"],
compile_multilib: "first",
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_android_source/proc-macro-error.git
git@gitee.com:mirrors_android_source/proc-macro-error.git
mirrors_android_source
proc-macro-error
proc-macro-error
main

搜索帮助