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