[3p][rust][bazel] Remove unnecessary license metadata build/bazel/update-rustc-third-party/BUILD.bazel was caught in an LSC that adds default licenses to all BUILD.bazel files, but it actually doesn't need one, so removing it. Including it actually fails the build because we don't provide a license target in the workspace crate-vendor is run. I reran `fx update-rustc-third-party` to confirm this fix, which also removed default license from two generated BUILD.bazel files. Change-Id: Ib56ec7fc7f893ef3fc6ffd911951dc586a6a6964 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1705614 Commit-Queue: Jay Zhuang <jayzhuang@google.com> Fuchsia-Auto-Submit: Jay Zhuang <jayzhuang@google.com> Reviewed-by: Thomas Zander <thomasalpinus@google.com>
diff --git a/build/bazel/update-rustc-third-party/BUILD.bazel b/build/bazel/update-rustc-third-party/BUILD.bazel index f9532fa..68fb595 100644 --- a/build/bazel/update-rustc-third-party/BUILD.bazel +++ b/build/bazel/update-rustc-third-party/BUILD.bazel
@@ -7,8 +7,6 @@ load("@rules_rust//rust:toolchain.bzl", "rust_stdlib_filegroup", "rust_toolchain") load("//:crate_annotations.bzl", "CRATE_ANNOTATIONS") -package(default_applicable_licenses = ["//:license"]) - crates_vendor( name = "crates_vendor", annotations = CRATE_ANNOTATIONS,
diff --git a/src/connectivity/bluetooth/sunstone/sapphire-peer-cache/BUILD.bazel b/src/connectivity/bluetooth/sunstone/sapphire-peer-cache/BUILD.bazel index 6754b4f..1dbec03 100644 --- a/src/connectivity/bluetooth/sunstone/sapphire-peer-cache/BUILD.bazel +++ b/src/connectivity/bluetooth/sunstone/sapphire-peer-cache/BUILD.bazel
@@ -10,7 +10,6 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package( - default_applicable_licenses = ["//:license"], default_package_metadata = [":package_info"], default_visibility = ["//visibility:public"], )
diff --git a/src/connectivity/bluetooth/sunstone/sapphire-uuid/BUILD.bazel b/src/connectivity/bluetooth/sunstone/sapphire-uuid/BUILD.bazel index 3d21a4a..22c251a1 100644 --- a/src/connectivity/bluetooth/sunstone/sapphire-uuid/BUILD.bazel +++ b/src/connectivity/bluetooth/sunstone/sapphire-uuid/BUILD.bazel
@@ -10,7 +10,6 @@ load("@rules_rust//rust:defs.bzl", "rust_library") package( - default_applicable_licenses = ["//:license"], default_package_metadata = [":package_info"], default_visibility = ["//visibility:public"], )