aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-11 01:17:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-11 01:17:00 +0000
commitcc7d3e85af4c2fbc091ec23ce9aad97ec6fb6de8 (patch)
tree14570b8b5c6572095ee7c058d6c06ff9a0e8ee20
parent165f828d29acf92e61fc159fc97768a4d66bff36 (diff)
parentbd9b6a57f7d6d5da7616dee097eb32dbbb6ee620 (diff)
downloadunicode-ident-cc7d3e85af4c2fbc091ec23ce9aad97ec6fb6de8.tar.gz
Snap for 10929702 from bd9b6a57f7d6d5da7616dee097eb32dbbb6ee620 to 24Q1-release
Change-Id: I285ff9b0524b342d3e8f63367cb33530a344d99f
-rw-r--r--BUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..1a285be
--- /dev/null
+++ b/BUILD
@@ -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",
+)