diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-01 21:17:33 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-01 21:17:33 +0000 |
commit | 2be0686be1195adcf0fb2ee7a76502012c6fb0da (patch) | |
tree | c99f8e80bd05069fe0e9369538c89abd5cf17cdd | |
parent | d7d9f52833c682fc12b4f7ba271a2ee1c4f928a0 (diff) | |
parent | 229cf038ab1877c0c94662d4ceef875ca7415267 (diff) | |
download | bitflags-2be0686be1195adcf0fb2ee7a76502012c6fb0da.tar.gz |
Snap for 11037473 from 229cf038ab1877c0c94662d4ceef875ca7415267 to build-tools-release
Change-Id: I56d3195ee2d7970da19a8a8316e75681122cf229
-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 = "bitflags", + srcs = glob(["**/*.rs"]), + edition = "2021", +) |