Add licenses() declarations to BUILD files (#843)

These were in some, but not all, of the existing BUILD files. They make
it easier to vendor cartographer, as Bazel complains if a BUILD file in
//third_party is missing a licenses() declaration.
master
Rodrigo Queiro 2018-01-24 13:16:25 +01:00 committed by Wally B. Feed
parent 1ff4c00d70
commit 52527ec6d4
3 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,8 @@
# and mapping (SLAM) in 2D and 3D across multiple platforms and sensor # and mapping (SLAM) in 2D and 3D across multiple platforms and sensor
# configurations. # configurations.
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
exports_files(["LICENSE"]) exports_files(["LICENSE"])

View File

@ -14,6 +14,8 @@
# Bazel build support for third-party packages. # Bazel build support for third-party packages.
licenses(["notice"]) # Apache 2.0
exports_files( exports_files(
glob(["*.BUILD"]), glob(["*.BUILD"]),
visibility = ["//visibility:public"], visibility = ["//visibility:public"],

View File

@ -16,6 +16,8 @@
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library") load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
proto_library( proto_library(