Fix the build dependency of ProfileSyncService on sync.pb.h
ProfileSyncService requires the file sync/protocol/sync.pb.h to be generated.
However, including browser_sync_browser (which contains ProfileSyncService)
does not guarantee that.
This CL exposes sync/sync.gyp:sync (containing sync.pb.h) as a public
dependency in sync_driver, and sync_driver as a public dependency in
browser_sync_browser, so that any target with the dependency on
browser_sync_browser will also generate sync.pb.h.
BUG=595332
Review URL: https://codereview.chromium.org/1808223002
Cr-Commit-Position: refs/heads/master@{#381712}
4 files changed