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

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: FOR_THE_HORDE 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 '../third_party/libjingle/libjingle.gyp:libjingle', 242 '../third_party/libjingle/libjingle.gyp:libjingle',
243 'sync', 243 'sync',
244 ], 244 ],
245 'export_dependent_settings': [ 245 'export_dependent_settings': [
246 '../jingle/jingle.gyp:notifier', 246 '../jingle/jingle.gyp:notifier',
247 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', 247 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n',
248 ], 248 ],
249 'sources': [ 249 'sources': [
250 'notifier/invalidation_util.cc', 250 'notifier/invalidation_util.cc',
251 'notifier/invalidation_util.h', 251 'notifier/invalidation_util.h',
252 'notifier/notifications_disabled_reason.cc',
252 'notifier/notifications_disabled_reason.h', 253 'notifier/notifications_disabled_reason.h',
253 'notifier/notifications_disabled_reason.cc', 254 'notifier/object_id_payload_map.cc',
255 'notifier/object_id_payload_map.h',
256 'notifier/sync_notifier_factory.cc',
257 'notifier/sync_notifier_factory.h',
254 'notifier/sync_notifier.h', 258 'notifier/sync_notifier.h',
255 'notifier/sync_notifier_factory.h',
256 'notifier/sync_notifier_factory.cc',
257 'notifier/sync_notifier_observer.h', 259 'notifier/sync_notifier_observer.h',
258 ], 260 ],
259 'conditions': [ 261 'conditions': [
260 ['OS != "android"', { 262 ['OS != "android"', {
261 'sources': [ 263 'sources': [
262 'notifier/chrome_invalidation_client.cc', 264 'notifier/chrome_invalidation_client.cc',
263 'notifier/chrome_invalidation_client.h', 265 'notifier/chrome_invalidation_client.h',
264 'notifier/chrome_system_resources.cc', 266 'notifier/chrome_system_resources.cc',
265 'notifier/chrome_system_resources.h', 267 'notifier/chrome_system_resources.h',
268 'notifier/invalidation_notifier.cc',
266 'notifier/invalidation_notifier.h', 269 'notifier/invalidation_notifier.h',
267 'notifier/invalidation_notifier.cc',
268 'notifier/invalidation_state_tracker.h', 270 'notifier/invalidation_state_tracker.h',
271 'notifier/non_blocking_invalidation_notifier.cc',
269 'notifier/non_blocking_invalidation_notifier.h', 272 'notifier/non_blocking_invalidation_notifier.h',
270 'notifier/non_blocking_invalidation_notifier.cc', 273 'notifier/p2p_notifier.cc',
271 'notifier/p2p_notifier.h', 274 'notifier/p2p_notifier.h',
272 'notifier/p2p_notifier.cc',
273 'notifier/push_client_channel.cc', 275 'notifier/push_client_channel.cc',
274 'notifier/push_client_channel.h', 276 'notifier/push_client_channel.h',
275 'notifier/registration_manager.cc', 277 'notifier/registration_manager.cc',
276 'notifier/registration_manager.h', 278 'notifier/registration_manager.h',
277 'notifier/state_writer.h', 279 'notifier/state_writer.h',
280 'notifier/sync_notifier_helper.cc',
281 'notifier/sync_notifier_helper.h',
278 ], 282 ],
279 }], 283 }],
280 ], 284 ],
281 }, 285 },
282 286
283 # The sync internal API library. 287 # The sync internal API library.
284 { 288 {
285 'target_name': 'syncapi_core', 289 'target_name': 'syncapi_core',
286 'type': 'static_library', 290 'type': 'static_library',
287 'variables': { 'enable_wexit_time_destructors': 1, }, 291 'variables': { 'enable_wexit_time_destructors': 1, },
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 'conditions': [ 645 'conditions': [
642 ['OS != "android"', { 646 ['OS != "android"', {
643 'sources': [ 647 'sources': [
644 'notifier/chrome_invalidation_client_unittest.cc', 648 'notifier/chrome_invalidation_client_unittest.cc',
645 'notifier/chrome_system_resources_unittest.cc', 649 'notifier/chrome_system_resources_unittest.cc',
646 'notifier/invalidation_notifier_unittest.cc', 650 'notifier/invalidation_notifier_unittest.cc',
647 'notifier/non_blocking_invalidation_notifier_unittest.cc', 651 'notifier/non_blocking_invalidation_notifier_unittest.cc',
648 'notifier/p2p_notifier_unittest.cc', 652 'notifier/p2p_notifier_unittest.cc',
649 'notifier/push_client_channel_unittest.cc', 653 'notifier/push_client_channel_unittest.cc',
650 'notifier/registration_manager_unittest.cc', 654 'notifier/registration_manager_unittest.cc',
655 'notifier/sync_notifier_helper_unittest.cc',
651 ], 656 ],
652 }], 657 }],
653 ], 658 ],
654 }, 659 },
655 }, 660 },
656 661
657 # Unit tests for the 'syncapi_core' target. This cannot be a static 662 # Unit tests for the 'syncapi_core' target. This cannot be a static
658 # library because the unit test files have to be compiled directly 663 # library because the unit test files have to be compiled directly
659 # into the executable, so we push the target files to the 664 # into the executable, so we push the target files to the
660 # depending executable target via direct_dependent_settings. 665 # depending executable target via direct_dependent_settings.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 'test_suite_name': 'sync_unit_tests', 839 'test_suite_name': 'sync_unit_tests',
835 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 840 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
836 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , 841 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
837 }, 842 },
838 'includes': [ '../build/apk_test.gypi' ], 843 'includes': [ '../build/apk_test.gypi' ],
839 }, 844 },
840 ], 845 ],
841 }], 846 }],
842 ], 847 ],
843 } 848 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698