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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 ], | 406 ], |
407 }, | 407 }, |
408 { | 408 { |
409 'target_name': 'unit_tests', | 409 'target_name': 'unit_tests', |
410 'type': '<(gtest_target_type)', | 410 'type': '<(gtest_target_type)', |
411 'dependencies': [ | 411 'dependencies': [ |
412 # NOTE: New dependencies should generally be added in the OS!="ios" | 412 # NOTE: New dependencies should generally be added in the OS!="ios" |
413 # dependencies block below, rather than here. | 413 # dependencies block below, rather than here. |
414 # Unit tests should only depend on: | 414 # Unit tests should only depend on: |
415 # 1) everything that the chrome binaries depend on: | 415 # 1) everything that the chrome binaries depend on: |
416 '<@(chromium_dependencies)', | 416 '<@(chromium_browser_dependencies)', |
| 417 '<@(chromium_child_dependencies)', |
417 # 2) test-specific support libraries: | 418 # 2) test-specific support libraries: |
418 '../base/base.gyp:test_support_base', | 419 '../base/base.gyp:test_support_base', |
419 '../media/media.gyp:media_test_support', | 420 '../media/media.gyp:media_test_support', |
420 '../net/net.gyp:net', | 421 '../net/net.gyp:net', |
421 '../net/net.gyp:net_test_support', | 422 '../net/net.gyp:net_test_support', |
422 '../sync/sync.gyp:test_support_sync_api', | 423 '../sync/sync.gyp:test_support_sync_api', |
423 '../sync/sync.gyp:test_support_sync_core', | 424 '../sync/sync.gyp:test_support_sync_core', |
424 '../sync/sync.gyp:test_support_sync_internal_api', | 425 '../sync/sync.gyp:test_support_sync_internal_api', |
425 '../sync/sync.gyp:test_support_sync_notifier', | 426 '../sync/sync.gyp:test_support_sync_notifier', |
426 '../testing/gmock.gyp:gmock', | 427 '../testing/gmock.gyp:gmock', |
(...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 ], | 2388 ], |
2388 }], | 2389 }], |
2389 ], | 2390 ], |
2390 }, | 2391 }, |
2391 { | 2392 { |
2392 'target_name': 'chrome_app_unittests', | 2393 'target_name': 'chrome_app_unittests', |
2393 'type': 'executable', | 2394 'type': 'executable', |
2394 'dependencies': [ | 2395 'dependencies': [ |
2395 # unit tests should only depend on | 2396 # unit tests should only depend on |
2396 # 1) everything that the chrome binaries depend on: | 2397 # 1) everything that the chrome binaries depend on: |
2397 '<@(chromium_dependencies)', | 2398 '<@(chromium_browser_dependencies)', |
| 2399 '<@(chromium_child_dependencies)', |
2398 # 2) test-specific support libraries: | 2400 # 2) test-specific support libraries: |
2399 '../testing/gmock.gyp:gmock', | 2401 '../testing/gmock.gyp:gmock', |
2400 '../testing/gtest.gyp:gtest', | 2402 '../testing/gtest.gyp:gtest', |
2401 'test_support_common', | 2403 'test_support_common', |
2402 ], | 2404 ], |
2403 'include_dirs': [ | 2405 'include_dirs': [ |
2404 '..', | 2406 '..', |
2405 ], | 2407 ], |
2406 'sources': [ | 2408 'sources': [ |
2407 'app/breakpad_field_trial_win.cc', | 2409 'app/breakpad_field_trial_win.cc', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2496 # more details. | 2498 # more details. |
2497 'DebugInformationFormat': '3', | 2499 'DebugInformationFormat': '3', |
2498 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', | 2500 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/unit_tests.exe.pdb', |
2499 }, | 2501 }, |
2500 }, | 2502 }, |
2501 }, | 2503 }, |
2502 ], | 2504 ], |
2503 }], | 2505 }], |
2504 ], # 'conditions' | 2506 ], # 'conditions' |
2505 } | 2507 } |
OLD | NEW |