From e8fbe6a882f912cd181901826e7027ce51b0c09a Mon Sep 17 00:00:00 2001 From: Rob Mohr Date: Fri, 15 Nov 2019 11:51:28 -0800 Subject: [PATCH] Add license metadata to bazel files. Change-Id: Id32c7db700f3fba809d4e90473cbd3e8b8d7ca47 --- BUILD | 2 ++ pw_bloat/BUILD | 17 +++++++++++++++++ pw_build/BUILD | 2 ++ pw_docgen/BUILD | 2 ++ pw_preprocessor/BUILD | 2 ++ pw_span/BUILD | 2 ++ pw_status/BUILD | 2 ++ pw_string/BUILD | 2 ++ pw_toolchain/BUILD | 2 ++ pw_unit_test/BUILD | 2 ++ 10 files changed, 35 insertions(+) create mode 100644 pw_bloat/BUILD diff --git a/BUILD b/BUILD index 572f43709..6a871536f 100644 --- a/BUILD +++ b/BUILD @@ -12,6 +12,8 @@ # License for the specific language governing permissions and limitations under # the License. +licenses(["notice"]) # Apache License 2.0 + SUBDIRS = [ "pw_build", "pw_docgen", diff --git a/pw_bloat/BUILD b/pw_bloat/BUILD new file mode 100644 index 000000000..85a5ca092 --- /dev/null +++ b/pw_bloat/BUILD @@ -0,0 +1,17 @@ +# Copyright 2019 The Pigweed Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. + +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # Apache License 2.0 diff --git a/pw_build/BUILD b/pw_build/BUILD index b9cb5a72a..85a5ca092 100644 --- a/pw_build/BUILD +++ b/pw_build/BUILD @@ -13,3 +13,5 @@ # the License. package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # Apache License 2.0 diff --git a/pw_docgen/BUILD b/pw_docgen/BUILD index b9cb5a72a..85a5ca092 100644 --- a/pw_docgen/BUILD +++ b/pw_docgen/BUILD @@ -13,3 +13,5 @@ # the License. package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # Apache License 2.0 diff --git a/pw_preprocessor/BUILD b/pw_preprocessor/BUILD index 1d40d9bd7..abdf61eb6 100644 --- a/pw_preprocessor/BUILD +++ b/pw_preprocessor/BUILD @@ -14,6 +14,8 @@ package(default_visibility = ["//visibility:public"]) +licenses(["notice"]) # Apache License 2.0 + load( "//pw_build:pigweed.bzl", "pw_default_copts", diff --git a/pw_span/BUILD b/pw_span/BUILD index 690f03ced..666d1a143 100644 --- a/pw_span/BUILD +++ b/pw_span/BUILD @@ -14,6 +14,8 @@ package(default_visibility = ["//visibility:public"]) +licenses(["notice"]) # Apache License 2.0 + load( "//pw_build:pigweed.bzl", "pw_default_copts", diff --git a/pw_status/BUILD b/pw_status/BUILD index 6edcf4f44..717dede16 100644 --- a/pw_status/BUILD +++ b/pw_status/BUILD @@ -14,6 +14,8 @@ package(default_visibility = ["//visibility:public"]) +licenses(["notice"]) # Apache License 2.0 + load( "//pw_build:pigweed.bzl", "pw_default_copts", diff --git a/pw_string/BUILD b/pw_string/BUILD index c4e682819..55f226929 100644 --- a/pw_string/BUILD +++ b/pw_string/BUILD @@ -14,6 +14,8 @@ package(default_visibility = ["//visibility:public"]) +licenses(["notice"]) # Apache License 2.0 + load( "//pw_build:pigweed.bzl", "pw_default_copts", diff --git a/pw_toolchain/BUILD b/pw_toolchain/BUILD index b9cb5a72a..85a5ca092 100644 --- a/pw_toolchain/BUILD +++ b/pw_toolchain/BUILD @@ -13,3 +13,5 @@ # the License. package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # Apache License 2.0 diff --git a/pw_unit_test/BUILD b/pw_unit_test/BUILD index 3bef9807b..4f7573373 100644 --- a/pw_unit_test/BUILD +++ b/pw_unit_test/BUILD @@ -14,6 +14,8 @@ package(default_visibility = ["//visibility:public"]) +licenses(["notice"]) # Apache License 2.0 + load( "//pw_build:pigweed.bzl", "pw_default_copts",