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

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: Revert model_type_test_util changes 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
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',
Ryan Sleevi 2012/07/12 18:22:13 I don't think this CL will/should work unless/unti
akalin 2012/07/13 00:51:43 I added '0 &&' to sync_export.h, so it should be a
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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 ], 776 ],
770 'sources': [ 777 'sources': [
771 'tools/sync_listen_notifications.cc', 778 'tools/sync_listen_notifications.cc',
772 ], 779 ],
773 }, 780 },
774 781
775 # A standalone command-line sync client. 782 # A standalone command-line sync client.
776 { 783 {
777 'target_name': 'sync_client', 784 'target_name': 'sync_client',
778 'type': 'executable', 785 'type': 'executable',
786 'defines': [
787 'SYNC_TEST',
788 ],
779 'dependencies': [ 789 'dependencies': [
780 '../base/base.gyp:base', 790 '../base/base.gyp:base',
781 '../jingle/jingle.gyp:notifier', 791 '../jingle/jingle.gyp:notifier',
782 '../net/net.gyp:net', 792 '../net/net.gyp:net',
783 '../net/net.gyp:net_test_support', 793 '../net/net.gyp:net_test_support',
784 'sync', 794 'sync',
785 'sync_notifier', 795 'sync_notifier',
786 'syncapi_core', 796 'syncapi_core',
787 ], 797 ],
788 'sources': [ 798 'sources': [
(...skipping 17 matching lines...) Expand all
806 'test_suite_name': 'sync_unit_tests', 816 'test_suite_name': 'sync_unit_tests',
807 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 817 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
808 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , 818 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
809 }, 819 },
810 'includes': [ '../build/apk_test.gypi' ], 820 'includes': [ '../build/apk_test.gypi' ],
811 }, 821 },
812 ], 822 ],
813 }], 823 }],
814 ], 824 ],
815 } 825 }
OLDNEW
« sync/internal_api/public/base/model_type.h ('K') | « 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