| 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 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 'setupapi.dll', | 181 'setupapi.dll', |
| 182 ], | 182 ], |
| 183 'AdditionalDependencies': [ | 183 'AdditionalDependencies': [ |
| 184 'cfgmgr32.lib', | 184 'cfgmgr32.lib', |
| 185 'powrprof.lib', | 185 'powrprof.lib', |
| 186 'setupapi.lib', | 186 'setupapi.lib', |
| 187 ], | 187 ], |
| 188 }, | 188 }, |
| 189 }, | 189 }, |
| 190 }, | 190 }, |
| 191 'copies': [ |
| 192 { |
| 193 'destination': '<(PRODUCT_DIR)/', |
| 194 'files': [ |
| 195 '../build/win/dbghelp_xp/dbghelp.dll', |
| 196 ], |
| 197 }, |
| 198 ], |
| 191 }], | 199 }], |
| 192 ['OS == "mac" or (OS == "ios" and _toolset == "host")', { | 200 ['OS == "mac" or (OS == "ios" and _toolset == "host")', { |
| 193 'link_settings': { | 201 'link_settings': { |
| 194 'libraries': [ | 202 'libraries': [ |
| 195 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 203 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 196 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framewor
k', | 204 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framewor
k', |
| 197 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 205 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 198 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 206 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 199 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 207 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 200 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 208 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 'threading/worker_pool_posix_unittest.cc', | 646 'threading/worker_pool_posix_unittest.cc', |
| 639 'threading/worker_pool_unittest.cc', | 647 'threading/worker_pool_unittest.cc', |
| 640 'time/pr_time_unittest.cc', | 648 'time/pr_time_unittest.cc', |
| 641 'time/time_unittest.cc', | 649 'time/time_unittest.cc', |
| 642 'time/time_win_unittest.cc', | 650 'time/time_win_unittest.cc', |
| 643 'timer/hi_res_timer_manager_unittest.cc', | 651 'timer/hi_res_timer_manager_unittest.cc', |
| 644 'timer/mock_timer_unittest.cc', | 652 'timer/mock_timer_unittest.cc', |
| 645 'timer/timer_unittest.cc', | 653 'timer/timer_unittest.cc', |
| 646 'tools_sanity_unittest.cc', | 654 'tools_sanity_unittest.cc', |
| 647 'trace_event/memory_dump_manager_unittest.cc', | 655 'trace_event/memory_dump_manager_unittest.cc', |
| 656 'trace_event/process_memory_maps_dump_provider_unittest.cc', |
| 648 'trace_event/process_memory_totals_dump_provider_unittest.cc', | 657 'trace_event/process_memory_totals_dump_provider_unittest.cc', |
| 649 'trace_event/trace_event_argument_unittest.cc', | 658 'trace_event/trace_event_argument_unittest.cc', |
| 650 'trace_event/trace_event_memory_unittest.cc', | 659 'trace_event/trace_event_memory_unittest.cc', |
| 651 'trace_event/trace_event_synthetic_delay_unittest.cc', | 660 'trace_event/trace_event_synthetic_delay_unittest.cc', |
| 652 'trace_event/trace_event_system_stats_monitor_unittest.cc', | 661 'trace_event/trace_event_system_stats_monitor_unittest.cc', |
| 653 'trace_event/trace_event_unittest.cc', | 662 'trace_event/trace_event_unittest.cc', |
| 654 'trace_event/trace_event_win_unittest.cc', | 663 'trace_event/trace_event_win_unittest.cc', |
| 655 'tracked_objects_unittest.cc', | 664 'tracked_objects_unittest.cc', |
| 656 'tuple_unittest.cc', | 665 'tuple_unittest.cc', |
| 657 'values_unittest.cc', | 666 'values_unittest.cc', |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 ], | 771 ], |
| 763 }, | 772 }, |
| 764 ], | 773 ], |
| 765 ['OS == "win"', { | 774 ['OS == "win"', { |
| 766 'sources!': [ | 775 'sources!': [ |
| 767 'file_descriptor_shuffle_unittest.cc', | 776 'file_descriptor_shuffle_unittest.cc', |
| 768 'files/dir_reader_posix_unittest.cc', | 777 'files/dir_reader_posix_unittest.cc', |
| 769 'message_loop/message_pump_libevent_unittest.cc', | 778 'message_loop/message_pump_libevent_unittest.cc', |
| 770 'threading/worker_pool_posix_unittest.cc', | 779 'threading/worker_pool_posix_unittest.cc', |
| 771 ], | 780 ], |
| 781 'dependencies': [ |
| 782 'pe_image_test', |
| 783 ], |
| 772 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 784 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 773 'msvs_disabled_warnings': [ | 785 'msvs_disabled_warnings': [ |
| 774 4267, | 786 4267, |
| 775 ], | 787 ], |
| 776 'conditions': [ | 788 'conditions': [ |
| 777 # This is needed so base_unittests uses the allocator shim, as | 789 # This is needed so base_unittests uses the allocator shim, as |
| 778 # SecurityTest.MemoryAllocationRestriction* tests are dependent | 790 # SecurityTest.MemoryAllocationRestriction* tests are dependent |
| 779 # on tcmalloc. | 791 # on tcmalloc. |
| 780 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into | 792 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into |
| 781 # their own test suite. | 793 # their own test suite. |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 { | 881 { |
| 870 # GN: //base/test:test_support | 882 # GN: //base/test:test_support |
| 871 'target_name': 'test_support_base', | 883 'target_name': 'test_support_base', |
| 872 'type': 'static_library', | 884 'type': 'static_library', |
| 873 'dependencies': [ | 885 'dependencies': [ |
| 874 'base', | 886 'base', |
| 875 'base_static', | 887 'base_static', |
| 876 'base_i18n', | 888 'base_i18n', |
| 877 '../testing/gmock.gyp:gmock', | 889 '../testing/gmock.gyp:gmock', |
| 878 '../testing/gtest.gyp:gtest', | 890 '../testing/gtest.gyp:gtest', |
| 891 '../third_party/icu/icu.gyp:icuuc', |
| 879 '../third_party/libxml/libxml.gyp:libxml', | 892 '../third_party/libxml/libxml.gyp:libxml', |
| 880 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 893 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
| 881 ], | 894 ], |
| 882 'export_dependent_settings': [ | 895 'export_dependent_settings': [ |
| 883 'base', | 896 'base', |
| 884 ], | 897 ], |
| 885 'conditions': [ | 898 'conditions': [ |
| 886 ['os_posix==0', { | 899 ['os_posix==0', { |
| 887 'sources!': [ | 900 'sources!': [ |
| 888 'test/scoped_locale.cc', | 901 'test/scoped_locale.cc', |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1530 'type': 'executable', | 1543 'type': 'executable', |
| 1531 'sources': [ | 1544 'sources': [ |
| 1532 'debug_message.cc', | 1545 'debug_message.cc', |
| 1533 ], | 1546 ], |
| 1534 'msvs_settings': { | 1547 'msvs_settings': { |
| 1535 'VCLinkerTool': { | 1548 'VCLinkerTool': { |
| 1536 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 1549 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 1537 }, | 1550 }, |
| 1538 }, | 1551 }, |
| 1539 }, | 1552 }, |
| 1553 { |
| 1554 'target_name': 'pe_image_test', |
| 1555 'type': 'shared_library', |
| 1556 'sources': [ |
| 1557 'win/pe_image_test.cc', |
| 1558 ], |
| 1559 'msvs_settings': { |
| 1560 'VCLinkerTool': { |
| 1561 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 1562 'DelayLoadDLLs': [ |
| 1563 'cfgmgr32.dll', |
| 1564 'shell32.dll', |
| 1565 ], |
| 1566 'AdditionalDependencies': [ |
| 1567 'cfgmgr32.lib', |
| 1568 'shell32.lib', |
| 1569 ], |
| 1570 }, |
| 1571 }, |
| 1572 }, |
| 1540 ], | 1573 ], |
| 1541 }], | 1574 }], |
| 1542 ['test_isolation_mode != "noop"', { | 1575 ['test_isolation_mode != "noop"', { |
| 1543 'targets': [ | 1576 'targets': [ |
| 1544 { | 1577 { |
| 1545 'target_name': 'base_unittests_run', | 1578 'target_name': 'base_unittests_run', |
| 1546 'type': 'none', | 1579 'type': 'none', |
| 1547 'dependencies': [ | 1580 'dependencies': [ |
| 1548 'base_unittests', | 1581 'base_unittests', |
| 1549 ], | 1582 ], |
| 1550 'includes': [ | 1583 'includes': [ |
| 1551 '../build/isolate.gypi', | 1584 '../build/isolate.gypi', |
| 1552 ], | 1585 ], |
| 1553 'sources': [ | 1586 'sources': [ |
| 1554 'base_unittests.isolate', | 1587 'base_unittests.isolate', |
| 1555 ], | 1588 ], |
| 1556 'conditions': [ | 1589 'conditions': [ |
| 1557 ['use_x11 == 1', { | 1590 ['use_x11 == 1', { |
| 1558 'dependencies': [ | 1591 'dependencies': [ |
| 1559 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1592 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 1560 ], | 1593 ], |
| 1561 }], | 1594 }], |
| 1562 ], | 1595 ], |
| 1563 }, | 1596 }, |
| 1564 ], | 1597 ], |
| 1565 }], | 1598 }], |
| 1566 ], | 1599 ], |
| 1567 } | 1600 } |
| OLD | NEW |