diff --git a/BUILD b/BUILD
index e080f7b3..e5662c4d 100644
--- a/BUILD
+++ b/BUILD
@@ -549,6 +549,10 @@ cc_test(
         ":test_plugin",
     ] + glob([
         "src/google/protobuf/**/*",
+        # Files for csharp_bootstrap_unittest.cc.
+        "conformance/**/*",
+        "csharp/src/**/*",
+        "examples/**/*",
     ]),
     includes = [
         "src/",