diff options
author | Yecheng Zhao <zyecheng@google.com> | 2023-10-10 18:22:30 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-10-10 18:22:30 +0000 |
commit | 8a45aa6d38276183a4081f9a243b386aef3c2981 (patch) | |
tree | 14570b8b5c6572095ee7c058d6c06ff9a0e8ee20 | |
parent | e224340e1093a38f55b7649e1248b198e6a41e68 (diff) | |
parent | e85f501056b63a6ec7f293f63656d38df6dc1087 (diff) | |
download | unicode-ident-8a45aa6d38276183a4081f9a243b386aef3c2981.tar.gz |
Add BUILD file for unicode-ident kleaf build am: be46efe39c am: e85f501056
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/unicode-ident/+/2779371
Change-Id: I58b2bd221b7a82300c1c4fbe6e2647728ff8cbda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | BUILD | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -0,0 +1,36 @@ +load("@rules_license//rules:license.bzl", "license") +load("@rules_license//rules:license_kind.bzl", "license_kind") +load("@rules_rust//rust:defs.bzl", "rust_library") + +package( + default_applicable_licenses = [":license"], + default_visibility = ["//visibility:public"], +) + +license( + name = "license", + license_kinds = [ + ":SPDX-license-identifier-Apache-2.0", + ":SPDX-license-identifier-MIT", + ], + license_text = "LICENSE-APACHE", + visibility = [":__subpackages__"], +) + +license_kind( + name = "SPDX-license-identifier-Apache-2.0", + conditions = ["notice"], + url = "https://spdx.org/licenses/Apache-2.0.html", +) + +license_kind( + name = "SPDX-license-identifier-MIT", + conditions = ["notice"], + url = "", +) + +rust_library( + name = "unicode-ident", + srcs = glob(["**/*.rs"]), + edition = "2018", +) |