| OLD | NEW |
| 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. |
| 11 # | |
| 12 # TODO(akalin): Rename this to something like 'sync_core' and | |
| 13 # reserve the 'sync' name for the overarching library that clients | |
| 14 # should depend on. | |
| 15 { | 11 { |
| 16 'target_name': 'sync', | 12 'target_name': 'sync_core', |
| 17 # TODO(akalin): Change this to '<(component)'. When we rename | |
| 18 # this to 'sync_core' and make the overarching 'sync' library, | |
| 19 # make that one '<(component)'. | |
| 20 'type': 'static_library', | 13 'type': 'static_library', |
| 21 'variables': { 'enable_wexit_time_destructors': 1, }, | 14 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 22 'include_dirs': [ | 15 'include_dirs': [ |
| 23 '..', | 16 '..', |
| 24 ], | 17 ], |
| 25 'defines': [ | 18 'defines': [ |
| 26 'SYNC_IMPLEMENTATION', | 19 'SYNC_IMPLEMENTATION', |
| 27 ], | 20 ], |
| 28 'dependencies': [ | 21 'dependencies': [ |
| 29 '../base/base.gyp:base', | 22 '../base/base.gyp:base', |
| 30 '../build/temp_gyp/googleurl.gyp:googleurl', | 23 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 31 '../crypto/crypto.gyp:crypto', | 24 '../crypto/crypto.gyp:crypto', |
| 32 '../google_apis/google_apis.gyp:google_apis', | 25 '../google_apis/google_apis.gyp:google_apis', |
| 33 '../net/net.gyp:net', | 26 '../net/net.gyp:net', |
| 34 '../sql/sql.gyp:sql', | 27 '../sql/sql.gyp:sql', |
| 35 'protocol/sync_proto.gyp:sync_proto', | 28 'protocol/sync_proto.gyp:sync_proto', |
| 36 ], | 29 ], |
| 37 'export_dependent_settings': [ | 30 'export_dependent_settings': [ |
| 38 # Propagate sync_proto since our headers include its generated | 31 # Propagate sync_proto since our headers include its generated |
| 39 # files. | 32 # files. |
| 40 'protocol/sync_proto.gyp:sync_proto', | 33 'protocol/sync_proto.gyp:sync_proto', |
| 41 ], | 34 ], |
| 42 'sources': [ | 35 'sources': [ |
| 43 'base/sync_export.h', | 36 'base/sync_export.h', |
| 44 'internal_api/public/base/enum_set.h', | |
| 45 'internal_api/public/base/invalidation.cc', | |
| 46 'internal_api/public/base/invalidation.h', | |
| 47 'internal_api/public/base/model_type.h', | |
| 48 'internal_api/public/base/model_type_invalidation_map.cc', | |
| 49 'internal_api/public/base/model_type_invalidation_map.h', | |
| 50 'internal_api/public/base/node_ordinal.cc', | |
| 51 'internal_api/public/base/node_ordinal.h', | |
| 52 'internal_api/public/base/ordinal.h', | |
| 53 'internal_api/public/base/progress_marker_map.cc', | |
| 54 'internal_api/public/base/progress_marker_map.h', | |
| 55 'internal_api/public/engine/model_safe_worker.cc', | |
| 56 'internal_api/public/engine/model_safe_worker.h', | |
| 57 'internal_api/public/engine/passive_model_worker.cc', | |
| 58 'internal_api/public/engine/passive_model_worker.h', | |
| 59 'internal_api/public/engine/polling_constants.cc', | |
| 60 'internal_api/public/engine/polling_constants.h', | |
| 61 'internal_api/public/engine/sync_status.cc', | |
| 62 'internal_api/public/engine/sync_status.h', | |
| 63 'internal_api/public/sessions/model_neutral_state.cc', | |
| 64 'internal_api/public/sessions/model_neutral_state.h', | |
| 65 'internal_api/public/sessions/sync_session_snapshot.cc', | |
| 66 'internal_api/public/sessions/sync_session_snapshot.h', | |
| 67 'internal_api/public/sessions/sync_source_info.cc', | |
| 68 'internal_api/public/sessions/sync_source_info.h', | |
| 69 'internal_api/public/util/experiments.h', | |
| 70 'internal_api/public/util/immutable.h', | |
| 71 'internal_api/public/util/syncer_error.cc', | |
| 72 'internal_api/public/util/syncer_error.h', | |
| 73 'internal_api/public/util/sync_string_conversions.cc', | |
| 74 'internal_api/public/util/sync_string_conversions.h', | |
| 75 'internal_api/public/util/report_unrecoverable_error_function.h', | |
| 76 'internal_api/public/util/unrecoverable_error_handler.h', | |
| 77 'internal_api/public/util/unrecoverable_error_info.h', | |
| 78 'internal_api/public/util/unrecoverable_error_info.cc', | |
| 79 'internal_api/public/util/weak_handle.cc', | |
| 80 'internal_api/public/util/weak_handle.h', | |
| 81 'engine/all_status.cc', | 37 'engine/all_status.cc', |
| 82 'engine/all_status.h', | 38 'engine/all_status.h', |
| 83 'engine/apply_control_data_updates.cc', | 39 'engine/apply_control_data_updates.cc', |
| 84 'engine/apply_control_data_updates.h', | 40 'engine/apply_control_data_updates.h', |
| 85 'engine/apply_updates_and_resolve_conflicts_command.cc', | 41 'engine/apply_updates_and_resolve_conflicts_command.cc', |
| 86 'engine/apply_updates_and_resolve_conflicts_command.h', | 42 'engine/apply_updates_and_resolve_conflicts_command.h', |
| 87 'engine/backoff_delay_provider.cc', | 43 'engine/backoff_delay_provider.cc', |
| 88 'engine/backoff_delay_provider.h', | 44 'engine/backoff_delay_provider.h', |
| 89 'engine/build_commit_command.cc', | 45 'engine/build_commit_command.cc', |
| 90 'engine/build_commit_command.h', | 46 'engine/build_commit_command.h', |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 'include_dirs': [ | 201 'include_dirs': [ |
| 246 '..', | 202 '..', |
| 247 ], | 203 ], |
| 248 'dependencies': [ | 204 'dependencies': [ |
| 249 '../base/base.gyp:base', | 205 '../base/base.gyp:base', |
| 250 '../jingle/jingle.gyp:jingle_glue', | 206 '../jingle/jingle.gyp:jingle_glue', |
| 251 '../jingle/jingle.gyp:notifier', | 207 '../jingle/jingle.gyp:notifier', |
| 252 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 208 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 253 # TODO(akalin): Remove this (http://crbug.com/133352). | 209 # TODO(akalin): Remove this (http://crbug.com/133352). |
| 254 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 210 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
| 255 'sync', | 211 'sync_core', |
| 256 ], | 212 ], |
| 257 'export_dependent_settings': [ | 213 'export_dependent_settings': [ |
| 258 '../jingle/jingle.gyp:notifier', | 214 '../jingle/jingle.gyp:notifier', |
| 259 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 215 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 260 ], | 216 ], |
| 261 'sources': [ | 217 'sources': [ |
| 262 'notifier/invalidation_handler.h', | 218 'notifier/invalidation_handler.h', |
| 263 'notifier/invalidation_util.cc', | 219 'notifier/invalidation_util.cc', |
| 264 'notifier/invalidation_util.h', | 220 'notifier/invalidation_util.h', |
| 265 'notifier/invalidator_factory.cc', | 221 'notifier/invalidator_factory.cc', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 }], | 253 }], |
| 298 ['OS != "ios"', { | 254 ['OS != "ios"', { |
| 299 'dependencies': [ | 255 'dependencies': [ |
| 300 '../third_party/libjingle/libjingle.gyp:libjingle', | 256 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 301 ], | 257 ], |
| 302 }], | 258 }], |
| 303 ], | 259 ], |
| 304 }, | 260 }, |
| 305 # The sync internal API library. | 261 # The sync internal API library. |
| 306 { | 262 { |
| 307 'target_name': 'syncapi_core', | 263 'target_name': 'sync_internal_api', |
| 308 'type': 'static_library', | 264 'type': 'static_library', |
| 309 'variables': { 'enable_wexit_time_destructors': 1, }, | 265 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 310 'include_dirs': [ | 266 'include_dirs': [ |
| 311 '..', | 267 '..', |
| 312 ], | 268 ], |
| 313 'dependencies': [ | 269 'dependencies': [ |
| 314 '../base/base.gyp:base', | 270 '../base/base.gyp:base', |
| 315 '../build/temp_gyp/googleurl.gyp:googleurl', | 271 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 316 '../net/net.gyp:net', | 272 '../net/net.gyp:net', |
| 317 'protocol/sync_proto.gyp:sync_proto', | 273 'protocol/sync_proto.gyp:sync_proto', |
| 274 'sync_core', |
| 318 'sync_notifier', | 275 'sync_notifier', |
| 319 'sync', | |
| 320 ], | 276 ], |
| 321 'export_dependent_settings': [ | 277 'export_dependent_settings': [ |
| 322 # Propagate sync_proto since our headers include its generated | 278 # Propagate sync_proto since our headers include its generated |
| 323 # files. | 279 # files. |
| 324 'protocol/sync_proto.gyp:sync_proto', | 280 'protocol/sync_proto.gyp:sync_proto', |
| 325 'sync', | 281 'sync_core', |
| 326 ], | 282 ], |
| 327 'sources': [ | 283 'sources': [ |
| 328 'internal_api/public/base_node.h', | |
| 329 'internal_api/public/base_transaction.h', | |
| 330 'internal_api/public/change_record.h', | |
| 331 'internal_api/public/configure_reason.h', | |
| 332 'internal_api/public/data_type_association_stats.cc', | |
| 333 'internal_api/public/data_type_association_stats.h', | |
| 334 'internal_api/public/data_type_debug_info_listener.h', | |
| 335 'internal_api/public/http_bridge.h', | |
| 336 'internal_api/public/http_post_provider_factory.h', | |
| 337 'internal_api/public/http_post_provider_interface.h', | |
| 338 'internal_api/public/internal_components_factory.h', | |
| 339 'internal_api/public/internal_components_factory_impl.h', | |
| 340 'internal_api/public/read_node.h', | |
| 341 'internal_api/public/read_transaction.h', | |
| 342 'internal_api/public/sync_manager.h', | |
| 343 'internal_api/public/sync_encryption_handler.cc', | |
| 344 'internal_api/public/sync_encryption_handler.h', | |
| 345 'internal_api/public/sync_manager.cc', | |
| 346 'internal_api/public/sync_manager_factory.h', | |
| 347 'internal_api/public/user_share.h', | |
| 348 'internal_api/public/write_node.h', | |
| 349 'internal_api/public/write_transaction.h', | |
| 350 'internal_api/base_node.cc', | 284 'internal_api/base_node.cc', |
| 351 'internal_api/base_transaction.cc', | 285 'internal_api/base_transaction.cc', |
| 352 'internal_api/change_record.cc', | 286 'internal_api/change_record.cc', |
| 353 'internal_api/change_reorder_buffer.cc', | 287 'internal_api/change_reorder_buffer.cc', |
| 354 'internal_api/change_reorder_buffer.h', | 288 'internal_api/change_reorder_buffer.h', |
| 355 'internal_api/debug_info_event_listener.cc', | 289 'internal_api/debug_info_event_listener.cc', |
| 356 'internal_api/debug_info_event_listener.h', | 290 'internal_api/debug_info_event_listener.h', |
| 357 'internal_api/http_bridge.cc', | 291 'internal_api/http_bridge.cc', |
| 358 'internal_api/internal_components_factory_impl.cc', | 292 'internal_api/internal_components_factory_impl.cc', |
| 359 'internal_api/js_mutation_event_observer.cc', | 293 'internal_api/js_mutation_event_observer.cc', |
| 360 'internal_api/js_mutation_event_observer.h', | 294 'internal_api/js_mutation_event_observer.h', |
| 361 'internal_api/js_sync_encryption_handler_observer.cc', | 295 'internal_api/js_sync_encryption_handler_observer.cc', |
| 362 'internal_api/js_sync_encryption_handler_observer.h', | 296 'internal_api/js_sync_encryption_handler_observer.h', |
| 363 'internal_api/js_sync_manager_observer.cc', | 297 'internal_api/js_sync_manager_observer.cc', |
| 364 'internal_api/js_sync_manager_observer.h', | 298 'internal_api/js_sync_manager_observer.h', |
| 299 'internal_api/public/base_node.h', |
| 300 'internal_api/public/base_transaction.h', |
| 301 'internal_api/public/base/enum_set.h', |
| 302 'internal_api/public/base/invalidation.cc', |
| 303 'internal_api/public/base/invalidation.h', |
| 304 'internal_api/public/base/model_type_invalidation_map.cc', |
| 305 'internal_api/public/base/model_type_invalidation_map.h', |
| 306 'internal_api/public/base/model_type.h', |
| 307 'internal_api/public/base/node_ordinal.cc', |
| 308 'internal_api/public/base/node_ordinal.h', |
| 309 'internal_api/public/base/ordinal.h', |
| 310 'internal_api/public/base/progress_marker_map.cc', |
| 311 'internal_api/public/base/progress_marker_map.h', |
| 312 'internal_api/public/change_record.h', |
| 313 'internal_api/public/configure_reason.h', |
| 314 'internal_api/public/data_type_association_stats.cc', |
| 315 'internal_api/public/data_type_association_stats.h', |
| 316 'internal_api/public/data_type_debug_info_listener.h', |
| 317 'internal_api/public/engine/model_safe_worker.cc', |
| 318 'internal_api/public/engine/model_safe_worker.h', |
| 319 'internal_api/public/engine/passive_model_worker.cc', |
| 320 'internal_api/public/engine/passive_model_worker.h', |
| 321 'internal_api/public/engine/polling_constants.cc', |
| 322 'internal_api/public/engine/polling_constants.h', |
| 323 'internal_api/public/engine/sync_status.cc', |
| 324 'internal_api/public/engine/sync_status.h', |
| 325 'internal_api/public/http_bridge.h', |
| 326 'internal_api/public/http_post_provider_factory.h', |
| 327 'internal_api/public/http_post_provider_interface.h', |
| 328 'internal_api/public/internal_components_factory_impl.h', |
| 329 'internal_api/public/internal_components_factory.h', |
| 330 'internal_api/public/read_node.h', |
| 331 'internal_api/public/read_transaction.h', |
| 332 'internal_api/public/sessions/model_neutral_state.cc', |
| 333 'internal_api/public/sessions/model_neutral_state.h', |
| 334 'internal_api/public/sessions/sync_session_snapshot.cc', |
| 335 'internal_api/public/sessions/sync_session_snapshot.h', |
| 336 'internal_api/public/sessions/sync_source_info.cc', |
| 337 'internal_api/public/sessions/sync_source_info.h', |
| 338 'internal_api/public/sync_encryption_handler.cc', |
| 339 'internal_api/public/sync_encryption_handler.h', |
| 340 'internal_api/public/sync_manager_factory.h', |
| 341 'internal_api/public/sync_manager.cc', |
| 342 'internal_api/public/sync_manager.h', |
| 343 'internal_api/public/user_share.h', |
| 344 'internal_api/public/util/experiments.h', |
| 345 'internal_api/public/util/immutable.h', |
| 346 'internal_api/public/util/report_unrecoverable_error_function.h', |
| 347 'internal_api/public/util/sync_string_conversions.cc', |
| 348 'internal_api/public/util/sync_string_conversions.h', |
| 349 'internal_api/public/util/syncer_error.cc', |
| 350 'internal_api/public/util/syncer_error.h', |
| 351 'internal_api/public/util/unrecoverable_error_handler.h', |
| 352 'internal_api/public/util/unrecoverable_error_info.cc', |
| 353 'internal_api/public/util/unrecoverable_error_info.h', |
| 354 'internal_api/public/util/weak_handle.cc', |
| 355 'internal_api/public/util/weak_handle.h', |
| 356 'internal_api/public/write_node.h', |
| 357 'internal_api/public/write_transaction.h', |
| 365 'internal_api/read_node.cc', | 358 'internal_api/read_node.cc', |
| 366 'internal_api/read_transaction.cc', | 359 'internal_api/read_transaction.cc', |
| 367 'internal_api/syncapi_internal.cc', | |
| 368 'internal_api/syncapi_internal.h', | |
| 369 'internal_api/syncapi_server_connection_manager.cc', | |
| 370 'internal_api/syncapi_server_connection_manager.h', | |
| 371 'internal_api/sync_encryption_handler_impl.cc', | 360 'internal_api/sync_encryption_handler_impl.cc', |
| 372 'internal_api/sync_encryption_handler_impl.h', | 361 'internal_api/sync_encryption_handler_impl.h', |
| 373 'internal_api/sync_manager_factory.cc', | 362 'internal_api/sync_manager_factory.cc', |
| 374 'internal_api/sync_manager_impl.cc', | 363 'internal_api/sync_manager_impl.cc', |
| 375 'internal_api/sync_manager_impl.h', | 364 'internal_api/sync_manager_impl.h', |
| 365 'internal_api/syncapi_internal.cc', |
| 366 'internal_api/syncapi_internal.h', |
| 367 'internal_api/syncapi_server_connection_manager.cc', |
| 368 'internal_api/syncapi_server_connection_manager.h', |
| 376 'internal_api/user_share.cc', | 369 'internal_api/user_share.cc', |
| 377 'internal_api/write_node.cc', | 370 'internal_api/write_node.cc', |
| 378 'internal_api/write_transaction.cc', | 371 'internal_api/write_transaction.cc', |
| 379 ], | 372 ], |
| 380 }, | 373 }, |
| 381 | 374 |
| 382 # The sync external API library. | 375 # The sync external API library. |
| 383 { | 376 { |
| 384 'target_name': 'syncapi_service', | 377 'target_name': 'sync_api', |
| 385 'type': 'static_library', | 378 'type': 'static_library', |
| 386 'variables': { 'enable_wexit_time_destructors': 1, }, | 379 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 387 'include_dirs': [ | 380 'include_dirs': [ |
| 388 '..', | 381 '..', |
| 389 ], | 382 ], |
| 390 'dependencies': [ | 383 'dependencies': [ |
| 391 '../base/base.gyp:base', | 384 '../base/base.gyp:base', |
| 392 'protocol/sync_proto.gyp:sync_proto', | 385 'protocol/sync_proto.gyp:sync_proto', |
| 393 'sync', | 386 'sync_internal_api', |
| 394 ], | 387 ], |
| 395 # We avoid including header files from sync_proto in our public | 388 # We avoid including header files from sync_proto in our public |
| 396 # header files so we don't need to export its settings. | 389 # header files so we don't need to export its settings. |
| 397 'sources': [ | 390 'sources': [ |
| 398 'api/string_ordinal.h', | 391 'api/string_ordinal.h', |
| 399 'api/syncable_service.cc', | 392 'api/syncable_service.cc', |
| 400 'api/syncable_service.h', | 393 'api/syncable_service.h', |
| 401 'api/sync_data.h', | 394 'api/sync_data.h', |
| 402 'api/sync_data.cc', | 395 'api/sync_data.cc', |
| 403 'api/sync_change.h', | 396 'api/sync_change.h', |
| 404 'api/sync_change.cc', | 397 'api/sync_change.cc', |
| 405 'api/sync_change_processor.h', | 398 'api/sync_change_processor.h', |
| 406 'api/sync_change_processor.cc', | 399 'api/sync_change_processor.cc', |
| 407 'api/sync_error.h', | 400 'api/sync_error.h', |
| 408 'api/sync_error.cc', | 401 'api/sync_error.cc', |
| 409 'api/sync_error_factory.h', | 402 'api/sync_error_factory.h', |
| 410 'api/sync_error_factory.cc', | 403 'api/sync_error_factory.cc', |
| 411 'api/time.h', | 404 'api/time.h', |
| 412 ], | 405 ], |
| 413 }, | 406 }, |
| 414 | 407 |
| 415 # Test support files for the 'sync' target. | 408 # The componentized sync library. |
| 416 { | 409 { |
| 417 'target_name': 'test_support_sync', | 410 'target_name': 'sync_component', |
| 411 # TODO(rsimha): Change the type of this target to '<(component)' after |
| 412 # exporting dependencies on 'sync_proto'. |
| 413 'type': 'none', |
| 414 'dependencies': [ |
| 415 'sync_api', |
| 416 'sync_core', |
| 417 'sync_notifier', |
| 418 'sync_internal_api', |
| 419 ], |
| 420 'export_dependent_settings': [ |
| 421 'sync_api', |
| 422 'sync_core', |
| 423 'sync_notifier', |
| 424 'sync_internal_api', |
| 425 ], |
| 426 }, |
| 427 |
| 428 # The public sync target. This depends on 'sync_component' and |
| 429 # 'sync_proto' separately since 'sync_proto' isn't exportable from |
| 430 # 'sync_component' (for now). |
| 431 { |
| 432 'target_name': 'sync', |
| 433 'type': 'none', |
| 434 'dependencies': [ |
| 435 'sync_component', |
| 436 'protocol/sync_proto.gyp:sync_proto', |
| 437 ], |
| 438 'export_dependent_settings': [ |
| 439 'sync_component', |
| 440 'protocol/sync_proto.gyp:sync_proto', |
| 441 ], |
| 442 }, |
| 443 |
| 444 # Test support files for the 'sync_core' target. |
| 445 { |
| 446 'target_name': 'test_support_sync_core', |
| 418 'type': 'static_library', | 447 'type': 'static_library', |
| 419 'variables': { 'enable_wexit_time_destructors': 1, }, | 448 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 420 'include_dirs': [ | 449 'include_dirs': [ |
| 421 '..', | 450 '..', |
| 422 ], | 451 ], |
| 423 'dependencies': [ | 452 'dependencies': [ |
| 424 '../base/base.gyp:base', | 453 '../base/base.gyp:base', |
| 425 '../testing/gmock.gyp:gmock', | 454 '../testing/gmock.gyp:gmock', |
| 426 '../testing/gtest.gyp:gtest', | 455 '../testing/gtest.gyp:gtest', |
| 427 'protocol/sync_proto.gyp:sync_proto', | 456 'protocol/sync_proto.gyp:sync_proto', |
| 428 'sync', | 457 'sync_core', |
| 429 ], | 458 ], |
| 430 'export_dependent_settings': [ | 459 'export_dependent_settings': [ |
| 431 '../testing/gmock.gyp:gmock', | 460 '../testing/gmock.gyp:gmock', |
| 432 '../testing/gtest.gyp:gtest', | 461 '../testing/gtest.gyp:gtest', |
| 433 'protocol/sync_proto.gyp:sync_proto', | 462 'protocol/sync_proto.gyp:sync_proto', |
| 434 'sync', | 463 'sync_core', |
| 435 ], | 464 ], |
| 436 'sources': [ | 465 'sources': [ |
| 437 'internal_api/public/base/invalidation_test_util.cc', | |
| 438 'internal_api/public/base/invalidation_test_util.h', | |
| 439 'internal_api/public/base/model_type_invalidation_map_test_util.cc', | |
| 440 'internal_api/public/base/model_type_invalidation_map_test_util.h', | |
| 441 'internal_api/public/base/model_type_test_util.cc', | |
| 442 'internal_api/public/base/model_type_test_util.h', | |
| 443 'internal_api/public/sessions/sync_source_info_unittest.cc', | |
| 444 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', | |
| 445 'js/js_test_util.cc', | 466 'js/js_test_util.cc', |
| 446 'js/js_test_util.h', | 467 'js/js_test_util.h', |
| 447 'sessions/test_util.cc', | 468 'sessions/test_util.cc', |
| 448 'sessions/test_util.h', | 469 'sessions/test_util.h', |
| 449 'syncable/syncable_mock.cc', | 470 'syncable/syncable_mock.cc', |
| 450 'syncable/syncable_mock.h', | 471 'syncable/syncable_mock.h', |
| 451 'test/callback_counter.h', | 472 'test/callback_counter.h', |
| 452 'test/engine/fake_model_worker.cc', | 473 'test/engine/fake_model_worker.cc', |
| 453 'test/engine/fake_model_worker.h', | 474 'test/engine/fake_model_worker.h', |
| 454 'test/engine/fake_sync_scheduler.cc', | 475 'test/engine/fake_sync_scheduler.cc', |
| (...skipping 28 matching lines...) Expand all Loading... |
| 483 # Test support files for the 'sync_notifier' target. | 504 # Test support files for the 'sync_notifier' target. |
| 484 { | 505 { |
| 485 'target_name': 'test_support_sync_notifier', | 506 'target_name': 'test_support_sync_notifier', |
| 486 'type': 'static_library', | 507 'type': 'static_library', |
| 487 'include_dirs': [ | 508 'include_dirs': [ |
| 488 '..', | 509 '..', |
| 489 ], | 510 ], |
| 490 'dependencies': [ | 511 'dependencies': [ |
| 491 '../testing/gmock.gyp:gmock', | 512 '../testing/gmock.gyp:gmock', |
| 492 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 513 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
| 514 'sync_internal_api', |
| 493 'sync_notifier', | 515 'sync_notifier', |
| 494 ], | 516 ], |
| 495 'export_dependent_settings': [ | 517 'export_dependent_settings': [ |
| 496 '../testing/gmock.gyp:gmock', | 518 '../testing/gmock.gyp:gmock', |
| 497 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 519 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
| 520 'sync_internal_api', |
| 498 'sync_notifier', | 521 'sync_notifier', |
| 499 ], | 522 ], |
| 500 'sources': [ | 523 'sources': [ |
| 501 'notifier/fake_invalidation_state_tracker.cc', | 524 'notifier/fake_invalidation_state_tracker.cc', |
| 502 'notifier/fake_invalidation_state_tracker.h', | 525 'notifier/fake_invalidation_state_tracker.h', |
| 503 'notifier/fake_invalidator.cc', | 526 'notifier/fake_invalidator.cc', |
| 504 'notifier/fake_invalidator.h', | 527 'notifier/fake_invalidator.h', |
| 505 'notifier/fake_invalidation_handler.cc', | 528 'notifier/fake_invalidation_handler.cc', |
| 506 'notifier/fake_invalidation_handler.h', | 529 'notifier/fake_invalidation_handler.h', |
| 507 'notifier/invalidator_test_template.cc', | 530 'notifier/invalidator_test_template.cc', |
| 508 'notifier/invalidator_test_template.h', | 531 'notifier/invalidator_test_template.h', |
| 509 'notifier/object_id_invalidation_map_test_util.cc', | 532 'notifier/object_id_invalidation_map_test_util.cc', |
| 510 'notifier/object_id_invalidation_map_test_util.h', | 533 'notifier/object_id_invalidation_map_test_util.h', |
| 511 ], | 534 ], |
| 512 }, | 535 }, |
| 513 | 536 |
| 514 # Test support files for the 'syncapi_core' target. | 537 # Test support files for the 'sync_internal_api' target. |
| 515 { | 538 { |
| 516 'target_name': 'test_support_syncapi_core', | 539 'target_name': 'test_support_sync_internal_api', |
| 517 'type': 'static_library', | 540 'type': 'static_library', |
| 518 'variables': { 'enable_wexit_time_destructors': 1, }, | 541 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 519 'include_dirs': [ | 542 'include_dirs': [ |
| 520 '..', | 543 '..', |
| 521 ], | 544 ], |
| 522 'dependencies': [ | 545 'dependencies': [ |
| 523 '../base/base.gyp:base', | 546 '../base/base.gyp:base', |
| 524 '../testing/gtest.gyp:gtest', | 547 '../testing/gtest.gyp:gtest', |
| 525 'syncapi_core', | 548 'protocol/sync_proto.gyp:sync_proto', |
| 549 'sync_core', |
| 550 'sync_internal_api', |
| 526 'sync_notifier', | 551 'sync_notifier', |
| 527 'test_support_sync', | 552 'test_support_sync_core', |
| 528 ], | 553 ], |
| 529 'export_dependent_settings': [ | 554 'export_dependent_settings': [ |
| 530 '../testing/gtest.gyp:gtest', | 555 '../testing/gtest.gyp:gtest', |
| 531 'syncapi_core', | 556 'protocol/sync_proto.gyp:sync_proto', |
| 557 'sync_core', |
| 558 'sync_internal_api', |
| 532 'sync_notifier', | 559 'sync_notifier', |
| 533 'test_support_sync', | 560 'test_support_sync_core', |
| 534 ], | 561 ], |
| 535 'sources': [ | 562 'sources': [ |
| 563 'internal_api/public/base/invalidation_test_util.cc', |
| 564 'internal_api/public/base/invalidation_test_util.h', |
| 565 'internal_api/public/base/model_type_invalidation_map_test_util.cc', |
| 566 'internal_api/public/base/model_type_invalidation_map_test_util.h', |
| 567 'internal_api/public/base/model_type_test_util.cc', |
| 568 'internal_api/public/base/model_type_test_util.h', |
| 536 'internal_api/public/test/fake_sync_manager.h', | 569 'internal_api/public/test/fake_sync_manager.h', |
| 537 'internal_api/public/test/test_entry_factory.h', | 570 'internal_api/public/test/test_entry_factory.h', |
| 538 'internal_api/public/test/test_internal_components_factory.h', | 571 'internal_api/public/test/test_internal_components_factory.h', |
| 539 'internal_api/public/test/test_user_share.h', | 572 'internal_api/public/test/test_user_share.h', |
| 540 'internal_api/test/fake_sync_manager.cc', | 573 'internal_api/test/fake_sync_manager.cc', |
| 541 'internal_api/test/test_entry_factory.cc', | 574 'internal_api/test/test_entry_factory.cc', |
| 542 'internal_api/test/test_internal_components_factory.cc', | 575 'internal_api/test/test_internal_components_factory.cc', |
| 543 'internal_api/test/test_user_share.cc', | 576 'internal_api/test/test_user_share.cc', |
| 544 ], | 577 ], |
| 545 }, | 578 }, |
| 546 | 579 |
| 547 # Test support files for the 'syncapi_service' target. | 580 # Test support files for the 'sync_api' target. |
| 548 { | 581 { |
| 549 'target_name': 'test_support_syncapi_service', | 582 'target_name': 'test_support_sync_api', |
| 550 'type': 'static_library', | 583 'type': 'static_library', |
| 551 'include_dirs': [ | 584 'include_dirs': [ |
| 552 '..', | 585 '..', |
| 553 ], | 586 ], |
| 554 'dependencies': [ | 587 'dependencies': [ |
| 555 '../testing/gmock.gyp:gmock', | 588 '../testing/gmock.gyp:gmock', |
| 556 'syncapi_service', | 589 'sync_api', |
| 557 ], | 590 ], |
| 558 'export_dependent_settings': [ | 591 'export_dependent_settings': [ |
| 559 '../testing/gmock.gyp:gmock', | 592 '../testing/gmock.gyp:gmock', |
| 560 'syncapi_service', | 593 'sync_api', |
| 561 ], | 594 ], |
| 562 'sources': [ | 595 'sources': [ |
| 563 'api/fake_syncable_service.cc', | 596 'api/fake_syncable_service.cc', |
| 564 'api/fake_syncable_service.h', | 597 'api/fake_syncable_service.h', |
| 565 'api/sync_error_factory_mock.cc', | 598 'api/sync_error_factory_mock.cc', |
| 566 'api/sync_error_factory_mock.h', | 599 'api/sync_error_factory_mock.h', |
| 567 ], | 600 ], |
| 568 }, | 601 }, |
| 569 | 602 |
| 570 # Unit tests for the 'sync' target. This cannot be a static | 603 # Unit tests for the 'sync_core' target. This cannot be a static |
| 571 # library because the unit test files have to be compiled directly | 604 # library because the unit test files have to be compiled directly |
| 572 # into the executable, so we push the target files to the | 605 # into the executable, so we push the target files to the |
| 573 # depending executable target via direct_dependent_settings. | 606 # depending executable target via direct_dependent_settings. |
| 574 { | 607 { |
| 575 'target_name': 'sync_tests', | 608 'target_name': 'sync_core_tests', |
| 576 'type': 'none', | 609 'type': 'none', |
| 577 # We only want unit test executables to include this target. | 610 # We only want unit test executables to include this target. |
| 578 'suppress_wildcard': 1, | 611 'suppress_wildcard': 1, |
| 579 'dependencies': [ | 612 'dependencies': [ |
| 580 '../base/base.gyp:base', | 613 '../base/base.gyp:base', |
| 581 '../testing/gmock.gyp:gmock', | 614 '../testing/gmock.gyp:gmock', |
| 582 '../testing/gtest.gyp:gtest', | 615 '../testing/gtest.gyp:gtest', |
| 583 'protocol/sync_proto.gyp:sync_proto', | 616 'protocol/sync_proto.gyp:sync_proto', |
| 584 'sync', | 617 'sync_core', |
| 585 'test_support_sync', | 618 'test_support_sync_core', |
| 586 ], | 619 ], |
| 587 # Propagate all dependencies since the actual compilation | 620 # Propagate all dependencies since the actual compilation |
| 588 # happens in the dependents. | 621 # happens in the dependents. |
| 589 'export_dependent_settings': [ | 622 'export_dependent_settings': [ |
| 590 '../base/base.gyp:base', | 623 '../base/base.gyp:base', |
| 591 '../testing/gmock.gyp:gmock', | 624 '../testing/gmock.gyp:gmock', |
| 592 '../testing/gtest.gyp:gtest', | 625 '../testing/gtest.gyp:gtest', |
| 593 'protocol/sync_proto.gyp:sync_proto', | 626 'protocol/sync_proto.gyp:sync_proto', |
| 594 'sync', | 627 'sync_core', |
| 595 'test_support_sync', | 628 'test_support_sync_core', |
| 596 ], | 629 ], |
| 597 'direct_dependent_settings': { | 630 'direct_dependent_settings': { |
| 598 'include_dirs': [ | 631 'include_dirs': [ |
| 599 '..', | 632 '..', |
| 600 ], | 633 ], |
| 601 'sources': [ | 634 'sources': [ |
| 602 'internal_api/public/base/enum_set_unittest.cc', | 635 'internal_api/public/base/enum_set_unittest.cc', |
| 603 'internal_api/public/base/model_type_invalidation_map_unittest.cc', | 636 'internal_api/public/base/model_type_invalidation_map_unittest.cc', |
| 604 'internal_api/public/base/node_ordinal_unittest.cc', | 637 'internal_api/public/base/node_ordinal_unittest.cc', |
| 605 'internal_api/public/base/ordinal_unittest.cc', | 638 'internal_api/public/base/ordinal_unittest.cc', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 'type': 'none', | 696 'type': 'none', |
| 664 # We only want unit test executables to include this target. | 697 # We only want unit test executables to include this target. |
| 665 'suppress_wildcard': 1, | 698 'suppress_wildcard': 1, |
| 666 'dependencies': [ | 699 'dependencies': [ |
| 667 '../base/base.gyp:base', | 700 '../base/base.gyp:base', |
| 668 '../jingle/jingle.gyp:notifier_test_util', | 701 '../jingle/jingle.gyp:notifier_test_util', |
| 669 '../net/net.gyp:net_test_support', | 702 '../net/net.gyp:net_test_support', |
| 670 '../testing/gmock.gyp:gmock', | 703 '../testing/gmock.gyp:gmock', |
| 671 '../testing/gtest.gyp:gtest', | 704 '../testing/gtest.gyp:gtest', |
| 672 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 705 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 673 'sync', | 706 'sync_core', |
| 674 'sync_notifier', | 707 'sync_notifier', |
| 675 'test_support_sync_notifier', | 708 'test_support_sync_notifier', |
| 676 ], | 709 ], |
| 677 # Propagate all dependencies since the actual compilation | 710 # Propagate all dependencies since the actual compilation |
| 678 # happens in the dependents. | 711 # happens in the dependents. |
| 679 'export_dependent_settings': [ | 712 'export_dependent_settings': [ |
| 680 '../base/base.gyp:base', | 713 '../base/base.gyp:base', |
| 681 '../jingle/jingle.gyp:notifier_test_util', | 714 '../jingle/jingle.gyp:notifier_test_util', |
| 682 '../net/net.gyp:net_test_support', | 715 '../net/net.gyp:net_test_support', |
| 683 '../testing/gmock.gyp:gmock', | 716 '../testing/gmock.gyp:gmock', |
| 684 '../testing/gtest.gyp:gtest', | 717 '../testing/gtest.gyp:gtest', |
| 685 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 718 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 686 'sync', | 719 'sync_core', |
| 687 'sync_notifier', | 720 'sync_notifier', |
| 688 'test_support_sync_notifier', | 721 'test_support_sync_notifier', |
| 689 ], | 722 ], |
| 690 'direct_dependent_settings': { | 723 'direct_dependent_settings': { |
| 691 'include_dirs': [ | 724 'include_dirs': [ |
| 692 '..', | 725 '..', |
| 693 ], | 726 ], |
| 694 'sources': [ | 727 'sources': [ |
| 695 'notifier/invalidator_factory_unittest.cc', | 728 'notifier/invalidator_factory_unittest.cc', |
| 696 ], | 729 ], |
| (...skipping 19 matching lines...) Expand all Loading... |
| 716 'dependencies': [ | 749 'dependencies': [ |
| 717 '../third_party/libjingle/libjingle.gyp:libjingle', | 750 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 718 ], | 751 ], |
| 719 'export_dependent_settings': [ | 752 'export_dependent_settings': [ |
| 720 '../third_party/libjingle/libjingle.gyp:libjingle', | 753 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 721 ], | 754 ], |
| 722 }], | 755 }], |
| 723 ], | 756 ], |
| 724 }, | 757 }, |
| 725 | 758 |
| 726 # Unit tests for the 'syncapi_core' target. This cannot be a static | 759 # Unit tests for the 'sync_internal_api' target. This cannot be a static |
| 727 # library because the unit test files have to be compiled directly | 760 # library because the unit test files have to be compiled directly |
| 728 # into the executable, so we push the target files to the | 761 # into the executable, so we push the target files to the |
| 729 # depending executable target via direct_dependent_settings. | 762 # depending executable target via direct_dependent_settings. |
| 730 { | 763 { |
| 731 'target_name': 'syncapi_core_tests', | 764 'target_name': 'sync_internal_api_tests', |
| 732 'type': 'none', | 765 'type': 'none', |
| 733 # We only want unit test executables to include this target. | 766 # We only want unit test executables to include this target. |
| 734 'suppress_wildcard': 1, | 767 'suppress_wildcard': 1, |
| 735 'dependencies': [ | 768 'dependencies': [ |
| 736 '../base/base.gyp:base', | 769 '../base/base.gyp:base', |
| 737 '../net/net.gyp:net', | 770 '../net/net.gyp:net', |
| 738 '../net/net.gyp:net_test_support', | 771 '../net/net.gyp:net_test_support', |
| 739 '../testing/gmock.gyp:gmock', | 772 '../testing/gmock.gyp:gmock', |
| 740 '../testing/gtest.gyp:gtest', | 773 '../testing/gtest.gyp:gtest', |
| 741 'protocol/sync_proto.gyp:sync_proto', | 774 'protocol/sync_proto.gyp:sync_proto', |
| 742 'sync', | 775 'sync_core', |
| 776 'sync_internal_api', |
| 743 'sync_notifier', | 777 'sync_notifier', |
| 744 'syncapi_core', | 778 'test_support_sync_internal_api', |
| 745 'test_support_syncapi_core', | |
| 746 ], | 779 ], |
| 747 # Propagate all dependencies since the actual compilation | 780 # Propagate all dependencies since the actual compilation |
| 748 # happens in the dependents. | 781 # happens in the dependents. |
| 749 'export_dependent_settings': [ | 782 'export_dependent_settings': [ |
| 750 '../base/base.gyp:base', | 783 '../base/base.gyp:base', |
| 751 '../net/net.gyp:net', | 784 '../net/net.gyp:net', |
| 752 '../net/net.gyp:net_test_support', | 785 '../net/net.gyp:net_test_support', |
| 753 '../testing/gmock.gyp:gmock', | 786 '../testing/gmock.gyp:gmock', |
| 754 '../testing/gtest.gyp:gtest', | 787 '../testing/gtest.gyp:gtest', |
| 755 'protocol/sync_proto.gyp:sync_proto', | 788 'protocol/sync_proto.gyp:sync_proto', |
| 756 'sync', | 789 'sync_core', |
| 790 'sync_internal_api', |
| 757 'sync_notifier', | 791 'sync_notifier', |
| 758 'syncapi_core', | 792 'test_support_sync_internal_api', |
| 759 'test_support_syncapi_core', | |
| 760 ], | 793 ], |
| 761 'direct_dependent_settings': { | 794 'direct_dependent_settings': { |
| 762 'include_dirs': [ | 795 'include_dirs': [ |
| 763 '..', | 796 '..', |
| 764 ], | 797 ], |
| 765 'sources': [ | 798 'sources': [ |
| 766 'internal_api/public/change_record_unittest.cc', | |
| 767 'internal_api/debug_info_event_listener_unittest.cc', | 799 'internal_api/debug_info_event_listener_unittest.cc', |
| 768 'internal_api/http_bridge_unittest.cc', | 800 'internal_api/http_bridge_unittest.cc', |
| 769 'internal_api/js_mutation_event_observer_unittest.cc', | 801 'internal_api/js_mutation_event_observer_unittest.cc', |
| 770 'internal_api/js_sync_encryption_handler_observer_unittest.cc', | 802 'internal_api/js_sync_encryption_handler_observer_unittest.cc', |
| 771 'internal_api/js_sync_manager_observer_unittest.cc', | 803 'internal_api/js_sync_manager_observer_unittest.cc', |
| 804 'internal_api/public/change_record_unittest.cc', |
| 805 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', |
| 806 'internal_api/public/sessions/sync_source_info_unittest.cc', |
| 772 'internal_api/syncapi_server_connection_manager_unittest.cc', | 807 'internal_api/syncapi_server_connection_manager_unittest.cc', |
| 773 'internal_api/sync_encryption_handler_impl_unittest.cc', | 808 'internal_api/sync_encryption_handler_impl_unittest.cc', |
| 774 'internal_api/sync_manager_impl_unittest.cc', | 809 'internal_api/sync_manager_impl_unittest.cc', |
| 775 ], | 810 ], |
| 776 }, | 811 }, |
| 777 }, | 812 }, |
| 778 | 813 |
| 779 # Unit tests for the 'syncapi_service' target. This cannot be a static | 814 # Unit tests for the 'sync_api' target. This cannot be a static |
| 780 # library because the unit test files have to be compiled directly | 815 # library because the unit test files have to be compiled directly |
| 781 # into the executable, so we push the target files to the | 816 # into the executable, so we push the target files to the |
| 782 # depending executable target via direct_dependent_settings. | 817 # depending executable target via direct_dependent_settings. |
| 783 { | 818 { |
| 784 'target_name': 'syncapi_service_tests', | 819 'target_name': 'sync_api_tests', |
| 785 'type': 'none', | 820 'type': 'none', |
| 786 # We only want unit test executables to include this target. | 821 # We only want unit test executables to include this target. |
| 787 'suppress_wildcard': 1, | 822 'suppress_wildcard': 1, |
| 788 'dependencies': [ | 823 'dependencies': [ |
| 789 '../base/base.gyp:base', | 824 '../base/base.gyp:base', |
| 790 '../testing/gtest.gyp:gtest', | 825 '../testing/gtest.gyp:gtest', |
| 791 'protocol/sync_proto.gyp:sync_proto', | 826 'protocol/sync_proto.gyp:sync_proto', |
| 792 'sync', | 827 'sync_core', |
| 793 'syncapi_service', | 828 'sync_internal_api', |
| 794 'test_support_syncapi_service', | 829 'test_support_sync_internal_api', |
| 795 ], | 830 ], |
| 796 # Propagate all dependencies since the actual compilation | 831 # Propagate all dependencies since the actual compilation |
| 797 # happens in the dependents. | 832 # happens in the dependents. |
| 798 'export_dependent_settings': [ | 833 'export_dependent_settings': [ |
| 799 '../base/base.gyp:base', | 834 '../base/base.gyp:base', |
| 800 '../testing/gtest.gyp:gtest', | 835 '../testing/gtest.gyp:gtest', |
| 801 'protocol/sync_proto.gyp:sync_proto', | 836 'protocol/sync_proto.gyp:sync_proto', |
| 802 'sync', | 837 'sync_core', |
| 803 'syncapi_service', | 838 'sync_internal_api', |
| 804 'test_support_syncapi_service', | 839 'test_support_sync_internal_api', |
| 805 ], | 840 ], |
| 806 'direct_dependent_settings': { | 841 'direct_dependent_settings': { |
| 807 'include_dirs': [ | 842 'include_dirs': [ |
| 808 '..', | 843 '..', |
| 809 ], | 844 ], |
| 810 'sources': [ | 845 'sources': [ |
| 811 'api/sync_change_unittest.cc', | 846 'api/sync_change_unittest.cc', |
| 812 'api/sync_error_unittest.cc', | 847 'api/sync_error_unittest.cc', |
| 813 ], | 848 ], |
| 814 }, | 849 }, |
| 815 }, | 850 }, |
| 816 | 851 |
| 817 # The unit test executable for sync tests. | 852 # The unit test executable for sync tests. |
| 818 { | 853 { |
| 819 'target_name': 'sync_unit_tests', | 854 'target_name': 'sync_unit_tests', |
| 820 'type': '<(gtest_target_type)', | 855 'type': '<(gtest_target_type)', |
| 821 # Typed-parametrized tests generate exit-time destructors. | 856 # Typed-parametrized tests generate exit-time destructors. |
| 822 'variables': { 'enable_wexit_time_destructors': 0, }, | 857 'variables': { 'enable_wexit_time_destructors': 0, }, |
| 823 'dependencies': [ | 858 'dependencies': [ |
| 824 '../base/base.gyp:run_all_unittests', | 859 '../base/base.gyp:run_all_unittests', |
| 825 'sync_tests', | 860 'sync', |
| 861 'sync_api_tests', |
| 862 'sync_core_tests', |
| 863 'sync_internal_api_tests', |
| 826 'sync_notifier_tests', | 864 'sync_notifier_tests', |
| 827 'syncapi_core_tests', | |
| 828 'syncapi_service_tests', | |
| 829 ], | 865 ], |
| 830 # TODO(akalin): This is needed because histogram.cc uses | 866 # TODO(akalin): This is needed because histogram.cc uses |
| 831 # leak_annotations.h, which pulls this in. Make 'base' | 867 # leak_annotations.h, which pulls this in. Make 'base' |
| 832 # propagate this dependency. | 868 # propagate this dependency. |
| 833 'conditions': [ | 869 'conditions': [ |
| 834 ['OS=="linux" and linux_use_tcmalloc==1', { | 870 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 835 'dependencies': [ | 871 'dependencies': [ |
| 836 '../base/allocator/allocator.gyp:allocator', | 872 '../base/allocator/allocator.gyp:allocator', |
| 837 ], | 873 ], |
| 838 }], | 874 }], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 857 # A tool to listen to sync notifications and print them out. | 893 # A tool to listen to sync notifications and print them out. |
| 858 { | 894 { |
| 859 'target_name': 'sync_listen_notifications', | 895 'target_name': 'sync_listen_notifications', |
| 860 'type': 'executable', | 896 'type': 'executable', |
| 861 'dependencies': [ | 897 'dependencies': [ |
| 862 '../base/base.gyp:base', | 898 '../base/base.gyp:base', |
| 863 '../jingle/jingle.gyp:notifier', | 899 '../jingle/jingle.gyp:notifier', |
| 864 '../net/net.gyp:net', | 900 '../net/net.gyp:net', |
| 865 '../net/net.gyp:net_test_support', | 901 '../net/net.gyp:net_test_support', |
| 866 'sync', | 902 'sync', |
| 867 'sync_notifier', | |
| 868 ], | 903 ], |
| 869 'sources': [ | 904 'sources': [ |
| 870 'tools/sync_listen_notifications.cc', | 905 'tools/sync_listen_notifications.cc', |
| 871 ], | 906 ], |
| 872 }, | 907 }, |
| 873 | 908 |
| 874 # A standalone command-line sync client. | 909 # A standalone command-line sync client. |
| 875 { | 910 { |
| 876 'target_name': 'sync_client', | 911 'target_name': 'sync_client', |
| 877 'type': 'executable', | 912 'type': 'executable', |
| 878 'defines': [ | 913 'defines': [ |
| 879 'SYNC_TEST', | 914 'SYNC_TEST', |
| 880 ], | 915 ], |
| 881 'dependencies': [ | 916 'dependencies': [ |
| 882 '../base/base.gyp:base', | 917 '../base/base.gyp:base', |
| 883 '../jingle/jingle.gyp:notifier', | 918 '../jingle/jingle.gyp:notifier', |
| 884 '../net/net.gyp:net', | 919 '../net/net.gyp:net', |
| 885 '../net/net.gyp:net_test_support', | 920 '../net/net.gyp:net_test_support', |
| 886 'sync', | 921 'sync', |
| 887 'sync_notifier', | |
| 888 'syncapi_core', | |
| 889 ], | 922 ], |
| 890 'sources': [ | 923 'sources': [ |
| 891 'tools/sync_client.cc', | 924 'tools/sync_client.cc', |
| 892 ], | 925 ], |
| 893 }, | 926 }, |
| 894 ], | 927 ], |
| 895 }], | 928 }], |
| 929 |
| 896 # Special target to wrap a gtest_target_type==shared_library | 930 # Special target to wrap a gtest_target_type==shared_library |
| 897 # sync_unit_tests into an android apk for execution. | 931 # sync_unit_tests into an android apk for execution. |
| 898 ['OS == "android" and gtest_target_type == "shared_library"', { | 932 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 899 'targets': [ | 933 'targets': [ |
| 900 { | 934 { |
| 901 'target_name': 'sync_unit_tests_apk', | 935 'target_name': 'sync_unit_tests_apk', |
| 902 'type': 'none', | 936 'type': 'none', |
| 903 'dependencies': [ | 937 'dependencies': [ |
| 904 'sync_unit_tests', | 938 'sync_unit_tests', |
| 905 ], | 939 ], |
| 906 'variables': { | 940 'variables': { |
| 907 'test_suite_name': 'sync_unit_tests', | 941 'test_suite_name': 'sync_unit_tests', |
| 908 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 942 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 909 }, | 943 }, |
| 910 'includes': [ '../build/apk_test.gypi' ], | 944 'includes': [ '../build/apk_test.gypi' ], |
| 911 }, | 945 }, |
| 912 ], | 946 ], |
| 913 }], | 947 }], |
| 914 ], | 948 ], |
| 915 } | 949 } |
| OLD | NEW |