From 52527ec6d4dab41ee96c151dd0bb9419fac18ee8 Mon Sep 17 00:00:00 2001 From: Rodrigo Queiro Date: Wed, 24 Jan 2018 13:16:25 +0100 Subject: [PATCH] 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. --- BUILD.bazel | 2 ++ bazel/third_party/BUILD.bazel | 2 ++ cartographer_grpc/BUILD.bazel | 2 ++ 3 files changed, 6 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 06f079a..00ec4ef 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -16,6 +16,8 @@ # and mapping (SLAM) in 2D and 3D across multiple platforms and sensor # configurations. +licenses(["notice"]) # Apache 2.0 + package(default_visibility = ["//visibility:public"]) exports_files(["LICENSE"]) diff --git a/bazel/third_party/BUILD.bazel b/bazel/third_party/BUILD.bazel index 7398680..d375340 100644 --- a/bazel/third_party/BUILD.bazel +++ b/bazel/third_party/BUILD.bazel @@ -14,6 +14,8 @@ # Bazel build support for third-party packages. +licenses(["notice"]) # Apache 2.0 + exports_files( glob(["*.BUILD"]), visibility = ["//visibility:public"], diff --git a/cartographer_grpc/BUILD.bazel b/cartographer_grpc/BUILD.bazel index 0e2fe11..edfb653 100644 --- a/cartographer_grpc/BUILD.bazel +++ b/cartographer_grpc/BUILD.bazel @@ -16,6 +16,8 @@ load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library") +licenses(["notice"]) # Apache 2.0 + package(default_visibility = ["//visibility:public"]) proto_library(