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

Side by Side Diff: sync/sync.gyp

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 3 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/sessions/sync_session_unittest.cc ('k') | sync/test/engine/fake_sync_scheduler.h » ('j') | 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.
(...skipping 23 matching lines...) Expand all
34 'protocol/sync_proto.gyp:sync_proto', 34 'protocol/sync_proto.gyp:sync_proto',
35 ], 35 ],
36 'export_dependent_settings': [ 36 'export_dependent_settings': [
37 # Propagate sync_proto since our headers include its generated 37 # Propagate sync_proto since our headers include its generated
38 # files. 38 # files.
39 'protocol/sync_proto.gyp:sync_proto', 39 'protocol/sync_proto.gyp:sync_proto',
40 ], 40 ],
41 'sources': [ 41 'sources': [
42 'base/sync_export.h', 42 'base/sync_export.h',
43 'internal_api/public/base/enum_set.h', 43 'internal_api/public/base/enum_set.h',
44 'internal_api/public/base/invalidation_state.h',
44 'internal_api/public/base/model_type.h', 45 'internal_api/public/base/model_type.h',
45 'internal_api/public/base/model_type_payload_map.cc', 46 'internal_api/public/base/model_type_state_map.cc',
46 'internal_api/public/base/model_type_payload_map.h', 47 'internal_api/public/base/model_type_state_map.h',
47 'internal_api/public/engine/model_safe_worker.cc', 48 'internal_api/public/engine/model_safe_worker.cc',
48 'internal_api/public/engine/model_safe_worker.h', 49 'internal_api/public/engine/model_safe_worker.h',
49 'internal_api/public/engine/passive_model_worker.cc', 50 'internal_api/public/engine/passive_model_worker.cc',
50 'internal_api/public/engine/passive_model_worker.h', 51 'internal_api/public/engine/passive_model_worker.h',
51 'internal_api/public/engine/polling_constants.cc', 52 'internal_api/public/engine/polling_constants.cc',
52 'internal_api/public/engine/polling_constants.h', 53 'internal_api/public/engine/polling_constants.h',
53 'internal_api/public/engine/sync_status.cc', 54 'internal_api/public/engine/sync_status.cc',
54 'internal_api/public/engine/sync_status.h', 55 'internal_api/public/engine/sync_status.h',
55 'internal_api/public/sessions/model_neutral_state.cc', 56 'internal_api/public/sessions/model_neutral_state.cc',
56 'internal_api/public/sessions/model_neutral_state.h', 57 'internal_api/public/sessions/model_neutral_state.h',
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ], 250 ],
250 'export_dependent_settings': [ 251 'export_dependent_settings': [
251 '../jingle/jingle.gyp:notifier', 252 '../jingle/jingle.gyp:notifier',
252 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', 253 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n',
253 ], 254 ],
254 'sources': [ 255 'sources': [
255 'notifier/invalidation_util.cc', 256 'notifier/invalidation_util.cc',
256 'notifier/invalidation_util.h', 257 'notifier/invalidation_util.h',
257 'notifier/notifications_disabled_reason.cc', 258 'notifier/notifications_disabled_reason.cc',
258 'notifier/notifications_disabled_reason.h', 259 'notifier/notifications_disabled_reason.h',
259 'notifier/object_id_payload_map.cc', 260 'notifier/object_id_state_map.cc',
260 'notifier/object_id_payload_map.h', 261 'notifier/object_id_state_map.h',
261 'notifier/sync_notifier.h', 262 'notifier/sync_notifier.h',
262 'notifier/sync_notifier_factory.cc', 263 'notifier/sync_notifier_factory.cc',
263 'notifier/sync_notifier_factory.h', 264 'notifier/sync_notifier_factory.h',
264 'notifier/sync_notifier_observer.h', 265 'notifier/sync_notifier_observer.h',
265 'notifier/sync_notifier_registrar.cc', 266 'notifier/sync_notifier_registrar.cc',
266 'notifier/sync_notifier_registrar.h', 267 'notifier/sync_notifier_registrar.h',
267 ], 268 ],
268 'conditions': [ 269 'conditions': [
269 ['OS != "android"', { 270 ['OS != "android"', {
270 'sources': [ 271 'sources': [
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 'protocol/sync_proto.gyp:sync_proto', 410 'protocol/sync_proto.gyp:sync_proto',
410 'sync', 411 'sync',
411 ], 412 ],
412 'export_dependent_settings': [ 413 'export_dependent_settings': [
413 '../testing/gmock.gyp:gmock', 414 '../testing/gmock.gyp:gmock',
414 '../testing/gtest.gyp:gtest', 415 '../testing/gtest.gyp:gtest',
415 'protocol/sync_proto.gyp:sync_proto', 416 'protocol/sync_proto.gyp:sync_proto',
416 'sync', 417 'sync',
417 ], 418 ],
418 'sources': [ 419 'sources': [
420 'internal_api/public/base/invalidation_state_test_util.cc',
421 'internal_api/public/base/invalidation_state_test_util.h',
422 'internal_api/public/base/model_type_state_map_test_util.cc',
423 'internal_api/public/base/model_type_state_map_test_util.h',
419 'internal_api/public/base/model_type_test_util.cc', 424 'internal_api/public/base/model_type_test_util.cc',
420 'internal_api/public/base/model_type_test_util.h', 425 'internal_api/public/base/model_type_test_util.h',
421 'js/js_test_util.cc', 426 'js/js_test_util.cc',
422 'js/js_test_util.h', 427 'js/js_test_util.h',
423 'sessions/test_util.cc', 428 'sessions/test_util.cc',
424 'sessions/test_util.h', 429 'sessions/test_util.h',
425 'syncable/syncable_mock.cc', 430 'syncable/syncable_mock.cc',
426 'syncable/syncable_mock.h', 431 'syncable/syncable_mock.h',
427 'test/callback_counter.h', 432 'test/callback_counter.h',
428 'test/engine/fake_model_worker.cc', 433 'test/engine/fake_model_worker.cc',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 ], 475 ],
471 'export_dependent_settings': [ 476 'export_dependent_settings': [
472 '../testing/gmock.gyp:gmock', 477 '../testing/gmock.gyp:gmock',
473 'sync_notifier', 478 'sync_notifier',
474 ], 479 ],
475 'sources': [ 480 'sources': [
476 'notifier/fake_invalidation_state_tracker.cc', 481 'notifier/fake_invalidation_state_tracker.cc',
477 'notifier/fake_invalidation_state_tracker.h', 482 'notifier/fake_invalidation_state_tracker.h',
478 'notifier/mock_sync_notifier_observer.cc', 483 'notifier/mock_sync_notifier_observer.cc',
479 'notifier/mock_sync_notifier_observer.h', 484 'notifier/mock_sync_notifier_observer.h',
485 'notifier/object_id_state_map_test_util.cc',
486 'notifier/object_id_state_map_test_util.h',
480 ], 487 ],
481 }, 488 },
482 489
483 # Test support files for the 'syncapi_core' target. 490 # Test support files for the 'syncapi_core' target.
484 { 491 {
485 'target_name': 'test_support_syncapi_core', 492 'target_name': 'test_support_syncapi_core',
486 'type': 'static_library', 493 'type': 'static_library',
487 'variables': { 'enable_wexit_time_destructors': 1, }, 494 'variables': { 'enable_wexit_time_destructors': 1, },
488 'include_dirs': [ 495 'include_dirs': [
489 '..', 496 '..',
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 'sync', 570 'sync',
564 'test_support_sync', 571 'test_support_sync',
565 ], 572 ],
566 'direct_dependent_settings': { 573 'direct_dependent_settings': {
567 'variables': { 'enable_wexit_time_destructors': 1, }, 574 'variables': { 'enable_wexit_time_destructors': 1, },
568 'include_dirs': [ 575 'include_dirs': [
569 '..', 576 '..',
570 ], 577 ],
571 'sources': [ 578 'sources': [
572 'internal_api/public/base/enum_set_unittest.cc', 579 'internal_api/public/base/enum_set_unittest.cc',
573 'internal_api/public/base/model_type_payload_map_unittest.cc', 580 'internal_api/public/base/model_type_state_map_unittest.cc',
574 'internal_api/public/engine/model_safe_worker_unittest.cc', 581 'internal_api/public/engine/model_safe_worker_unittest.cc',
575 'internal_api/public/util/immutable_unittest.cc', 582 'internal_api/public/util/immutable_unittest.cc',
576 'engine/apply_updates_command_unittest.cc', 583 'engine/apply_updates_command_unittest.cc',
577 'engine/backoff_delay_provider_unittest.cc', 584 'engine/backoff_delay_provider_unittest.cc',
578 'engine/build_commit_command_unittest.cc', 585 'engine/build_commit_command_unittest.cc',
579 'engine/download_updates_command_unittest.cc', 586 'engine/download_updates_command_unittest.cc',
580 'engine/model_changing_syncer_command_unittest.cc', 587 'engine/model_changing_syncer_command_unittest.cc',
581 'engine/process_commit_response_command_unittest.cc', 588 'engine/process_commit_response_command_unittest.cc',
582 'engine/process_updates_command_unittest.cc', 589 'engine/process_updates_command_unittest.cc',
583 'engine/resolve_conflicts_command_unittest.cc', 590 'engine/resolve_conflicts_command_unittest.cc',
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 'variables': { 862 'variables': {
856 'test_suite_name': 'sync_unit_tests', 863 'test_suite_name': 'sync_unit_tests',
857 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 864 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
858 }, 865 },
859 'includes': [ '../build/apk_test.gypi' ], 866 'includes': [ '../build/apk_test.gypi' ],
860 }, 867 },
861 ], 868 ],
862 }], 869 }],
863 ], 870 ],
864 } 871 }
OLDNEW
« no previous file with comments | « sync/sessions/sync_session_unittest.cc ('k') | sync/test/engine/fake_sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698