Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8663)

Unified Diff: chrome/chrome.gyp

Issue 7020031: [Sync] Move chrome/browser/sync/api files into their own targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chrome_frame gyp error Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 22201a8bccc7893b6937277ca8090603d3cc1d17..37f3914b61e0ed9156beb2f0142f39b2e21ecc6e 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -26,7 +26,7 @@
'debugger',
'profile_import',
'renderer',
- 'syncapi',
+ 'syncapi_core',
'utility',
'service',
'../content/content.gyp:content_gpu',
@@ -514,7 +514,7 @@
{
# Provides a syncapi dynamic library target from checked-in binaries,
# or from compiling a stub implementation.
- 'target_name': 'syncapi',
+ 'target_name': 'syncapi_core',
'type': 'static_library',
'sources': [
'browser/sync/engine/http_post_provider_factory.h',
@@ -552,6 +552,38 @@
'hard_dependency': 1,
},
{
+ # Provides the API that Chrome services use to talk to sync.
+ 'target_name': 'syncapi_service',
+ 'type': 'static_library',
+ 'sources': [
+ 'browser/sync/api/syncable_service.cc',
+ 'browser/sync/api/syncable_service.h',
+ 'browser/sync/api/sync_data.h',
+ 'browser/sync/api/sync_data.cc',
+ 'browser/sync/api/sync_change.h',
+ 'browser/sync/api/sync_change.cc',
+ 'browser/sync/api/sync_change_processor.h',
+ 'browser/sync/api/sync_change_processor.cc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
+ 'sync',
+ ],
+ 'export_dependent_settings': [
+ '../base/base.gyp:base',
+ 'browser/sync/protocol/sync_proto.gyp:sync_proto_cpp',
+ 'sync',
+ ],
+ # Even though this target depends on sync_proto_cpp, it doesn't
+ # need to export a hard dependency since we explicitly avoid
+ # including the generated proto header files from this target's
+ # header files.
+ },
+ {
'target_name': 'sync',
'type': 'static_library',
'sources': [
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698