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', |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 ], | 416 ], |
417 }, | 417 }, |
418 { | 418 { |
419 'target_name': 'unit_tests', | 419 'target_name': 'unit_tests', |
420 'type': '<(gtest_target_type)', | 420 'type': '<(gtest_target_type)', |
421 'dependencies': [ | 421 'dependencies': [ |
422 # NOTE: New dependencies should generally be added in the OS!="ios" | 422 # NOTE: New dependencies should generally be added in the OS!="ios" |
423 # dependencies block below, rather than here. | 423 # dependencies block below, rather than here. |
424 # Unit tests should only depend on: | 424 # Unit tests should only depend on: |
425 # 1) everything that the chrome binaries depend on: | 425 # 1) everything that the chrome binaries depend on: |
426 '<@(chromium_dependencies)', | 426 '<@(chromium_browser_dependencies)', |
| 427 '<@(chromium_child_dependencies)', |
427 # 2) test-specific support libraries: | 428 # 2) test-specific support libraries: |
428 '../base/base.gyp:test_support_base', | 429 '../base/base.gyp:test_support_base', |
429 '../media/media.gyp:media_test_support', | 430 '../media/media.gyp:media_test_support', |
430 '../net/net.gyp:net', | 431 '../net/net.gyp:net', |
431 '../net/net.gyp:net_test_support', | 432 '../net/net.gyp:net_test_support', |
432 '../sync/sync.gyp:test_support_sync_api', | 433 '../sync/sync.gyp:test_support_sync_api', |
433 '../sync/sync.gyp:test_support_sync_core', | 434 '../sync/sync.gyp:test_support_sync_core', |
434 '../sync/sync.gyp:test_support_sync_internal_api', | 435 '../sync/sync.gyp:test_support_sync_internal_api', |
435 '../sync/sync.gyp:test_support_sync_notifier', | 436 '../sync/sync.gyp:test_support_sync_notifier', |
436 '../testing/gmock.gyp:gmock', | 437 '../testing/gmock.gyp:gmock', |
(...skipping 1948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2385 ], | 2386 ], |
2386 }], | 2387 }], |
2387 ], | 2388 ], |
2388 }, | 2389 }, |
2389 { | 2390 { |
2390 'target_name': 'chrome_app_unittests', | 2391 'target_name': 'chrome_app_unittests', |
2391 'type': 'executable', | 2392 'type': 'executable', |
2392 'dependencies': [ | 2393 'dependencies': [ |
2393 # unit tests should only depend on | 2394 # unit tests should only depend on |
2394 # 1) everything that the chrome binaries depend on: | 2395 # 1) everything that the chrome binaries depend on: |
2395 '<@(chromium_dependencies)', | 2396 '<@(chromium_browser_dependencies)', |
| 2397 '<@(chromium_child_dependencies)', |
2396 # 2) test-specific support libraries: | 2398 # 2) test-specific support libraries: |
2397 '../testing/gmock.gyp:gmock', | 2399 '../testing/gmock.gyp:gmock', |
2398 '../testing/gtest.gyp:gtest', | 2400 '../testing/gtest.gyp:gtest', |
2399 'test_support_common', | 2401 'test_support_common', |
2400 ], | 2402 ], |
2401 'include_dirs': [ | 2403 'include_dirs': [ |
2402 '..', | 2404 '..', |
2403 ], | 2405 ], |
2404 'sources': [ | 2406 'sources': [ |
2405 'app/breakpad_field_trial_win.cc', | 2407 'app/breakpad_field_trial_win.cc', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2489 # more details. | 2491 # more details. |
2490 'DebugInformationFormat': '3', | 2492 'DebugInformationFormat': '3', |
2491 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2493 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
2492 }, | 2494 }, |
2493 }, | 2495 }, |
2494 }, | 2496 }, |
2495 ], | 2497 ], |
2496 }], | 2498 }], |
2497 ], # 'conditions' | 2499 ], # 'conditions' |
2498 } | 2500 } |
OLD | NEW |