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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/public/engine/sync_status.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 # The core sync library. 10 # The core sync library.
11 # 11 #
12 # TODO(akalin): Rename this to something like 'sync_core' and 12 # TODO(akalin): Rename this to something like 'sync_core' and
13 # reserve the 'sync' name for the overarching library that clients 13 # reserve the 'sync' name for the overarching library that clients
14 # should depend on. 14 # should depend on.
15 { 15 {
16 'target_name': 'sync', 16 'target_name': 'sync',
17 # TODO(akalin): Change this to '<(component)'. When we rename
18 # this to 'sync_core' and make the overarching 'sync' library,
19 # make that one '<(component)'.
17 'type': 'static_library', 20 'type': 'static_library',
18 'variables': { 'enable_wexit_time_destructors': 1, }, 21 'variables': { 'enable_wexit_time_destructors': 1, },
19 'include_dirs': [ 22 'include_dirs': [
20 '..', 23 '..',
21 ], 24 ],
25 'defines': [
26 'SYNC_IMPLEMENTATION',
27 ],
22 'dependencies': [ 28 'dependencies': [
23 '../base/base.gyp:base', 29 '../base/base.gyp:base',
24 '../build/temp_gyp/googleurl.gyp:googleurl', 30 '../build/temp_gyp/googleurl.gyp:googleurl',
25 '../crypto/crypto.gyp:crypto', 31 '../crypto/crypto.gyp:crypto',
26 '../net/net.gyp:net', 32 '../net/net.gyp:net',
27 '../sql/sql.gyp:sql', 33 '../sql/sql.gyp:sql',
28 'protocol/sync_proto.gyp:sync_proto', 34 'protocol/sync_proto.gyp:sync_proto',
29 ], 35 ],
30 'export_dependent_settings': [ 36 'export_dependent_settings': [
31 # Propagate sync_proto since our headers include its generated 37 # Propagate sync_proto since our headers include its generated
32 # files. 38 # files.
33 'protocol/sync_proto.gyp:sync_proto', 39 'protocol/sync_proto.gyp:sync_proto',
34 ], 40 ],
35 'sources': [ 41 'sources': [
42 'base/sync_export.h',
36 'internal_api/public/base/enum_set.h', 43 'internal_api/public/base/enum_set.h',
37 'internal_api/public/base/model_type.h', 44 'internal_api/public/base/model_type.h',
38 'internal_api/public/base/model_type_payload_map.cc', 45 'internal_api/public/base/model_type_payload_map.cc',
39 'internal_api/public/base/model_type_payload_map.h', 46 'internal_api/public/base/model_type_payload_map.h',
40 'internal_api/public/engine/model_safe_worker.cc', 47 'internal_api/public/engine/model_safe_worker.cc',
41 'internal_api/public/engine/model_safe_worker.h', 48 'internal_api/public/engine/model_safe_worker.h',
42 'internal_api/public/engine/passive_model_worker.cc', 49 'internal_api/public/engine/passive_model_worker.cc',
43 'internal_api/public/engine/passive_model_worker.h', 50 'internal_api/public/engine/passive_model_worker.h',
44 'internal_api/public/engine/polling_constants.cc', 51 'internal_api/public/engine/polling_constants.cc',
45 'internal_api/public/engine/polling_constants.h', 52 'internal_api/public/engine/polling_constants.h',
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 ], 785 ],
779 'sources': [ 786 'sources': [
780 'tools/sync_listen_notifications.cc', 787 'tools/sync_listen_notifications.cc',
781 ], 788 ],
782 }, 789 },
783 790
784 # A standalone command-line sync client. 791 # A standalone command-line sync client.
785 { 792 {
786 'target_name': 'sync_client', 793 'target_name': 'sync_client',
787 'type': 'executable', 794 'type': 'executable',
795 'defines': [
796 'SYNC_TEST',
797 ],
788 'dependencies': [ 798 'dependencies': [
789 '../base/base.gyp:base', 799 '../base/base.gyp:base',
790 '../jingle/jingle.gyp:notifier', 800 '../jingle/jingle.gyp:notifier',
791 '../net/net.gyp:net', 801 '../net/net.gyp:net',
792 '../net/net.gyp:net_test_support', 802 '../net/net.gyp:net_test_support',
793 'sync', 803 'sync',
794 'sync_notifier', 804 'sync_notifier',
795 'syncapi_core', 805 'syncapi_core',
796 ], 806 ],
797 'sources': [ 807 'sources': [
(...skipping 17 matching lines...) Expand all
815 'test_suite_name': 'sync_unit_tests', 825 'test_suite_name': 'sync_unit_tests',
816 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 826 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
817 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , 827 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
818 }, 828 },
819 'includes': [ '../build/apk_test.gypi' ], 829 'includes': [ '../build/apk_test.gypi' ],
820 }, 830 },
821 ], 831 ],
822 }], 832 }],
823 ], 833 ],
824 } 834 }
OLDNEW
« 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