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

Side by Side Diff: sync/sync.gyp

Issue 10702074: Refactor sync-specific parts out of SyncNotifier/SyncNotifierObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Now with tests 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.
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 '../third_party/libjingle/libjingle.gyp:libjingle', 240 '../third_party/libjingle/libjingle.gyp:libjingle',
241 'sync', 241 'sync',
242 ], 242 ],
243 'export_dependent_settings': [ 243 'export_dependent_settings': [
244 '../jingle/jingle.gyp:notifier', 244 '../jingle/jingle.gyp:notifier',
245 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', 245 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n',
246 ], 246 ],
247 'sources': [ 247 'sources': [
248 'notifier/invalidation_util.cc', 248 'notifier/invalidation_util.cc',
249 'notifier/invalidation_util.h', 249 'notifier/invalidation_util.h',
250 'notifier/notifications_disabled_reason.cc',
250 'notifier/notifications_disabled_reason.h', 251 'notifier/notifications_disabled_reason.h',
251 'notifier/notifications_disabled_reason.cc', 252 'notifier/object_id_payload_map.cc',
253 'notifier/object_id_payload_map.h',
254 'notifier/sync_notifier_factory.cc',
255 'notifier/sync_notifier_factory.h',
252 'notifier/sync_notifier.h', 256 'notifier/sync_notifier.h',
253 'notifier/sync_notifier_factory.h',
254 'notifier/sync_notifier_factory.cc',
255 'notifier/sync_notifier_observer.h', 257 'notifier/sync_notifier_observer.h',
256 ], 258 ],
257 'conditions': [ 259 'conditions': [
258 ['OS != "android"', { 260 ['OS != "android"', {
259 'sources': [ 261 'sources': [
260 'notifier/chrome_invalidation_client.cc', 262 'notifier/chrome_invalidation_client.cc',
261 'notifier/chrome_invalidation_client.h', 263 'notifier/chrome_invalidation_client.h',
262 'notifier/chrome_system_resources.cc', 264 'notifier/chrome_system_resources.cc',
263 'notifier/chrome_system_resources.h', 265 'notifier/chrome_system_resources.h',
266 'notifier/invalidation_notifier.cc',
264 'notifier/invalidation_notifier.h', 267 'notifier/invalidation_notifier.h',
265 'notifier/invalidation_notifier.cc',
266 'notifier/invalidation_state_tracker.h', 268 'notifier/invalidation_state_tracker.h',
269 'notifier/non_blocking_invalidation_notifier.cc',
267 'notifier/non_blocking_invalidation_notifier.h', 270 'notifier/non_blocking_invalidation_notifier.h',
268 'notifier/non_blocking_invalidation_notifier.cc', 271 'notifier/p2p_notifier.cc',
269 'notifier/p2p_notifier.h', 272 'notifier/p2p_notifier.h',
270 'notifier/p2p_notifier.cc',
271 'notifier/push_client_channel.cc', 273 'notifier/push_client_channel.cc',
272 'notifier/push_client_channel.h', 274 'notifier/push_client_channel.h',
273 'notifier/registration_manager.cc', 275 'notifier/registration_manager.cc',
274 'notifier/registration_manager.h', 276 'notifier/registration_manager.h',
275 'notifier/state_writer.h', 277 'notifier/state_writer.h',
278 'notifier/sync_notifier_helper.cc',
279 'notifier/sync_notifier_helper.h',
276 ], 280 ],
277 }], 281 }],
278 ], 282 ],
279 }, 283 },
280 284
281 # The sync internal API library. 285 # The sync internal API library.
282 { 286 {
283 'target_name': 'syncapi_core', 287 'target_name': 'syncapi_core',
284 'type': 'static_library', 288 'type': 'static_library',
285 'variables': { 'enable_wexit_time_destructors': 1, }, 289 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 'conditions': [ 636 'conditions': [
633 ['OS != "android"', { 637 ['OS != "android"', {
634 'sources': [ 638 'sources': [
635 'notifier/chrome_invalidation_client_unittest.cc', 639 'notifier/chrome_invalidation_client_unittest.cc',
636 'notifier/chrome_system_resources_unittest.cc', 640 'notifier/chrome_system_resources_unittest.cc',
637 'notifier/invalidation_notifier_unittest.cc', 641 'notifier/invalidation_notifier_unittest.cc',
638 'notifier/non_blocking_invalidation_notifier_unittest.cc', 642 'notifier/non_blocking_invalidation_notifier_unittest.cc',
639 'notifier/p2p_notifier_unittest.cc', 643 'notifier/p2p_notifier_unittest.cc',
640 'notifier/push_client_channel_unittest.cc', 644 'notifier/push_client_channel_unittest.cc',
641 'notifier/registration_manager_unittest.cc', 645 'notifier/registration_manager_unittest.cc',
646 'notifier/sync_notifier_helper_unittest.cc',
642 ], 647 ],
643 }], 648 }],
644 ], 649 ],
645 }, 650 },
646 }, 651 },
647 652
648 # Unit tests for the 'syncapi_core' target. This cannot be a static 653 # Unit tests for the 'syncapi_core' target. This cannot be a static
649 # library because the unit test files have to be compiled directly 654 # library because the unit test files have to be compiled directly
650 # into the executable, so we push the target files to the 655 # into the executable, so we push the target files to the
651 # depending executable target via direct_dependent_settings. 656 # depending executable target via direct_dependent_settings.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 'test_suite_name': 'sync_unit_tests', 830 'test_suite_name': 'sync_unit_tests',
826 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 831 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
827 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , 832 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
828 }, 833 },
829 'includes': [ '../build/apk_test.gypi' ], 834 'includes': [ '../build/apk_test.gypi' ],
830 }, 835 },
831 ], 836 ],
832 }], 837 }],
833 ], 838 ],
834 } 839 }
OLDNEW
« sync/notifier/sync_notifier_helper.cc ('K') | « sync/notifier/sync_notifier_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698