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', |