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', |
|
akalin
2012/11/09 18:42:18
since you moved a bunch of internal_api files out
Raghu Simha
2012/11/09 22:57:53
Audited via a series of git-greps. All deps are ne
| |
| 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 |
|
akalin
2012/11/09 18:42:18
is this still true?
Raghu Simha
2012/11/09 22:57:53
Still true, due to syncable/model_type.cc.
akalin
2012/11/10 00:29:11
Note that we need to export only if header files i
| |
| 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', |
|
akalin
2012/11/09 18:42:18
similarly to the above, can you audit these deps t
Raghu Simha
2012/11/09 22:57:53
Audited. All dependencies needed. For instance, go
akalin
2012/11/10 00:29:11
I actually meant to see if adding the new internal
| |
| 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', |
| 316 'sync_notifier', | 272 'sync_notifier', |
| 317 'sync', | 273 'sync_core', |
|
akalin
2012/11/09 18:42:18
put before sync_notifier
Raghu Simha
2012/11/09 22:57:53
Good catch. Done.
| |
| 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_core', |
|
akalin
2012/11/09 18:42:18
Looks like this needs to be sync_internal_api inst
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 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, }, | |
| 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', | |
| 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 'sync_core', |
|
akalin
2012/11/09 18:42:18
there aren't any files in this target that include
Raghu Simha
2012/11/09 22:57:53
Good catch. I had originally searched for includes
| |
| 423 'sync', | |
| 424 ], | 453 ], |
| 425 'export_dependent_settings': [ | 454 'export_dependent_settings': [ |
| 426 '../testing/gmock.gyp:gmock', | 455 '../testing/gmock.gyp:gmock', |
| 427 '../testing/gtest.gyp:gtest', | 456 '../testing/gtest.gyp:gtest', |
| 428 'protocol/sync_proto.gyp:sync_proto', | 457 'sync_core', |
| 429 'sync', | |
| 430 ], | 458 ], |
| 431 'sources': [ | 459 'sources': [ |
| 432 'internal_api/public/base/invalidation_test_util.cc', | 460 'internal_api/public/base/invalidation_test_util.cc', |
|
akalin
2012/11/09 18:42:18
hmm i think these files need to move to test_suppo
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 433 'internal_api/public/base/invalidation_test_util.h', | 461 'internal_api/public/base/invalidation_test_util.h', |
| 434 'internal_api/public/base/model_type_invalidation_map_test_util.cc', | 462 'internal_api/public/base/model_type_invalidation_map_test_util.cc', |
| 435 'internal_api/public/base/model_type_invalidation_map_test_util.h', | 463 'internal_api/public/base/model_type_invalidation_map_test_util.h', |
| 436 'internal_api/public/base/model_type_test_util.cc', | 464 'internal_api/public/base/model_type_test_util.cc', |
| 437 'internal_api/public/base/model_type_test_util.h', | 465 'internal_api/public/base/model_type_test_util.h', |
| 438 'internal_api/public/sessions/sync_source_info_unittest.cc', | 466 'internal_api/public/sessions/sync_source_info_unittest.cc', |
| 439 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', | 467 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', |
| 440 'js/js_test_util.cc', | 468 'js/js_test_util.cc', |
| 441 'js/js_test_util.h', | 469 'js/js_test_util.h', |
| 442 'sessions/test_util.cc', | 470 'sessions/test_util.cc', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 478 # Test support files for the 'sync_notifier' target. | 506 # Test support files for the 'sync_notifier' target. |
| 479 { | 507 { |
| 480 'target_name': 'test_support_sync_notifier', | 508 'target_name': 'test_support_sync_notifier', |
| 481 'type': 'static_library', | 509 'type': 'static_library', |
| 482 'include_dirs': [ | 510 'include_dirs': [ |
| 483 '..', | 511 '..', |
| 484 ], | 512 ], |
| 485 'dependencies': [ | 513 'dependencies': [ |
| 486 '../testing/gmock.gyp:gmock', | 514 '../testing/gmock.gyp:gmock', |
| 487 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', | 515 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', |
| 516 'sync_core', | |
|
akalin
2012/11/09 18:42:18
hmm, did you discover a new direct dep on a file i
Raghu Simha
2012/11/09 22:57:53
You're right. Fixed. I thought I found a dependenc
| |
| 488 'sync_notifier', | 517 'sync_notifier', |
| 489 ], | 518 ], |
| 490 'export_dependent_settings': [ | 519 'export_dependent_settings': [ |
| 491 '../testing/gmock.gyp:gmock', | 520 '../testing/gmock.gyp:gmock', |
| 492 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', | 521 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', |
| 522 'sync_core', | |
|
akalin
2012/11/09 18:42:18
here too
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 493 'sync_notifier', | 523 'sync_notifier', |
| 494 ], | 524 ], |
| 495 'sources': [ | 525 'sources': [ |
| 496 'notifier/fake_invalidation_state_tracker.cc', | 526 'notifier/fake_invalidation_state_tracker.cc', |
| 497 'notifier/fake_invalidation_state_tracker.h', | 527 'notifier/fake_invalidation_state_tracker.h', |
| 498 'notifier/fake_invalidator.cc', | 528 'notifier/fake_invalidator.cc', |
| 499 'notifier/fake_invalidator.h', | 529 'notifier/fake_invalidator.h', |
| 500 'notifier/fake_invalidation_handler.cc', | 530 'notifier/fake_invalidation_handler.cc', |
| 501 'notifier/fake_invalidation_handler.h', | 531 'notifier/fake_invalidation_handler.h', |
| 502 'notifier/invalidator_test_template.cc', | 532 'notifier/invalidator_test_template.cc', |
| 503 'notifier/invalidator_test_template.h', | 533 'notifier/invalidator_test_template.h', |
| 504 'notifier/object_id_invalidation_map_test_util.cc', | 534 'notifier/object_id_invalidation_map_test_util.cc', |
| 505 'notifier/object_id_invalidation_map_test_util.h', | 535 'notifier/object_id_invalidation_map_test_util.h', |
| 506 ], | 536 ], |
| 507 }, | 537 }, |
| 508 | 538 |
| 509 # Test support files for the 'syncapi_core' target. | 539 # Test support files for the 'sync_internal_api' target. |
| 510 { | 540 { |
| 511 'target_name': 'test_support_syncapi_core', | 541 'target_name': 'test_support_sync_internal_api', |
| 512 'type': 'static_library', | 542 'type': 'static_library', |
| 513 'variables': { 'enable_wexit_time_destructors': 1, }, | 543 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 514 'include_dirs': [ | 544 'include_dirs': [ |
| 515 '..', | 545 '..', |
| 516 ], | 546 ], |
| 517 'dependencies': [ | 547 'dependencies': [ |
| 518 '../base/base.gyp:base', | 548 '../base/base.gyp:base', |
| 519 '../testing/gtest.gyp:gtest', | 549 '../testing/gtest.gyp:gtest', |
| 520 'syncapi_core', | 550 'sync_core', |
| 521 'sync_notifier', | 551 'sync_notifier', |
| 522 'test_support_sync', | 552 'test_support_sync_core', |
|
akalin
2012/11/09 18:42:18
may not need this anymore once you move the rest o
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 523 ], | 553 ], |
| 524 'export_dependent_settings': [ | 554 'export_dependent_settings': [ |
| 525 '../testing/gtest.gyp:gtest', | 555 '../testing/gtest.gyp:gtest', |
| 526 'syncapi_core', | 556 'sync_core', |
| 527 'sync_notifier', | 557 'sync_notifier', |
| 528 'test_support_sync', | 558 'test_support_sync_core', |
| 529 ], | 559 ], |
| 530 'sources': [ | 560 'sources': [ |
| 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', |
| 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_core', |
|
akalin
2012/11/09 18:42:18
doesn't depend on sync_api?
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 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_core', |
| 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 'sync_core', |
|
akalin
2012/11/09 18:42:18
no files in this target that include proto files d
Raghu Simha
2012/11/09 22:57:53
Fixed. Same reason as before. I was looking for pb
| |
| 579 'sync', | 609 'test_support_sync_core', |
| 580 'test_support_sync', | |
| 581 ], | 610 ], |
| 582 # Propagate all dependencies since the actual compilation | 611 # Propagate all dependencies since the actual compilation |
| 583 # happens in the dependents. | 612 # happens in the dependents. |
| 584 'export_dependent_settings': [ | 613 'export_dependent_settings': [ |
| 585 '../base/base.gyp:base', | 614 '../base/base.gyp:base', |
| 586 '../testing/gmock.gyp:gmock', | 615 '../testing/gmock.gyp:gmock', |
| 587 '../testing/gtest.gyp:gtest', | 616 '../testing/gtest.gyp:gtest', |
| 588 'protocol/sync_proto.gyp:sync_proto', | 617 'sync_core', |
| 589 'sync', | 618 'test_support_sync_core', |
| 590 'test_support_sync', | |
| 591 ], | 619 ], |
| 592 'direct_dependent_settings': { | 620 'direct_dependent_settings': { |
| 593 'include_dirs': [ | 621 'include_dirs': [ |
| 594 '..', | 622 '..', |
| 595 ], | 623 ], |
| 596 'sources': [ | 624 'sources': [ |
| 597 'internal_api/public/base/enum_set_unittest.cc', | 625 'internal_api/public/base/enum_set_unittest.cc', |
| 598 'internal_api/public/base/model_type_invalidation_map_unittest.cc', | 626 'internal_api/public/base/model_type_invalidation_map_unittest.cc', |
| 599 'internal_api/public/base/node_ordinal_unittest.cc', | 627 'internal_api/public/base/node_ordinal_unittest.cc', |
| 600 'internal_api/public/base/ordinal_unittest.cc', | 628 'internal_api/public/base/ordinal_unittest.cc', |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 658 'type': 'none', | 686 'type': 'none', |
| 659 # We only want unit test executables to include this target. | 687 # We only want unit test executables to include this target. |
| 660 'suppress_wildcard': 1, | 688 'suppress_wildcard': 1, |
| 661 'dependencies': [ | 689 'dependencies': [ |
| 662 '../base/base.gyp:base', | 690 '../base/base.gyp:base', |
| 663 '../jingle/jingle.gyp:notifier_test_util', | 691 '../jingle/jingle.gyp:notifier_test_util', |
| 664 '../net/net.gyp:net_test_support', | 692 '../net/net.gyp:net_test_support', |
| 665 '../testing/gmock.gyp:gmock', | 693 '../testing/gmock.gyp:gmock', |
| 666 '../testing/gtest.gyp:gtest', | 694 '../testing/gtest.gyp:gtest', |
| 667 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', | 695 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', |
| 668 'sync', | 696 'sync_core', |
| 669 'sync_notifier', | |
|
akalin
2012/11/09 18:42:18
no direct deps on files from sync_notifier?
Raghu Simha
2012/11/09 22:57:53
Fixed.
| |
| 670 'test_support_sync_notifier', | 697 'test_support_sync_notifier', |
| 671 ], | 698 ], |
| 672 # Propagate all dependencies since the actual compilation | 699 # Propagate all dependencies since the actual compilation |
| 673 # happens in the dependents. | 700 # happens in the dependents. |
| 674 'export_dependent_settings': [ | 701 'export_dependent_settings': [ |
| 675 '../base/base.gyp:base', | 702 '../base/base.gyp:base', |
| 676 '../jingle/jingle.gyp:notifier_test_util', | 703 '../jingle/jingle.gyp:notifier_test_util', |
| 677 '../net/net.gyp:net_test_support', | 704 '../net/net.gyp:net_test_support', |
| 678 '../testing/gmock.gyp:gmock', | 705 '../testing/gmock.gyp:gmock', |
| 679 '../testing/gtest.gyp:gtest', | 706 '../testing/gtest.gyp:gtest', |
| 680 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', | 707 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n', |
| 681 'sync', | 708 'sync_core', |
| 682 'sync_notifier', | |
| 683 'test_support_sync_notifier', | 709 'test_support_sync_notifier', |
| 684 ], | 710 ], |
| 685 'direct_dependent_settings': { | 711 'direct_dependent_settings': { |
| 686 'include_dirs': [ | 712 'include_dirs': [ |
| 687 '..', | 713 '..', |
| 688 ], | 714 ], |
| 689 'sources': [ | 715 'sources': [ |
| 690 'notifier/invalidator_factory_unittest.cc', | 716 'notifier/invalidator_factory_unittest.cc', |
| 691 ], | 717 ], |
| 692 'conditions': [ | 718 'conditions': [ |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 710 'dependencies': [ | 736 'dependencies': [ |
| 711 '../third_party/libjingle/libjingle.gyp:libjingle', | 737 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 712 ], | 738 ], |
| 713 'export_dependent_settings': [ | 739 'export_dependent_settings': [ |
| 714 '../third_party/libjingle/libjingle.gyp:libjingle', | 740 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 715 ], | 741 ], |
| 716 }], | 742 }], |
| 717 ], | 743 ], |
| 718 }, | 744 }, |
| 719 | 745 |
| 720 # Unit tests for the 'syncapi_core' target. This cannot be a static | 746 # 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 | 747 # library because the unit test files have to be compiled directly |
| 722 # into the executable, so we push the target files to the | 748 # into the executable, so we push the target files to the |
| 723 # depending executable target via direct_dependent_settings. | 749 # depending executable target via direct_dependent_settings. |
| 724 { | 750 { |
| 725 'target_name': 'syncapi_core_tests', | 751 'target_name': 'sync_internal_api_tests', |
| 726 'type': 'none', | 752 'type': 'none', |
| 727 # We only want unit test executables to include this target. | 753 # We only want unit test executables to include this target. |
| 728 'suppress_wildcard': 1, | 754 'suppress_wildcard': 1, |
| 729 'dependencies': [ | 755 'dependencies': [ |
| 730 '../base/base.gyp:base', | 756 '../base/base.gyp:base', |
| 731 '../net/net.gyp:net', | 757 '../net/net.gyp:net', |
| 732 '../net/net.gyp:net_test_support', | 758 '../net/net.gyp:net_test_support', |
| 733 '../testing/gmock.gyp:gmock', | 759 '../testing/gmock.gyp:gmock', |
| 734 '../testing/gtest.gyp:gtest', | 760 '../testing/gtest.gyp:gtest', |
| 735 'protocol/sync_proto.gyp:sync_proto', | 761 'protocol/sync_proto.gyp:sync_proto', |
| 736 'sync', | 762 'sync_core', |
| 737 'sync_notifier', | 763 'sync_notifier', |
| 738 'syncapi_core', | 764 'sync_internal_api', |
|
akalin
2012/11/09 18:42:18
reorder
Raghu Simha
2012/11/09 22:57:53
Done.
| |
| 739 'test_support_syncapi_core', | 765 'test_support_sync_internal_api', |
| 740 ], | 766 ], |
| 741 # Propagate all dependencies since the actual compilation | 767 # Propagate all dependencies since the actual compilation |
| 742 # happens in the dependents. | 768 # happens in the dependents. |
| 743 'export_dependent_settings': [ | 769 'export_dependent_settings': [ |
| 744 '../base/base.gyp:base', | 770 '../base/base.gyp:base', |
| 745 '../net/net.gyp:net', | 771 '../net/net.gyp:net', |
| 746 '../net/net.gyp:net_test_support', | 772 '../net/net.gyp:net_test_support', |
| 747 '../testing/gmock.gyp:gmock', | 773 '../testing/gmock.gyp:gmock', |
| 748 '../testing/gtest.gyp:gtest', | 774 '../testing/gtest.gyp:gtest', |
| 749 'protocol/sync_proto.gyp:sync_proto', | 775 'protocol/sync_proto.gyp:sync_proto', |
| 750 'sync', | 776 'sync_core', |
| 751 'sync_notifier', | 777 'sync_notifier', |
| 752 'syncapi_core', | 778 'sync_internal_api', |
| 753 'test_support_syncapi_core', | 779 'test_support_sync_internal_api', |
| 754 ], | 780 ], |
| 755 'direct_dependent_settings': { | 781 'direct_dependent_settings': { |
| 756 'include_dirs': [ | 782 'include_dirs': [ |
| 757 '..', | 783 '..', |
| 758 ], | 784 ], |
| 759 'sources': [ | 785 'sources': [ |
| 760 'internal_api/public/change_record_unittest.cc', | 786 'internal_api/public/change_record_unittest.cc', |
| 761 'internal_api/debug_info_event_listener_unittest.cc', | 787 'internal_api/debug_info_event_listener_unittest.cc', |
| 762 'internal_api/http_bridge_unittest.cc', | 788 'internal_api/http_bridge_unittest.cc', |
| 763 'internal_api/js_mutation_event_observer_unittest.cc', | 789 'internal_api/js_mutation_event_observer_unittest.cc', |
| 764 'internal_api/js_sync_encryption_handler_observer_unittest.cc', | 790 'internal_api/js_sync_encryption_handler_observer_unittest.cc', |
| 765 'internal_api/js_sync_manager_observer_unittest.cc', | 791 'internal_api/js_sync_manager_observer_unittest.cc', |
| 766 'internal_api/syncapi_server_connection_manager_unittest.cc', | 792 'internal_api/syncapi_server_connection_manager_unittest.cc', |
| 767 'internal_api/sync_encryption_handler_impl_unittest.cc', | 793 'internal_api/sync_encryption_handler_impl_unittest.cc', |
| 768 'internal_api/sync_manager_impl_unittest.cc', | 794 'internal_api/sync_manager_impl_unittest.cc', |
| 769 ], | 795 ], |
| 770 }, | 796 }, |
| 771 }, | 797 }, |
| 772 | 798 |
| 773 # Unit tests for the 'syncapi_service' target. This cannot be a static | 799 # Unit tests for the 'sync_api' target. This cannot be a static |
| 774 # library because the unit test files have to be compiled directly | 800 # library because the unit test files have to be compiled directly |
| 775 # into the executable, so we push the target files to the | 801 # into the executable, so we push the target files to the |
| 776 # depending executable target via direct_dependent_settings. | 802 # depending executable target via direct_dependent_settings. |
| 777 { | 803 { |
| 778 'target_name': 'syncapi_service_tests', | 804 'target_name': 'sync_api_tests', |
| 779 'type': 'none', | 805 'type': 'none', |
| 780 # We only want unit test executables to include this target. | 806 # We only want unit test executables to include this target. |
| 781 'suppress_wildcard': 1, | 807 'suppress_wildcard': 1, |
| 782 'dependencies': [ | 808 'dependencies': [ |
| 783 '../base/base.gyp:base', | 809 '../base/base.gyp:base', |
| 784 '../testing/gtest.gyp:gtest', | 810 '../testing/gtest.gyp:gtest', |
| 785 'protocol/sync_proto.gyp:sync_proto', | 811 'protocol/sync_proto.gyp:sync_proto', |
| 786 'sync', | 812 'sync_core', |
| 787 'syncapi_service', | 813 'sync_internal_api', |
| 788 'test_support_syncapi_service', | 814 'test_support_sync_internal_api', |
| 789 ], | 815 ], |
| 790 # Propagate all dependencies since the actual compilation | 816 # Propagate all dependencies since the actual compilation |
| 791 # happens in the dependents. | 817 # happens in the dependents. |
| 792 'export_dependent_settings': [ | 818 'export_dependent_settings': [ |
| 793 '../base/base.gyp:base', | 819 '../base/base.gyp:base', |
| 794 '../testing/gtest.gyp:gtest', | 820 '../testing/gtest.gyp:gtest', |
| 795 'protocol/sync_proto.gyp:sync_proto', | 821 'protocol/sync_proto.gyp:sync_proto', |
| 796 'sync', | 822 'sync_core', |
| 797 'syncapi_service', | 823 'sync_internal_api', |
| 798 'test_support_syncapi_service', | 824 'test_support_sync_internal_api', |
| 799 ], | 825 ], |
| 800 'direct_dependent_settings': { | 826 'direct_dependent_settings': { |
| 801 'include_dirs': [ | 827 'include_dirs': [ |
| 802 '..', | 828 '..', |
| 803 ], | 829 ], |
| 804 'sources': [ | 830 'sources': [ |
| 805 'api/sync_change_unittest.cc', | 831 'api/sync_change_unittest.cc', |
| 806 'api/sync_error_unittest.cc', | 832 'api/sync_error_unittest.cc', |
| 807 ], | 833 ], |
| 808 }, | 834 }, |
| 809 }, | 835 }, |
| 810 | 836 |
| 811 # The unit test executable for sync tests. | 837 # The unit test executable for sync tests. |
| 812 { | 838 { |
| 813 'target_name': 'sync_unit_tests', | 839 'target_name': 'sync_unit_tests', |
| 814 'type': '<(gtest_target_type)', | 840 'type': '<(gtest_target_type)', |
| 815 # Typed-parametrized tests generate exit-time destructors. | 841 # Typed-parametrized tests generate exit-time destructors. |
| 816 'variables': { 'enable_wexit_time_destructors': 0, }, | 842 'variables': { 'enable_wexit_time_destructors': 0, }, |
| 817 'dependencies': [ | 843 'dependencies': [ |
| 818 '../base/base.gyp:run_all_unittests', | 844 '../base/base.gyp:run_all_unittests', |
| 819 'sync_tests', | 845 'sync', |
| 846 'sync_api_tests', | |
| 847 'sync_core_tests', | |
| 820 'sync_notifier_tests', | 848 'sync_notifier_tests', |
| 821 'syncapi_core_tests', | 849 'sync_internal_api_tests', |
| 822 'syncapi_service_tests', | |
| 823 ], | 850 ], |
| 824 # TODO(akalin): This is needed because histogram.cc uses | 851 # TODO(akalin): This is needed because histogram.cc uses |
| 825 # leak_annotations.h, which pulls this in. Make 'base' | 852 # leak_annotations.h, which pulls this in. Make 'base' |
| 826 # propagate this dependency. | 853 # propagate this dependency. |
| 827 'conditions': [ | 854 'conditions': [ |
| 828 ['OS=="linux" and linux_use_tcmalloc==1', { | 855 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 829 'dependencies': [ | 856 'dependencies': [ |
| 830 '../base/allocator/allocator.gyp:allocator', | 857 '../base/allocator/allocator.gyp:allocator', |
| 831 ], | 858 ], |
| 832 }], | 859 }], |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 872 'defines': [ | 899 'defines': [ |
| 873 'SYNC_TEST', | 900 'SYNC_TEST', |
| 874 ], | 901 ], |
| 875 'dependencies': [ | 902 'dependencies': [ |
| 876 '../base/base.gyp:base', | 903 '../base/base.gyp:base', |
| 877 '../jingle/jingle.gyp:notifier', | 904 '../jingle/jingle.gyp:notifier', |
| 878 '../net/net.gyp:net', | 905 '../net/net.gyp:net', |
| 879 '../net/net.gyp:net_test_support', | 906 '../net/net.gyp:net_test_support', |
| 880 'sync', | 907 'sync', |
| 881 'sync_notifier', | 908 'sync_notifier', |
| 882 'syncapi_core', | 909 'sync_internal_api', |
| 883 ], | 910 ], |
| 884 'sources': [ | 911 'sources': [ |
| 885 'tools/sync_client.cc', | 912 'tools/sync_client.cc', |
| 886 ], | 913 ], |
| 887 }, | 914 }, |
| 888 ], | 915 ], |
| 889 }], | 916 }], |
| 917 | |
| 890 # Special target to wrap a gtest_target_type==shared_library | 918 # Special target to wrap a gtest_target_type==shared_library |
| 891 # sync_unit_tests into an android apk for execution. | 919 # sync_unit_tests into an android apk for execution. |
| 892 ['OS == "android" and gtest_target_type == "shared_library"', { | 920 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 893 'targets': [ | 921 'targets': [ |
| 894 { | 922 { |
| 895 'target_name': 'sync_unit_tests_apk', | 923 'target_name': 'sync_unit_tests_apk', |
| 896 'type': 'none', | 924 'type': 'none', |
| 897 'dependencies': [ | 925 'dependencies': [ |
| 898 'sync_unit_tests', | 926 'sync_unit_tests', |
| 899 ], | 927 ], |
| 900 'variables': { | 928 'variables': { |
| 901 'test_suite_name': 'sync_unit_tests', | 929 'test_suite_name': 'sync_unit_tests', |
| 902 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', | 930 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', |
| 903 }, | 931 }, |
| 904 'includes': [ '../build/apk_test.gypi' ], | 932 'includes': [ '../build/apk_test.gypi' ], |
| 905 }, | 933 }, |
| 906 ], | 934 ], |
| 907 }], | 935 }], |
| 908 ], | 936 ], |
| 909 } | 937 } |
| OLD | NEW |