diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-10-16 20:16:10 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-10-16 20:16:10 +0000 |
commit | b15a56e330ae398b533aa0c14c4b63d7e806a92c (patch) | |
tree | 9bf6f34e621b2040d7d567b69c01358eb314ef9e | |
parent | 17c8b8503b2e32a8e27c5ecf2854a0068c43f00f (diff) | |
parent | 360d11b97f31518640ef212ba9b21f14b6b77668 (diff) | |
download | byteorder-b15a56e330ae398b533aa0c14c4b63d7e806a92c.tar.gz |
Snap for 10957012 from 360d11b97f31518640ef212ba9b21f14b6b77668 to simpleperf-release
Change-Id: I905a5e10b62fc76066d930794319a1821ad09a80
-rw-r--r-- | BUILD | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,37 @@ +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 = "byteorder", + srcs = glob(["**/*.rs"]), + edition = "2021", + visibility = ["//visibility:public"], +) |