OLD | NEW |
---|---|
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 'type': 'static_library', | 17 'type': 'static_library', |
18 'variables': { 'enable_wexit_time_destructors': 1, }, | 18 'variables': { 'enable_wexit_time_destructors': 1, }, |
19 'include_dirs': [ | 19 'include_dirs': [ |
20 '..', | 20 '..', |
21 ], | 21 ], |
22 'dependencies': [ | 22 'dependencies': [ |
23 '../base/base.gyp:base', | 23 '../base/base.gyp:base', |
24 '../build/temp_gyp/googleurl.gyp:googleurl', | 24 '../build/temp_gyp/googleurl.gyp:googleurl', |
25 '../crypto/crypto.gyp:crypto', | 25 '../crypto/crypto.gyp:crypto', |
26 '../net/net.gyp:net', | 26 '../net/net.gyp:net', |
27 '../sql/sql.gyp:sql', | 27 '../sql/sql.gyp:sql', |
28 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', | |
28 'protocol/sync_proto.gyp:sync_proto', | 29 'protocol/sync_proto.gyp:sync_proto', |
29 ], | 30 ], |
30 'export_dependent_settings': [ | 31 'export_dependent_settings': [ |
31 # Propagate sync_proto since our headers include its generated | 32 # Propagate sync_proto since our headers include its generated |
32 # files. | 33 # files. |
33 'protocol/sync_proto.gyp:sync_proto', | 34 'protocol/sync_proto.gyp:sync_proto', |
35 # Temporary hack to propagate dependencies on this. | |
36 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', | |
dcheng
2012/07/10 19:15:25
This is because model_type_payload_map.h defines t
akalin
2012/07/11 00:10:24
I think the best solution would be to put the conv
dcheng
2012/07/11 05:45:28
Done. I think it makes more sense the other way th
| |
34 ], | 37 ], |
35 'sources': [ | 38 'sources': [ |
36 'internal_api/public/base/enum_set.h', | 39 'internal_api/public/base/enum_set.h', |
37 'internal_api/public/base/model_type.h', | 40 'internal_api/public/base/model_type.h', |
38 'internal_api/public/base/model_type_payload_map.cc', | 41 'internal_api/public/base/model_type_payload_map.cc', |
39 'internal_api/public/base/model_type_payload_map.h', | 42 'internal_api/public/base/model_type_payload_map.h', |
40 'internal_api/public/engine/model_safe_worker.cc', | 43 'internal_api/public/engine/model_safe_worker.cc', |
41 'internal_api/public/engine/model_safe_worker.h', | 44 'internal_api/public/engine/model_safe_worker.h', |
42 'internal_api/public/engine/passive_model_worker.cc', | 45 'internal_api/public/engine/passive_model_worker.cc', |
43 'internal_api/public/engine/passive_model_worker.h', | 46 'internal_api/public/engine/passive_model_worker.h', |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
230 '../third_party/libjingle/libjingle.gyp:libjingle', | 233 '../third_party/libjingle/libjingle.gyp:libjingle', |
231 'sync', | 234 'sync', |
232 ], | 235 ], |
233 'export_dependent_settings': [ | 236 'export_dependent_settings': [ |
234 '../jingle/jingle.gyp:notifier', | 237 '../jingle/jingle.gyp:notifier', |
235 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', | 238 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', |
236 ], | 239 ], |
237 'sources': [ | 240 'sources': [ |
238 'notifier/invalidation_util.cc', | 241 'notifier/invalidation_util.cc', |
239 'notifier/invalidation_util.h', | 242 'notifier/invalidation_util.h', |
243 'notifier/notifications_disabled_reason.cc', | |
240 'notifier/notifications_disabled_reason.h', | 244 'notifier/notifications_disabled_reason.h', |
241 'notifier/notifications_disabled_reason.cc', | 245 'notifier/object_id_payload_map.h', |
246 'notifier/sync_notifier_factory.cc', | |
247 'notifier/sync_notifier_factory.h', | |
242 'notifier/sync_notifier.h', | 248 'notifier/sync_notifier.h', |
243 'notifier/sync_notifier_factory.h', | |
244 'notifier/sync_notifier_factory.cc', | |
245 'notifier/sync_notifier_observer.h', | 249 'notifier/sync_notifier_observer.h', |
246 ], | 250 ], |
247 'conditions': [ | 251 'conditions': [ |
248 ['OS != "android"', { | 252 ['OS != "android"', { |
249 'sources': [ | 253 'sources': [ |
250 'notifier/chrome_invalidation_client.cc', | 254 'notifier/chrome_invalidation_client.cc', |
251 'notifier/chrome_invalidation_client.h', | 255 'notifier/chrome_invalidation_client.h', |
252 'notifier/chrome_system_resources.cc', | 256 'notifier/chrome_system_resources.cc', |
253 'notifier/chrome_system_resources.h', | 257 'notifier/chrome_system_resources.h', |
258 'notifier/invalidation_notifier_base.cc', | |
259 'notifier/invalidation_notifier_base.h', | |
260 'notifier/invalidation_notifier.cc', | |
254 'notifier/invalidation_notifier.h', | 261 'notifier/invalidation_notifier.h', |
255 'notifier/invalidation_notifier.cc', | |
256 'notifier/invalidation_state_tracker.h', | 262 'notifier/invalidation_state_tracker.h', |
263 'notifier/non_blocking_invalidation_notifier.cc', | |
257 'notifier/non_blocking_invalidation_notifier.h', | 264 'notifier/non_blocking_invalidation_notifier.h', |
258 'notifier/non_blocking_invalidation_notifier.cc', | 265 'notifier/p2p_notifier.cc', |
259 'notifier/p2p_notifier.h', | 266 'notifier/p2p_notifier.h', |
260 'notifier/p2p_notifier.cc', | |
261 'notifier/push_client_channel.cc', | 267 'notifier/push_client_channel.cc', |
262 'notifier/push_client_channel.h', | 268 'notifier/push_client_channel.h', |
263 'notifier/registration_manager.cc', | 269 'notifier/registration_manager.cc', |
264 'notifier/registration_manager.h', | 270 'notifier/registration_manager.h', |
265 'notifier/state_writer.h', | 271 'notifier/state_writer.h', |
266 ], | 272 ], |
267 }], | 273 }], |
268 ], | 274 ], |
269 }, | 275 }, |
270 | 276 |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
806 'test_suite_name': 'sync_unit_tests', | 812 'test_suite_name': 'sync_unit_tests', |
807 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', | 813 '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', ] , | 814 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , |
809 }, | 815 }, |
810 'includes': [ '../build/apk_test.gypi' ], | 816 'includes': [ '../build/apk_test.gypi' ], |
811 }, | 817 }, |
812 ], | 818 ], |
813 }], | 819 }], |
814 ], | 820 ], |
815 } | 821 } |
OLD | NEW |