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