Index: sync/internal_api/attachments/proto/BUILD.gn |
diff --git a/sync/internal_api/attachments/proto/BUILD.gn b/sync/internal_api/attachments/proto/BUILD.gn |
index 3408c38d2557cbc4761f1f2c88a0e0b7dc8f5677..ac1a4b26a8fd5d2c3fece95971a76147a2bb1461 100644 |
--- a/sync/internal_api/attachments/proto/BUILD.gn |
+++ b/sync/internal_api/attachments/proto/BUILD.gn |
@@ -5,6 +5,9 @@ |
import("//third_party/protobuf/proto_library.gni") |
proto_library("proto") { |
+ # This should only get compiled into the sync component. |
+ visibility = [ "//sync:sync_core" ] |
+ |
sources = [ |
"attachment_store.proto", |
] |