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

Unified Diff: sync/sync.gyp

Issue 10700180: [Sync] Add sync_export.h (Step 1 for componentizing sync) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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 | « sync/internal_api/public/engine/sync_status.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sync.gyp
diff --git a/sync/sync.gyp b/sync/sync.gyp
index d88327b04f444c2f65d09ee9e5df3a4602003ad3..28ae992579f6c3838fb18bb2d7179028584b1c22 100644
--- a/sync/sync.gyp
+++ b/sync/sync.gyp
@@ -14,11 +14,17 @@
# should depend on.
{
'target_name': 'sync',
+ # TODO(akalin): Change this to '<(component)'. When we rename
+ # this to 'sync_core' and make the overarching 'sync' library,
+ # make that one '<(component)'.
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'include_dirs': [
'..',
],
+ 'defines': [
+ 'SYNC_IMPLEMENTATION',
+ ],
'dependencies': [
'../base/base.gyp:base',
'../build/temp_gyp/googleurl.gyp:googleurl',
@@ -33,6 +39,7 @@
'protocol/sync_proto.gyp:sync_proto',
],
'sources': [
+ 'base/sync_export.h',
'internal_api/public/base/enum_set.h',
'internal_api/public/base/model_type.h',
'internal_api/public/base/model_type_payload_map.cc',
@@ -785,6 +792,9 @@
{
'target_name': 'sync_client',
'type': 'executable',
+ 'defines': [
+ 'SYNC_TEST',
+ ],
'dependencies': [
'../base/base.gyp:base',
'../jingle/jingle.gyp:notifier',
« no previous file with comments | « sync/internal_api/public/engine/sync_status.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698