| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'targets': [ | 5 'targets': [ |
| 6 { | 6 { |
| 7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
| 8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
| 9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 # NOTE: New dependencies should generally be added in the OS!="ios" | 12 # NOTE: New dependencies should generally be added in the OS!="ios" |
| 13 # dependencies block below, rather than here. | 13 # dependencies block below, rather than here. |
| 14 'app/policy/cloud_policy_codegen.gyp:policy_test_support', | 14 'app/policy/cloud_policy_codegen.gyp:policy_test_support', |
| 15 'browser', | 15 'browser', |
| 16 '../sync/protocol/sync_proto.gyp:sync_proto', | |
| 17 'chrome_resources.gyp:chrome_resources', | 16 'chrome_resources.gyp:chrome_resources', |
| 18 'chrome_resources.gyp:chrome_strings', | 17 'chrome_resources.gyp:chrome_strings', |
| 19 'chrome_resources.gyp:theme_resources', | 18 'chrome_resources.gyp:theme_resources', |
| 20 'common', | 19 'common', |
| 21 '../base/base.gyp:test_support_base', | 20 '../base/base.gyp:test_support_base', |
| 22 '../content/content.gyp:content_app', | 21 '../content/content.gyp:content_app', |
| 23 '../content/content.gyp:test_support_content', | 22 '../content/content.gyp:test_support_content', |
| 24 '../media/media.gyp:media_test_support', | 23 '../media/media.gyp:media_test_support', |
| 25 '../net/net.gyp:net', | 24 '../net/net.gyp:net', |
| 26 '../net/net.gyp:net_test_support', | 25 '../net/net.gyp:net_test_support', |
| 27 '../skia/skia.gyp:skia', | 26 '../skia/skia.gyp:skia', |
| 27 '../sync/sync.gyp:sync_proto', |
| 28 '../testing/gmock.gyp:gmock', | 28 '../testing/gmock.gyp:gmock', |
| 29 '../testing/gtest.gyp:gtest', | 29 '../testing/gtest.gyp:gtest', |
| 30 ], | 30 ], |
| 31 'export_dependent_settings': [ | 31 'export_dependent_settings': [ |
| 32 'app/policy/cloud_policy_codegen.gyp:policy_test_support', | 32 'app/policy/cloud_policy_codegen.gyp:policy_test_support', |
| 33 '../base/base.gyp:test_support_base', | 33 '../base/base.gyp:test_support_base', |
| 34 ], | 34 ], |
| 35 'include_dirs': [ | 35 'include_dirs': [ |
| 36 '..', | 36 '..', |
| 37 ], | 37 ], |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 'target_name': 'test_support_unit', | 333 'target_name': 'test_support_unit', |
| 334 'type': 'static_library', | 334 'type': 'static_library', |
| 335 'dependencies': [ | 335 'dependencies': [ |
| 336 'chrome_resources.gyp:chrome_resources', | 336 'chrome_resources.gyp:chrome_resources', |
| 337 'chrome_resources.gyp:chrome_strings', | 337 'chrome_resources.gyp:chrome_strings', |
| 338 'browser', | 338 'browser', |
| 339 'common', | 339 'common', |
| 340 'test_support_common', | 340 'test_support_common', |
| 341 '../base/base.gyp:base', | 341 '../base/base.gyp:base', |
| 342 '../skia/skia.gyp:skia', | 342 '../skia/skia.gyp:skia', |
| 343 '../sync/sync.gyp:sync', | 343 '../sync/sync.gyp:sync_core', |
| 344 '../testing/gmock.gyp:gmock', | 344 '../testing/gmock.gyp:gmock', |
| 345 '../testing/gtest.gyp:gtest', | 345 '../testing/gtest.gyp:gtest', |
| 346 ], | 346 ], |
| 347 'include_dirs': [ | 347 'include_dirs': [ |
| 348 '..', | 348 '..', |
| 349 ], | 349 ], |
| 350 'sources': [ | 350 'sources': [ |
| 351 'browser/sync/profile_sync_service_mock.cc', | 351 'browser/sync/profile_sync_service_mock.cc', |
| 352 'browser/sync/profile_sync_service_mock.h', | 352 'browser/sync/profile_sync_service_mock.h', |
| 353 'test/base/run_all_unittests.cc', | 353 'test/base/run_all_unittests.cc', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 371 # NOTE: New dependencies should generally be added in the OS!="ios" | 371 # NOTE: New dependencies should generally be added in the OS!="ios" |
| 372 # dependencies block below, rather than here. | 372 # dependencies block below, rather than here. |
| 373 # Unit tests should only depend on: | 373 # Unit tests should only depend on: |
| 374 # 1) everything that the chrome binaries depend on: | 374 # 1) everything that the chrome binaries depend on: |
| 375 '<@(chromium_dependencies)', | 375 '<@(chromium_dependencies)', |
| 376 # 2) test-specific support libraries: | 376 # 2) test-specific support libraries: |
| 377 '../base/base.gyp:test_support_base', | 377 '../base/base.gyp:test_support_base', |
| 378 '../media/media.gyp:media_test_support', | 378 '../media/media.gyp:media_test_support', |
| 379 '../net/net.gyp:net', | 379 '../net/net.gyp:net', |
| 380 '../net/net.gyp:net_test_support', | 380 '../net/net.gyp:net_test_support', |
| 381 '../testing/gmock.gyp:gmock', | 381 '../sync/sync.gyp:sync_core', |
| 382 '../testing/gtest.gyp:gtest', | 382 '../sync/sync.gyp:sync_internal_api', |
| 383 'test_support_common', | 383 '../sync/sync.gyp:sync_notifier', |
| 384 '../sync/sync.gyp:sync_proto', |
| 384 '../sync/sync.gyp:test_support_sync_api', | 385 '../sync/sync.gyp:test_support_sync_api', |
| 385 '../sync/sync.gyp:test_support_sync_core', | 386 '../sync/sync.gyp:test_support_sync_core', |
| 386 '../sync/sync.gyp:test_support_sync_internal_api', | 387 '../sync/sync.gyp:test_support_sync_internal_api', |
| 387 '../sync/sync.gyp:test_support_sync_notifier', | 388 '../sync/sync.gyp:test_support_sync_notifier', |
| 389 '../testing/gmock.gyp:gmock', |
| 390 '../testing/gtest.gyp:gtest', |
| 391 'test_support_common', |
| 388 'test_support_unit', | 392 'test_support_unit', |
| 389 # 3) anything tests directly depend on | 393 # 3) anything tests directly depend on |
| 390 '../google_apis/google_apis.gyp:google_apis', | 394 '../google_apis/google_apis.gyp:google_apis', |
| 391 '../skia/skia.gyp:skia', | 395 '../skia/skia.gyp:skia', |
| 392 '../third_party/bzip2/bzip2.gyp:bzip2', | 396 '../third_party/bzip2/bzip2.gyp:bzip2', |
| 393 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 397 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 394 '../third_party/icu/icu.gyp:icui18n', | 398 '../third_party/icu/icu.gyp:icui18n', |
| 395 '../third_party/icu/icu.gyp:icuuc', | 399 '../third_party/icu/icu.gyp:icuuc', |
| 396 '../third_party/libxml/libxml.gyp:libxml', | 400 '../third_party/libxml/libxml.gyp:libxml', |
| 397 '../ui/ui.gyp:ui_resources', | 401 '../ui/ui.gyp:ui_resources', |
| (...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2315 'unit_tests.isolate', | 2319 'unit_tests.isolate', |
| 2316 ], | 2320 ], |
| 2317 'sources': [ | 2321 'sources': [ |
| 2318 'unit_tests.isolate', | 2322 'unit_tests.isolate', |
| 2319 ], | 2323 ], |
| 2320 }, | 2324 }, |
| 2321 ], | 2325 ], |
| 2322 }], | 2326 }], |
| 2323 ], # 'conditions' | 2327 ], # 'conditions' |
| 2324 } | 2328 } |
| OLD | NEW |