diff --git a/pw_protobuf/BUILD.bazel b/pw_protobuf/BUILD.bazel index aec797889..6f30ac5df 100644 --- a/pw_protobuf/BUILD.bazel +++ b/pw_protobuf/BUILD.bazel @@ -394,14 +394,6 @@ filegroup( ], ) -# TODO(frolv): Figure out what to do about size reports in Bazel. -filegroup( - name = "size_reports", - srcs = glob([ - "size_report/*.cc", - ]), -) - filegroup( name = "doxygen", srcs = [ diff --git a/pw_toolchain/rust/rust_toolchain.BUILD b/pw_toolchain/rust/rust_toolchain.BUILD index f8f3bf0de..87e7b1c3e 100644 --- a/pw_toolchain/rust/rust_toolchain.BUILD +++ b/pw_toolchain/rust/rust_toolchain.BUILD @@ -22,7 +22,11 @@ filegroup( filegroup( name = "rustc_lib", - srcs = glob(["lib/*.so"]), + srcs = glob( + ["lib/*.so"], + # For non-linux operating systems, this comes up empty. + allow_empty = True, + ), visibility = ["//visibility:public"], ) diff --git a/third_party/stm32cube/cmsis_core.BUILD.bazel b/third_party/stm32cube/cmsis_core.BUILD.bazel index f6e971370..6ebb7aaac 100644 --- a/third_party/stm32cube/cmsis_core.BUILD.bazel +++ b/third_party/stm32cube/cmsis_core.BUILD.bazel @@ -22,6 +22,9 @@ cc_library( "Include/*.h", "Include/DSP/Include/*.h", ], + # Some include patterns come up blank, but exist for forward/backwards + # compatibility. + allow_empty = True, ), includes = [ "Include",