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

Side by Side Diff: sync/sync.gyp

Issue 11360194: Bring up minimal sync and sync unittest targets on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 1 month 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
« no previous file with comments | « build/all.gyp ('k') | sync/util/get_session_name.cc » ('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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 # data_encryption_win*; it's also used by autofill. 215 # data_encryption_win*; it's also used by autofill.
216 'util/data_encryption_win.cc', 216 'util/data_encryption_win.cc',
217 'util/data_encryption_win.h', 217 'util/data_encryption_win.h',
218 218
219 'util/data_type_histogram.h', 219 'util/data_type_histogram.h',
220 'util/encryptor.h', 220 'util/encryptor.h',
221 'util/extensions_activity_monitor.cc', 221 'util/extensions_activity_monitor.cc',
222 'util/extensions_activity_monitor.h', 222 'util/extensions_activity_monitor.h',
223 'util/get_session_name.cc', 223 'util/get_session_name.cc',
224 'util/get_session_name.h', 224 'util/get_session_name.h',
225 'util/get_session_name_ios.mm',
226 'util/get_session_name_ios.h',
225 'util/get_session_name_mac.mm', 227 'util/get_session_name_mac.mm',
226 'util/get_session_name_mac.h', 228 'util/get_session_name_mac.h',
227 'util/get_session_name_win.cc', 229 'util/get_session_name_win.cc',
228 'util/get_session_name_win.h', 230 'util/get_session_name_win.h',
229 'util/logging.cc', 231 'util/logging.cc',
230 'util/logging.h', 232 'util/logging.h',
231 'util/nigori.cc', 233 'util/nigori.cc',
232 'util/nigori.h', 234 'util/nigori.h',
233 'util/session_utils_android.cc', 235 'util/session_utils_android.cc',
234 'util/session_utils_android.h', 236 'util/session_utils_android.h',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 'notifier/invalidator_factory.h', 268 'notifier/invalidator_factory.h',
267 'notifier/invalidator.h', 269 'notifier/invalidator.h',
268 'notifier/invalidator_registrar.cc', 270 'notifier/invalidator_registrar.cc',
269 'notifier/invalidator_registrar.h', 271 'notifier/invalidator_registrar.h',
270 'notifier/invalidator_state.cc', 272 'notifier/invalidator_state.cc',
271 'notifier/invalidator_state.h', 273 'notifier/invalidator_state.h',
272 'notifier/object_id_invalidation_map.cc', 274 'notifier/object_id_invalidation_map.cc',
273 'notifier/object_id_invalidation_map.h', 275 'notifier/object_id_invalidation_map.h',
274 ], 276 ],
275 'conditions': [ 277 'conditions': [
276 ['OS != "android"', { 278 ['OS == "ios"', {
279 'sources!': [
280 'notifier/invalidator_factory.cc',
281 ],
282 }],
283 ['OS != "android" and OS != "ios"', {
277 'sources': [ 284 'sources': [
278 'notifier/ack_tracker.cc', 285 'notifier/ack_tracker.cc',
279 'notifier/ack_tracker.h', 286 'notifier/ack_tracker.h',
280 'notifier/invalidation_notifier.cc', 287 'notifier/invalidation_notifier.cc',
281 'notifier/invalidation_notifier.h', 288 'notifier/invalidation_notifier.h',
282 'notifier/invalidation_state_tracker.h', 289 'notifier/invalidation_state_tracker.h',
283 'notifier/non_blocking_invalidator.cc', 290 'notifier/non_blocking_invalidator.cc',
284 'notifier/non_blocking_invalidator.h', 291 'notifier/non_blocking_invalidator.h',
285 'notifier/p2p_invalidator.cc', 292 'notifier/p2p_invalidator.cc',
286 'notifier/p2p_invalidator.h', 293 'notifier/p2p_invalidator.h',
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 'test_support_sync_notifier', 695 'test_support_sync_notifier',
689 ], 696 ],
690 'direct_dependent_settings': { 697 'direct_dependent_settings': {
691 'include_dirs': [ 698 'include_dirs': [
692 '..', 699 '..',
693 ], 700 ],
694 'sources': [ 701 'sources': [
695 'notifier/invalidator_factory_unittest.cc', 702 'notifier/invalidator_factory_unittest.cc',
696 ], 703 ],
697 'conditions': [ 704 'conditions': [
698 ['OS != "android"', { 705 ['OS == "ios"', {
706 'sources!': [
707 # TODO(ios): Re-enable this test on iOS once there is an iOS
708 # implementation of invalidator_factory.
709 'notifier/invalidator_factory_unittest.cc',
710 'notifier/sync_notifier_factory_unittest.cc',
711 ],
712 }],
713 ['OS != "android" and OS != "ios"', {
699 'sources': [ 714 'sources': [
700 'notifier/ack_tracker_unittest.cc', 715 'notifier/ack_tracker_unittest.cc',
701 'notifier/fake_invalidator_unittest.cc', 716 'notifier/fake_invalidator_unittest.cc',
702 'notifier/invalidation_notifier_unittest.cc', 717 'notifier/invalidation_notifier_unittest.cc',
703 'notifier/invalidator_registrar_unittest.cc', 718 'notifier/invalidator_registrar_unittest.cc',
704 'notifier/non_blocking_invalidator_unittest.cc', 719 'notifier/non_blocking_invalidator_unittest.cc',
705 'notifier/p2p_invalidator_unittest.cc', 720 'notifier/p2p_invalidator_unittest.cc',
706 'notifier/push_client_channel_unittest.cc', 721 'notifier/push_client_channel_unittest.cc',
707 'notifier/registration_manager_unittest.cc', 722 'notifier/registration_manager_unittest.cc',
708 'notifier/sync_invalidation_listener_unittest.cc', 723 'notifier/sync_invalidation_listener_unittest.cc',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 'internal_api/public/change_record_unittest.cc', 781 'internal_api/public/change_record_unittest.cc',
767 'internal_api/debug_info_event_listener_unittest.cc', 782 'internal_api/debug_info_event_listener_unittest.cc',
768 'internal_api/http_bridge_unittest.cc', 783 'internal_api/http_bridge_unittest.cc',
769 'internal_api/js_mutation_event_observer_unittest.cc', 784 'internal_api/js_mutation_event_observer_unittest.cc',
770 'internal_api/js_sync_encryption_handler_observer_unittest.cc', 785 'internal_api/js_sync_encryption_handler_observer_unittest.cc',
771 'internal_api/js_sync_manager_observer_unittest.cc', 786 'internal_api/js_sync_manager_observer_unittest.cc',
772 'internal_api/syncapi_server_connection_manager_unittest.cc', 787 'internal_api/syncapi_server_connection_manager_unittest.cc',
773 'internal_api/sync_encryption_handler_impl_unittest.cc', 788 'internal_api/sync_encryption_handler_impl_unittest.cc',
774 'internal_api/sync_manager_impl_unittest.cc', 789 'internal_api/sync_manager_impl_unittest.cc',
775 ], 790 ],
791 'conditions': [
792 ['OS == "ios"', {
793 'sources!': [
794 'internal_api/http_bridge_unittest.cc',
795 ],
796 }],
797 ],
776 }, 798 },
777 }, 799 },
778 800
779 # Unit tests for the 'syncapi_service' target. This cannot be a static 801 # Unit tests for the 'syncapi_service' target. This cannot be a static
780 # library because the unit test files have to be compiled directly 802 # library because the unit test files have to be compiled directly
781 # into the executable, so we push the target files to the 803 # into the executable, so we push the target files to the
782 # depending executable target via direct_dependent_settings. 804 # depending executable target via direct_dependent_settings.
783 { 805 {
784 'target_name': 'syncapi_service_tests', 806 'target_name': 'syncapi_service_tests',
785 'type': 'none', 807 'type': 'none',
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 'variables': { 928 'variables': {
907 'test_suite_name': 'sync_unit_tests', 929 'test_suite_name': 'sync_unit_tests',
908 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 930 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
909 }, 931 },
910 'includes': [ '../build/apk_test.gypi' ], 932 'includes': [ '../build/apk_test.gypi' ],
911 }, 933 },
912 ], 934 ],
913 }], 935 }],
914 ], 936 ],
915 } 937 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | sync/util/get_session_name.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698