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 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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/notifier/sync_notifier_factory.h ('k') | sync/syncable/DEPS » ('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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'internal_api/public/sessions/syncer_status.cc', 46 'internal_api/public/sessions/syncer_status.cc',
47 'internal_api/public/sessions/syncer_status.h', 47 'internal_api/public/sessions/syncer_status.h',
48 'internal_api/public/sessions/sync_session_snapshot.cc', 48 'internal_api/public/sessions/sync_session_snapshot.cc',
49 'internal_api/public/sessions/sync_session_snapshot.h', 49 'internal_api/public/sessions/sync_session_snapshot.h',
50 'internal_api/public/sessions/sync_source_info.cc', 50 'internal_api/public/sessions/sync_source_info.cc',
51 'internal_api/public/sessions/sync_source_info.h', 51 'internal_api/public/sessions/sync_source_info.h',
52 'internal_api/public/syncable/model_type.h', 52 'internal_api/public/syncable/model_type.h',
53 'internal_api/public/syncable/model_type_payload_map.cc', 53 'internal_api/public/syncable/model_type_payload_map.cc',
54 'internal_api/public/syncable/model_type_payload_map.h', 54 'internal_api/public/syncable/model_type_payload_map.h',
55 'internal_api/public/util/enum_set.h', 55 'internal_api/public/util/enum_set.h',
56 'internal_api/public/util/experiments.h',
57 'internal_api/public/util/immutable.h',
56 'internal_api/public/util/syncer_error.cc', 58 'internal_api/public/util/syncer_error.cc',
57 'internal_api/public/util/syncer_error.h', 59 'internal_api/public/util/syncer_error.h',
60 'internal_api/public/util/report_unrecoverable_error_function.h',
61 'internal_api/public/util/unrecoverable_error_handler.h',
62 'internal_api/public/util/unrecoverable_error_info.h',
63 'internal_api/public/util/unrecoverable_error_info.cc',
64 'internal_api/public/util/weak_handle.cc',
65 'internal_api/public/util/weak_handle.h',
58 'engine/all_status.cc', 66 'engine/all_status.cc',
59 'engine/all_status.h', 67 'engine/all_status.h',
60 'engine/apply_updates_command.cc', 68 'engine/apply_updates_command.cc',
61 'engine/apply_updates_command.h', 69 'engine/apply_updates_command.h',
62 'engine/build_commit_command.cc', 70 'engine/build_commit_command.cc',
63 'engine/build_commit_command.h', 71 'engine/build_commit_command.h',
64 'engine/cleanup_disabled_types_command.cc', 72 'engine/cleanup_disabled_types_command.cc',
65 'engine/cleanup_disabled_types_command.h', 73 'engine/cleanup_disabled_types_command.h',
66 'engine/clear_data_command.cc', 74 'engine/clear_data_command.cc',
67 'engine/clear_data_command.h', 75 'engine/clear_data_command.h',
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 'util/cryptographer.cc', 173 'util/cryptographer.cc',
166 'util/cryptographer.h', 174 'util/cryptographer.h',
167 175
168 # TODO(akalin): Figure out a better place to put 176 # TODO(akalin): Figure out a better place to put
169 # data_encryption_win*; it's also used by autofill. 177 # data_encryption_win*; it's also used by autofill.
170 'util/data_encryption_win.cc', 178 'util/data_encryption_win.cc',
171 'util/data_encryption_win.h', 179 'util/data_encryption_win.h',
172 180
173 'util/data_type_histogram.h', 181 'util/data_type_histogram.h',
174 'util/encryptor.h', 182 'util/encryptor.h',
175 'util/experiments.h',
176 'util/extensions_activity_monitor.cc', 183 'util/extensions_activity_monitor.cc',
177 'util/extensions_activity_monitor.h', 184 'util/extensions_activity_monitor.h',
178 'util/get_session_name.cc', 185 'util/get_session_name.cc',
179 'util/get_session_name.h', 186 'util/get_session_name.h',
180 'util/get_session_name_mac.mm', 187 'util/get_session_name_mac.mm',
181 'util/get_session_name_mac.h', 188 'util/get_session_name_mac.h',
182 'util/get_session_name_win.cc', 189 'util/get_session_name_win.cc',
183 'util/get_session_name_win.h', 190 'util/get_session_name_win.h',
184 'util/immutable.h',
185 'util/logging.cc', 191 'util/logging.cc',
186 'util/logging.h', 192 'util/logging.h',
187 'util/nigori.cc', 193 'util/nigori.cc',
188 'util/nigori.h', 194 'util/nigori.h',
189 'util/report_unrecoverable_error_function.h',
190 'util/session_utils_android.cc', 195 'util/session_utils_android.cc',
191 'util/session_utils_android.h', 196 'util/session_utils_android.h',
192 'util/time.cc', 197 'util/time.cc',
193 'util/time.h', 198 'util/time.h',
194 'util/unrecoverable_error_handler.h',
195 'util/unrecoverable_error_info.h',
196 'util/unrecoverable_error_info.cc',
197 'util/weak_handle.cc',
198 'util/weak_handle.h',
199 ], 199 ],
200 }, 200 },
201 201
202 # The sync notifications library. 202 # The sync notifications library.
203 { 203 {
204 'target_name': 'sync_notifier', 204 'target_name': 'sync_notifier',
205 'type': 'static_library', 205 'type': 'static_library',
206 'variables': { 'enable_wexit_time_destructors': 1, }, 206 'variables': { 'enable_wexit_time_destructors': 1, },
207 'include_dirs': [ 207 'include_dirs': [
208 '..', 208 '..',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 'sync', 267 'sync',
268 ], 268 ],
269 'export_dependent_settings': [ 269 'export_dependent_settings': [
270 # Propagate sync_proto since our headers include its generated 270 # Propagate sync_proto since our headers include its generated
271 # files. 271 # files.
272 'protocol/sync_proto.gyp:sync_proto', 272 'protocol/sync_proto.gyp:sync_proto',
273 'sync_notifier', 273 'sync_notifier',
274 'sync', 274 'sync',
275 ], 275 ],
276 'sources': [ 276 'sources': [
277 'internal_api/public/base_node.h',
278 'internal_api/public/base_transaction.h',
279 'internal_api/public/change_record.h',
280 'internal_api/public/configure_reason.h',
281 'internal_api/public/http_post_provider_factory.h',
282 'internal_api/public/http_post_provider_interface.h',
283 'internal_api/public/read_node.h',
284 'internal_api/public/read_transaction.h',
285 'internal_api/public/sync_manager.h',
286 'internal_api/public/user_share.h',
287 'internal_api/public/write_node.h',
288 'internal_api/public/write_transaction.h',
277 'internal_api/base_node.cc', 289 'internal_api/base_node.cc',
278 'internal_api/base_node.h',
279 'internal_api/base_transaction.cc', 290 'internal_api/base_transaction.cc',
280 'internal_api/base_transaction.h',
281 'internal_api/change_record.cc', 291 'internal_api/change_record.cc',
282 'internal_api/change_record.h',
283 'internal_api/change_reorder_buffer.cc', 292 'internal_api/change_reorder_buffer.cc',
284 'internal_api/change_reorder_buffer.h', 293 'internal_api/change_reorder_buffer.h',
285 'internal_api/configure_reason.h',
286 'internal_api/debug_info_event_listener.cc', 294 'internal_api/debug_info_event_listener.cc',
287 'internal_api/debug_info_event_listener.h', 295 'internal_api/debug_info_event_listener.h',
288 'internal_api/http_post_provider_factory.h',
289 'internal_api/http_post_provider_interface.h',
290 'internal_api/js_mutation_event_observer.cc', 296 'internal_api/js_mutation_event_observer.cc',
291 'internal_api/js_mutation_event_observer.h', 297 'internal_api/js_mutation_event_observer.h',
292 'internal_api/js_sync_manager_observer.cc', 298 'internal_api/js_sync_manager_observer.cc',
293 'internal_api/js_sync_manager_observer.h', 299 'internal_api/js_sync_manager_observer.h',
294 'internal_api/read_node.cc', 300 'internal_api/read_node.cc',
295 'internal_api/read_node.h',
296 'internal_api/read_transaction.cc', 301 'internal_api/read_transaction.cc',
297 'internal_api/read_transaction.h',
298 'internal_api/syncapi_internal.cc', 302 'internal_api/syncapi_internal.cc',
299 'internal_api/syncapi_internal.h', 303 'internal_api/syncapi_internal.h',
300 'internal_api/syncapi_server_connection_manager.cc', 304 'internal_api/syncapi_server_connection_manager.cc',
301 'internal_api/syncapi_server_connection_manager.h', 305 'internal_api/syncapi_server_connection_manager.h',
302 'internal_api/sync_manager.cc', 306 'internal_api/sync_manager.cc',
303 'internal_api/sync_manager.h',
304 'internal_api/user_share.cc', 307 'internal_api/user_share.cc',
305 'internal_api/user_share.h',
306 'internal_api/write_node.cc', 308 'internal_api/write_node.cc',
307 'internal_api/write_node.h',
308 'internal_api/write_transaction.cc', 309 'internal_api/write_transaction.cc',
309 'internal_api/write_transaction.h',
310 ], 310 ],
311 }, 311 },
312 312
313 # The sync external API library. 313 # The sync external API library.
314 { 314 {
315 'target_name': 'syncapi_service', 315 'target_name': 'syncapi_service',
316 'type': 'static_library', 316 'type': 'static_library',
317 'variables': { 'enable_wexit_time_destructors': 1, }, 317 'variables': { 'enable_wexit_time_destructors': 1, },
318 'include_dirs': [ 318 'include_dirs': [
319 '..', 319 '..',
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 '../testing/gtest.gyp:gtest', 438 '../testing/gtest.gyp:gtest',
439 'syncapi_core', 439 'syncapi_core',
440 'test_support_sync', 440 'test_support_sync',
441 ], 441 ],
442 'export_dependent_settings': [ 442 'export_dependent_settings': [
443 '../testing/gtest.gyp:gtest', 443 '../testing/gtest.gyp:gtest',
444 'syncapi_core', 444 'syncapi_core',
445 'test_support_sync', 445 'test_support_sync',
446 ], 446 ],
447 'sources': [ 447 'sources': [
448 'internal_api/test_user_share.cc', 448 'internal_api/public/test/test_user_share.h',
449 'internal_api/test_user_share.h', 449 'internal_api/test/test_user_share.cc',
450 ], 450 ],
451 }, 451 },
452 452
453 # Test support files for the 'syncapi_service' target. 453 # Test support files for the 'syncapi_service' target.
454 { 454 {
455 'target_name': 'test_support_syncapi_service', 455 'target_name': 'test_support_syncapi_service',
456 'type': 'static_library', 456 'type': 'static_library',
457 'include_dirs': [ 457 'include_dirs': [
458 '..', 458 '..',
459 ], 459 ],
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 ], 502 ],
503 'direct_dependent_settings': { 503 'direct_dependent_settings': {
504 'variables': { 'enable_wexit_time_destructors': 1, }, 504 'variables': { 'enable_wexit_time_destructors': 1, },
505 'include_dirs': [ 505 'include_dirs': [
506 '..', 506 '..',
507 ], 507 ],
508 'sources': [ 508 'sources': [
509 'internal_api/public/engine/model_safe_worker_unittest.cc', 509 'internal_api/public/engine/model_safe_worker_unittest.cc',
510 'internal_api/public/syncable/model_type_payload_map_unittest.cc', 510 'internal_api/public/syncable/model_type_payload_map_unittest.cc',
511 'internal_api/public/util/enum_set_unittest.cc', 511 'internal_api/public/util/enum_set_unittest.cc',
512 'internal_api/public/util/immutable_unittest.cc',
512 'engine/apply_updates_command_unittest.cc', 513 'engine/apply_updates_command_unittest.cc',
513 'engine/build_commit_command_unittest.cc', 514 'engine/build_commit_command_unittest.cc',
514 'engine/cleanup_disabled_types_command_unittest.cc', 515 'engine/cleanup_disabled_types_command_unittest.cc',
515 'engine/clear_data_command_unittest.cc', 516 'engine/clear_data_command_unittest.cc',
516 'engine/download_updates_command_unittest.cc', 517 'engine/download_updates_command_unittest.cc',
517 'engine/model_changing_syncer_command_unittest.cc', 518 'engine/model_changing_syncer_command_unittest.cc',
518 'engine/nigori_util_unittest.cc', 519 'engine/nigori_util_unittest.cc',
519 'engine/process_commit_response_command_unittest.cc', 520 'engine/process_commit_response_command_unittest.cc',
520 'engine/process_updates_command_unittest.cc', 521 'engine/process_updates_command_unittest.cc',
521 'engine/resolve_conflicts_command_unittest.cc', 522 'engine/resolve_conflicts_command_unittest.cc',
(...skipping 16 matching lines...) Expand all
538 'sessions/sync_session_unittest.cc', 539 'sessions/sync_session_unittest.cc',
539 'syncable/directory_backing_store_unittest.cc', 540 'syncable/directory_backing_store_unittest.cc',
540 'syncable/model_type_unittest.cc', 541 'syncable/model_type_unittest.cc',
541 'syncable/syncable_enum_conversions_unittest.cc', 542 'syncable/syncable_enum_conversions_unittest.cc',
542 'syncable/syncable_id_unittest.cc', 543 'syncable/syncable_id_unittest.cc',
543 'syncable/syncable_unittest.cc', 544 'syncable/syncable_unittest.cc',
544 'util/cryptographer_unittest.cc', 545 'util/cryptographer_unittest.cc',
545 'util/data_encryption_win_unittest.cc', 546 'util/data_encryption_win_unittest.cc',
546 'util/data_type_histogram_unittest.cc', 547 'util/data_type_histogram_unittest.cc',
547 'util/get_session_name_unittest.cc', 548 'util/get_session_name_unittest.cc',
548 'util/immutable_unittest.cc',
549 'util/nigori_unittest.cc', 549 'util/nigori_unittest.cc',
550 'util/protobuf_unittest.cc', 550 'util/protobuf_unittest.cc',
551 'util/weak_handle_unittest.cc', 551 'internal_api/public/util/weak_handle_unittest.cc',
552 ], 552 ],
553 }, 553 },
554 }, 554 },
555 555
556 # Unit tests for the 'sync_notifier' target. This cannot be a static 556 # Unit tests for the 'sync_notifier' target. This cannot be a static
557 # library because the unit test files have to be compiled directly 557 # library because the unit test files have to be compiled directly
558 # into the executable, so we push the target files to the 558 # into the executable, so we push the target files to the
559 # depending executable target via direct_dependent_settings. 559 # depending executable target via direct_dependent_settings.
560 { 560 {
561 'target_name': 'sync_notifier_tests', 561 'target_name': 'sync_notifier_tests',
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 'sync_notifier', 644 'sync_notifier',
645 'syncapi_core', 645 'syncapi_core',
646 'test_support_syncapi_core', 646 'test_support_syncapi_core',
647 ], 647 ],
648 'direct_dependent_settings': { 648 'direct_dependent_settings': {
649 'variables': { 'enable_wexit_time_destructors': 1, }, 649 'variables': { 'enable_wexit_time_destructors': 1, },
650 'include_dirs': [ 650 'include_dirs': [
651 '..', 651 '..',
652 ], 652 ],
653 'sources': [ 653 'sources': [
654 'internal_api/change_record_unittest.cc', 654 'internal_api/public/change_record_unittest.cc',
655 'internal_api/debug_info_event_listener_unittest.cc', 655 'internal_api/debug_info_event_listener_unittest.cc',
656 'internal_api/js_mutation_event_observer_unittest.cc', 656 'internal_api/js_mutation_event_observer_unittest.cc',
657 'internal_api/js_sync_manager_observer_unittest.cc', 657 'internal_api/js_sync_manager_observer_unittest.cc',
658 'internal_api/syncapi_server_connection_manager_unittest.cc', 658 'internal_api/syncapi_server_connection_manager_unittest.cc',
659 'internal_api/syncapi_unittest.cc', 659 'internal_api/syncapi_unittest.cc',
660 ], 660 ],
661 }, 661 },
662 }, 662 },
663 663
664 # Unit tests for the 'syncapi_service' target. This cannot be a static 664 # Unit tests for the 'syncapi_service' target. This cannot be a static
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 'test_suite_name': 'sync_unit_tests', 768 'test_suite_name': 'sync_unit_tests',
769 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 769 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
770 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] , 770 'input_jars_paths': [ '<(PRODUCT_DIR)/lib.java/chromium_base.jar', ] ,
771 }, 771 },
772 'includes': [ '../build/apk_test.gypi' ], 772 'includes': [ '../build/apk_test.gypi' ],
773 }, 773 },
774 ], 774 ],
775 }], 775 }],
776 ], 776 ],
777 } 777 }
OLDNEW
« no previous file with comments | « sync/notifier/sync_notifier_factory.h ('k') | sync/syncable/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698