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. |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 # TODO(akalin): Remove this (http://crbug.com/133352). | 246 # TODO(akalin): Remove this (http://crbug.com/133352). |
247 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 247 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
248 '../third_party/libjingle/libjingle.gyp:libjingle', | 248 '../third_party/libjingle/libjingle.gyp:libjingle', |
249 'sync', | 249 'sync', |
250 ], | 250 ], |
251 'export_dependent_settings': [ | 251 'export_dependent_settings': [ |
252 '../jingle/jingle.gyp:notifier', | 252 '../jingle/jingle.gyp:notifier', |
253 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 253 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
254 ], | 254 ], |
255 'sources': [ | 255 'sources': [ |
| 256 'notifier/invalidation_handler.h', |
256 'notifier/invalidation_util.cc', | 257 'notifier/invalidation_util.cc', |
257 'notifier/invalidation_util.h', | 258 'notifier/invalidation_util.h', |
| 259 'notifier/invalidator_factory.cc', |
| 260 'notifier/invalidator_factory.h', |
| 261 'notifier/invalidator.h', |
| 262 'notifier/invalidator_registrar.cc', |
| 263 'notifier/invalidator_registrar.h', |
258 'notifier/notifications_disabled_reason.cc', | 264 'notifier/notifications_disabled_reason.cc', |
259 'notifier/notifications_disabled_reason.h', | 265 'notifier/notifications_disabled_reason.h', |
260 'notifier/object_id_state_map.cc', | 266 'notifier/object_id_state_map.cc', |
261 'notifier/object_id_state_map.h', | 267 'notifier/object_id_state_map.h', |
262 'notifier/sync_notifier.h', | |
263 'notifier/sync_notifier_factory.cc', | |
264 'notifier/sync_notifier_factory.h', | |
265 'notifier/sync_notifier_observer.h', | |
266 'notifier/sync_notifier_registrar.cc', | |
267 'notifier/sync_notifier_registrar.h', | |
268 ], | 268 ], |
269 'conditions': [ | 269 'conditions': [ |
270 ['OS != "android"', { | 270 ['OS != "android"', { |
271 'sources': [ | 271 'sources': [ |
272 'notifier/chrome_invalidation_client.cc', | 272 'notifier/chrome_invalidation_client.cc', |
273 'notifier/chrome_invalidation_client.h', | 273 'notifier/chrome_invalidation_client.h', |
274 'notifier/chrome_system_resources.cc', | 274 'notifier/chrome_system_resources.cc', |
275 'notifier/chrome_system_resources.h', | 275 'notifier/chrome_system_resources.h', |
276 'notifier/invalidation_notifier.cc', | 276 'notifier/invalidation_notifier.cc', |
277 'notifier/invalidation_notifier.h', | 277 'notifier/invalidation_notifier.h', |
278 'notifier/invalidation_state_tracker.h', | 278 'notifier/invalidation_state_tracker.h', |
279 'notifier/non_blocking_invalidation_notifier.cc', | 279 'notifier/non_blocking_invalidator.cc', |
280 'notifier/non_blocking_invalidation_notifier.h', | 280 'notifier/non_blocking_invalidator.h', |
281 'notifier/p2p_notifier.cc', | 281 'notifier/p2p_invalidator.cc', |
282 'notifier/p2p_notifier.h', | 282 'notifier/p2p_invalidator.h', |
283 'notifier/push_client_channel.cc', | 283 'notifier/push_client_channel.cc', |
284 'notifier/push_client_channel.h', | 284 'notifier/push_client_channel.h', |
285 'notifier/registration_manager.cc', | 285 'notifier/registration_manager.cc', |
286 'notifier/registration_manager.h', | 286 'notifier/registration_manager.h', |
287 'notifier/state_writer.h', | 287 'notifier/state_writer.h', |
288 ], | 288 ], |
289 }], | 289 }], |
290 ], | 290 ], |
291 }, | 291 }, |
292 | 292 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 '../testing/gmock.gyp:gmock', | 473 '../testing/gmock.gyp:gmock', |
474 'sync_notifier', | 474 'sync_notifier', |
475 ], | 475 ], |
476 'export_dependent_settings': [ | 476 'export_dependent_settings': [ |
477 '../testing/gmock.gyp:gmock', | 477 '../testing/gmock.gyp:gmock', |
478 'sync_notifier', | 478 'sync_notifier', |
479 ], | 479 ], |
480 'sources': [ | 480 'sources': [ |
481 'notifier/fake_invalidation_state_tracker.cc', | 481 'notifier/fake_invalidation_state_tracker.cc', |
482 'notifier/fake_invalidation_state_tracker.h', | 482 'notifier/fake_invalidation_state_tracker.h', |
483 'notifier/fake_sync_notifier.cc', | 483 'notifier/fake_invalidator.cc', |
484 'notifier/fake_sync_notifier.h', | 484 'notifier/fake_invalidator.h', |
485 'notifier/fake_sync_notifier_observer.cc', | 485 'notifier/fake_invalidation_handler.cc', |
486 'notifier/fake_sync_notifier_observer.h', | 486 'notifier/fake_invalidation_handler.h', |
487 'notifier/object_id_state_map_test_util.cc', | 487 'notifier/object_id_state_map_test_util.cc', |
488 'notifier/object_id_state_map_test_util.h', | 488 'notifier/object_id_state_map_test_util.h', |
489 ], | 489 ], |
490 }, | 490 }, |
491 | 491 |
492 # Test support files for the 'syncapi_core' target. | 492 # Test support files for the 'syncapi_core' target. |
493 { | 493 { |
494 'target_name': 'test_support_syncapi_core', | 494 'target_name': 'test_support_syncapi_core', |
495 'type': 'static_library', | 495 'type': 'static_library', |
496 'variables': { 'enable_wexit_time_destructors': 1, }, | 496 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 'sync', | 657 'sync', |
658 'sync_notifier', | 658 'sync_notifier', |
659 'test_support_sync_notifier', | 659 'test_support_sync_notifier', |
660 ], | 660 ], |
661 'direct_dependent_settings': { | 661 'direct_dependent_settings': { |
662 'variables': { 'enable_wexit_time_destructors': 1, }, | 662 'variables': { 'enable_wexit_time_destructors': 1, }, |
663 'include_dirs': [ | 663 'include_dirs': [ |
664 '..', | 664 '..', |
665 ], | 665 ], |
666 'sources': [ | 666 'sources': [ |
667 'notifier/sync_notifier_factory_unittest.cc', | 667 'notifier/invalidator_factory_unittest.cc', |
668 ], | 668 ], |
669 'conditions': [ | 669 'conditions': [ |
670 ['OS != "android"', { | 670 ['OS != "android"', { |
671 'sources': [ | 671 'sources': [ |
672 'notifier/chrome_invalidation_client_unittest.cc', | 672 'notifier/chrome_invalidation_client_unittest.cc', |
673 'notifier/chrome_system_resources_unittest.cc', | 673 'notifier/chrome_system_resources_unittest.cc', |
674 'notifier/invalidation_notifier_unittest.cc', | 674 'notifier/invalidation_notifier_unittest.cc', |
675 'notifier/non_blocking_invalidation_notifier_unittest.cc', | 675 'notifier/invalidator_registrar_unittest.cc', |
676 'notifier/p2p_notifier_unittest.cc', | 676 'notifier/non_blocking_invalidator_unittest.cc', |
| 677 'notifier/p2p_invalidator_unittest.cc', |
677 'notifier/push_client_channel_unittest.cc', | 678 'notifier/push_client_channel_unittest.cc', |
678 'notifier/registration_manager_unittest.cc', | 679 'notifier/registration_manager_unittest.cc', |
679 'notifier/sync_notifier_registrar_unittest.cc', | |
680 ], | 680 ], |
681 }], | 681 }], |
682 ], | 682 ], |
683 }, | 683 }, |
684 }, | 684 }, |
685 | 685 |
686 # Unit tests for the 'syncapi_core' target. This cannot be a static | 686 # Unit tests for the 'syncapi_core' target. This cannot be a static |
687 # library because the unit test files have to be compiled directly | 687 # library because the unit test files have to be compiled directly |
688 # into the executable, so we push the target files to the | 688 # into the executable, so we push the target files to the |
689 # depending executable target via direct_dependent_settings. | 689 # depending executable target via direct_dependent_settings. |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 'variables': { | 864 'variables': { |
865 'test_suite_name': 'sync_unit_tests', | 865 'test_suite_name': 'sync_unit_tests', |
866 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 866 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
867 }, | 867 }, |
868 'includes': [ '../build/apk_test.gypi' ], | 868 'includes': [ '../build/apk_test.gypi' ], |
869 }, | 869 }, |
870 ], | 870 ], |
871 }], | 871 }], |
872 ], | 872 ], |
873 } | 873 } |
OLD | NEW |