Index: sync/protocol/BUILD.gn |
diff --git a/sync/protocol/BUILD.gn b/sync/protocol/BUILD.gn |
index b8258f90185f7f6375398c706d9d1dd80da8e178..a8da5ac0e199ab55c50bdeb8f285748e3088280e 100644 |
--- a/sync/protocol/BUILD.gn |
+++ b/sync/protocol/BUILD.gn |
@@ -4,7 +4,17 @@ |
import("//third_party/protobuf/proto_library.gni") |
-proto_library("protocol") { |
+# This must be a component for the dependency structure we have now, but the |
+# proto_library generates a source set. Link those into a component. |
+component("protocol") { |
+ public_deps = [ |
+ ":protocol_internal", |
+ ] |
+} |
+ |
+proto_library("protocol_internal") { |
+ visibility = [ ":protocol" ] |
+ |
sources = [ |
"app_list_specifics.proto", |
"app_notification_specifics.proto", |