Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 2842021: Fix the allocator dependency to respect win_use_allocator_shim variable.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'browser_tests_sources_views_specific': [ 7 'browser_tests_sources_views_specific': [
8 'browser/extensions/browser_action_test_util_views.cc', 8 'browser/extensions/browser_action_test_util_views.cc',
9 'browser/views/browser_actions_container_browsertest.cc', 9 'browser/views/browser_actions_container_browsertest.cc',
10 ], 10 ],
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 'conditions': [ 252 'conditions': [
253 ['OS=="linux"', { 253 ['OS=="linux"', {
254 'dependencies': [ 254 'dependencies': [
255 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 255 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
256 ], 256 ],
257 }], 257 }],
258 ['OS=="win"', { 258 ['OS=="win"', {
259 'include_dirs': [ 259 'include_dirs': [
260 '<(DEPTH)/third_party/wtl/include', 260 '<(DEPTH)/third_party/wtl/include',
261 ], 261 ],
262 'dependencies': [ 262 'conditions': [
263 '<(allocator_target)', 263 ['win_use_allocator_shim==1', {
264 ], 264 'dependencies': [
265 '<(allocator_target)',
266 ],
267 }],
268 ],
265 }], 269 }],
266 ], 270 ],
267 }, 271 },
268 { 272 {
269 'target_name': 'ui_tests', 273 'target_name': 'ui_tests',
270 'type': 'executable', 274 'type': 'executable',
271 'msvs_guid': '76235B67-1C27-4627-8A33-4B2E1EF93EDE', 275 'msvs_guid': '76235B67-1C27-4627-8A33-4B2E1EF93EDE',
272 'dependencies': [ 276 'dependencies': [
273 'chrome', 277 'chrome',
274 'browser', 278 'browser',
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 }], 395 }],
392 ['OS=="win"', { 396 ['OS=="win"', {
393 'include_dirs': [ 397 'include_dirs': [
394 '<(DEPTH)/third_party/wtl/include', 398 '<(DEPTH)/third_party/wtl/include',
395 ], 399 ],
396 'dependencies': [ 400 'dependencies': [
397 'crash_service', # run time dependency 401 'crash_service', # run time dependency
398 'security_tests', # run time dependency 402 'security_tests', # run time dependency
399 'test_support_common', 403 'test_support_common',
400 '../google_update/google_update.gyp:google_update', 404 '../google_update/google_update.gyp:google_update',
401 '<(allocator_target)',
402 ], 405 ],
406 'conditions': [
407 ['win_use_allocator_shim==1', {
408 'dependencies': [
409 '<(allocator_target)',
410 ],
411 }],
412 ],
403 'link_settings': { 413 'link_settings': {
404 'libraries': [ 414 'libraries': [
405 '-lOleAcc.lib', 415 '-lOleAcc.lib',
406 ], 416 ],
407 }, 417 },
408 'configurations': { 418 'configurations': {
409 'Debug_Base': { 419 'Debug_Base': {
410 'msvs_settings': { 420 'msvs_settings': {
411 'VCLinkerTool': { 421 'VCLinkerTool': {
412 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 422 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 ['OS=="win"', { 476 ['OS=="win"', {
467 'dependencies': [ 477 'dependencies': [
468 'chrome_nacl_win64', 478 'chrome_nacl_win64',
469 'crash_service', # run time dependency 479 'crash_service', # run time dependency
470 'security_tests', # run time dependency 480 'security_tests', # run time dependency
471 'test_support_common', 481 'test_support_common',
472 '../google_update/google_update.gyp:google_update', 482 '../google_update/google_update.gyp:google_update',
473 '../views/views.gyp:views', 483 '../views/views.gyp:views',
474 # run time dependency 484 # run time dependency
475 '../webkit/webkit.gyp:npapi_test_plugin', 485 '../webkit/webkit.gyp:npapi_test_plugin',
476 '<(allocator_target)',
477 ], 486 ],
487 'conditions': [
488 ['win_use_allocator_shim==1', {
489 'dependencies': [
490 '<(allocator_target)',
491 ],
492 }],
493 ],
478 'link_settings': { 494 'link_settings': {
479 'libraries': [ 495 'libraries': [
480 '-lOleAcc.lib', 496 '-lOleAcc.lib',
481 ], 497 ],
482 }, 498 },
483 'configurations': { 499 'configurations': {
484 'Debug_Base': { 500 'Debug_Base': {
485 'msvs_settings': { 501 'msvs_settings': {
486 'VCLinkerTool': { 502 'VCLinkerTool': {
487 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 503 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 'defines': [ 1224 'defines': [
1209 '__STD_C', 1225 '__STD_C',
1210 '_CRT_SECURE_NO_DEPRECATE', 1226 '_CRT_SECURE_NO_DEPRECATE',
1211 '_SCL_SECURE_NO_DEPRECATE', 1227 '_SCL_SECURE_NO_DEPRECATE',
1212 ], 1228 ],
1213 'dependencies': [ 1229 'dependencies': [
1214 'chrome_dll_version', 1230 'chrome_dll_version',
1215 'installer_util_strings', 1231 'installer_util_strings',
1216 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', 1232 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
1217 'test_chrome_plugin', # run time dependency 1233 'test_chrome_plugin', # run time dependency
1218 '<(allocator_target)',
1219 ], 1234 ],
1235 'conditions': [
1236 ['win_use_allocator_shim==1', {
1237 'dependencies': [
1238 '<(allocator_target)',
1239 ],
1240 }],
1241 ],
1220 'include_dirs': [ 1242 'include_dirs': [
1221 '<(DEPTH)/third_party/wtl/include', 1243 '<(DEPTH)/third_party/wtl/include',
1222 ], 1244 ],
1223 'sources': [ 1245 'sources': [
1224 'app/chrome_dll.rc', 1246 'app/chrome_dll.rc',
1225 'test/data/resource.rc', 1247 'test/data/resource.rc',
1226 1248
1227 '<@(views_unit_tests_sources)', 1249 '<@(views_unit_tests_sources)',
1228 1250
1229 # TODO: It would be nice to have these pulled in 1251 # TODO: It would be nice to have these pulled in
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 '<@(browser_tests_sources_win_specific)', 1458 '<@(browser_tests_sources_win_specific)',
1437 '<@(browser_tests_sources_views_specific)' 1459 '<@(browser_tests_sources_views_specific)'
1438 ], 1460 ],
1439 'include_dirs': [ 1461 'include_dirs': [
1440 '<(DEPTH)/third_party/wtl/include', 1462 '<(DEPTH)/third_party/wtl/include',
1441 ], 1463 ],
1442 'dependencies': [ 1464 'dependencies': [
1443 'chrome_dll_version', 1465 'chrome_dll_version',
1444 'installer_util_strings', 1466 'installer_util_strings',
1445 '../sandbox/sandbox.gyp:sandbox', 1467 '../sandbox/sandbox.gyp:sandbox',
1446 '<(allocator_target)',
1447 ], 1468 ],
1469 'conditions': [
1470 ['win_use_allocator_shim==1', {
1471 'dependencies': [
1472 '<(allocator_target)',
1473 ],
1474 }],
1475 ],
1448 'configurations': { 1476 'configurations': {
1449 'Debug_Base': { 1477 'Debug_Base': {
1450 'msvs_settings': { 1478 'msvs_settings': {
1451 'VCLinkerTool': { 1479 'VCLinkerTool': {
1452 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 1480 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1453 }, 1481 },
1454 }, 1482 },
1455 }, 1483 },
1456 } 1484 }
1457 }], 1485 }],
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 '../build/linux/system.gyp:gtk', 1595 '../build/linux/system.gyp:gtk',
1568 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1596 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1569 ], 1597 ],
1570 }], 1598 }],
1571 ['OS=="linux" and toolkit_views==1', { 1599 ['OS=="linux" and toolkit_views==1', {
1572 'dependencies': [ 1600 'dependencies': [
1573 '../views/views.gyp:views', 1601 '../views/views.gyp:views',
1574 ], 1602 ],
1575 }], 1603 }],
1576 ['OS=="win"', { 1604 ['OS=="win"', {
1577 'dependencies': [ 1605 'conditions': [
1578 '<(allocator_target)', 1606 ['win_use_allocator_shim==1', {
1579 ], 1607 'dependencies': [
1608 '<(allocator_target)',
1609 ],
1610 }],
1611 ],
1580 'configurations': { 1612 'configurations': {
1581 'Debug_Base': { 1613 'Debug_Base': {
1582 'msvs_settings': { 1614 'msvs_settings': {
1583 'VCLinkerTool': { 1615 'VCLinkerTool': {
1584 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 1616 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1585 }, 1617 },
1586 }, 1618 },
1587 }, 1619 },
1588 }, 1620 },
1589 },], 1621 },],
(...skipping 30 matching lines...) Expand all
1620 'include_dirs': [ 1652 'include_dirs': [
1621 '..', 1653 '..',
1622 ], 1654 ],
1623 'sources': [ 1655 'sources': [
1624 'test/reliability/page_load_test.cc', 1656 'test/reliability/page_load_test.cc',
1625 'test/reliability/page_load_test.h', 1657 'test/reliability/page_load_test.h',
1626 'test/reliability/reliability_test_suite.h', 1658 'test/reliability/reliability_test_suite.h',
1627 'test/reliability/run_all_unittests.cc', 1659 'test/reliability/run_all_unittests.cc',
1628 ], 1660 ],
1629 'conditions': [ 1661 'conditions': [
1630 ['OS=="win"', { 1662 ['OS=="win" and win_use_allocator_shim==1', {
1631 'dependencies': [ 1663 'dependencies': [
1632 '<(allocator_target)', 1664 '<(allocator_target)',
1633 ], 1665 ],
1634 },], 1666 },],
1635 ['OS=="linux"', { 1667 ['OS=="linux"', {
1636 'dependencies': [ 1668 'dependencies': [
1637 '../build/linux/system.gyp:gtk', 1669 '../build/linux/system.gyp:gtk',
1638 ], 1670 ],
1639 },], 1671 },],
1640 ], 1672 ],
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 'sources': [ 1726 'sources': [
1695 'test/tab_switching/tab_switching_test.cc', 1727 'test/tab_switching/tab_switching_test.cc',
1696 ], 1728 ],
1697 'conditions': [ 1729 'conditions': [
1698 ['OS=="linux"', { 1730 ['OS=="linux"', {
1699 'dependencies': [ 1731 'dependencies': [
1700 '../build/linux/system.gyp:gtk', 1732 '../build/linux/system.gyp:gtk',
1701 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1733 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1702 ], 1734 ],
1703 }], 1735 }],
1704 ['OS=="win"', { 1736 ['OS=="win" and win_use_allocator_shim==1', {
1705 'dependencies': [ 1737 'dependencies': [
1706 '<(allocator_target)', 1738 '<(allocator_target)',
1707 ], 1739 ],
1708 },], 1740 },],
1709 ], 1741 ],
1710 }, 1742 },
1711 { 1743 {
1712 'target_name': 'memory_test', 1744 'target_name': 'memory_test',
1713 'type': 'executable', 1745 'type': 'executable',
1714 'msvs_guid': 'A5F831FD-9B9C-4FEF-9FBA-554817B734CE', 1746 'msvs_guid': 'A5F831FD-9B9C-4FEF-9FBA-554817B734CE',
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 '..', 1788 '..',
1757 ], 1789 ],
1758 'sources': [ 1790 'sources': [
1759 'test/url_fetch_test/url_fetch_test.cc', 1791 'test/url_fetch_test/url_fetch_test.cc',
1760 ], 1792 ],
1761 'conditions': [ 1793 'conditions': [
1762 ['OS=="win"', { 1794 ['OS=="win"', {
1763 'include_dirs': [ 1795 'include_dirs': [
1764 '<(DEPTH)/third_party/wtl/include', 1796 '<(DEPTH)/third_party/wtl/include',
1765 ], 1797 ],
1766 'dependencies': [ 1798 'conditions': [
1767 '<(allocator_target)', 1799 ['win_use_allocator_shim==1', {
1768 ], 1800 'dependencies': [
1801 '<(allocator_target)',
1802 ],
1803 }],
1804 ],
1769 }], # OS="win" 1805 }], # OS="win"
1770 ], # conditions 1806 ], # conditions
1771 }, 1807 },
1772 { 1808 {
1773 'target_name': 'common_net_test_support', 1809 'target_name': 'common_net_test_support',
1774 'type': '<(library)', 1810 'type': '<(library)',
1775 'sources': [ 1811 'sources': [
1776 'common/net/fake_network_change_notifier_thread.cc', 1812 'common/net/fake_network_change_notifier_thread.cc',
1777 'common/net/fake_network_change_notifier_thread.h', 1813 'common/net/fake_network_change_notifier_thread.h',
1778 'common/net/thread_blocker.cc', 1814 'common/net/thread_blocker.cc',
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 '../third_party/libjingle/libjingle.gyp:libjingle', 1957 '../third_party/libjingle/libjingle.gyp:libjingle',
1922 'profile_import', 1958 'profile_import',
1923 'syncapi', 1959 'syncapi',
1924 'test_support_unit', 1960 'test_support_unit',
1925 ], 1961 ],
1926 'conditions': [ 1962 'conditions': [
1927 ['OS=="win"', { 1963 ['OS=="win"', {
1928 'sources' : [ 1964 'sources' : [
1929 'browser/sync/util/data_encryption_unittest.cc', 1965 'browser/sync/util/data_encryption_unittest.cc',
1930 ], 1966 ],
1931 'dependencies': [ 1967 'conditions': [
1932 '<(allocator_target)', 1968 ['win_use_allocator_shim==1', {
1969 'dependencies': [
1970 '<(allocator_target)',
1971 ],
1972 }],
1933 ], 1973 ],
1934 'link_settings': { 1974 'link_settings': {
1935 'libraries': [ 1975 'libraries': [
1936 '-lcrypt32.lib', 1976 '-lcrypt32.lib',
1937 '-lws2_32.lib', 1977 '-lws2_32.lib',
1938 '-lsecur32.lib', 1978 '-lsecur32.lib',
1939 ], 1979 ],
1940 }, 1980 },
1941 'configurations': { 1981 'configurations': {
1942 'Debug_Base': { 1982 'Debug_Base': {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2072 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', 2112 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
2073 ], 2113 ],
2074 'include_dirs': [ 2114 'include_dirs': [
2075 '<(DEPTH)/third_party/wtl/include', 2115 '<(DEPTH)/third_party/wtl/include',
2076 ], 2116 ],
2077 'dependencies': [ 2117 'dependencies': [
2078 'chrome_dll_version', 2118 'chrome_dll_version',
2079 'installer_util_strings', 2119 'installer_util_strings',
2080 '../views/views.gyp:views', 2120 '../views/views.gyp:views',
2081 '../sandbox/sandbox.gyp:sandbox', 2121 '../sandbox/sandbox.gyp:sandbox',
2082 '<(allocator_target)', 2122 ],
2123 'conditions': [
2124 ['win_use_allocator_shim==1', {
2125 'dependencies': [
2126 '<(allocator_target)',
2127 ],
2128 }],
2083 ], 2129 ],
2084 'configurations': { 2130 'configurations': {
2085 'Debug': { 2131 'Debug': {
2086 'msvs_settings': { 2132 'msvs_settings': {
2087 'VCLinkerTool': { 2133 'VCLinkerTool': {
2088 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2134 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2089 }, 2135 },
2090 }, 2136 },
2091 }, 2137 },
2092 }, 2138 },
(...skipping 18 matching lines...) Expand all
2111 ], 2157 ],
2112 'include_dirs': [ 2158 'include_dirs': [
2113 '..', 2159 '..',
2114 ], 2160 ],
2115 'sources': [ 2161 'sources': [
2116 'test/plugin/plugin_test.cpp', 2162 'test/plugin/plugin_test.cpp',
2117 ], 2163 ],
2118 'conditions': [ 2164 'conditions': [
2119 ['OS=="win"', { 2165 ['OS=="win"', {
2120 'dependencies': [ 2166 'dependencies': [
2121 '<(allocator_target)',
2122 'security_tests', # run time dependency 2167 'security_tests', # run time dependency
2123 ], 2168 ],
2169 'conditions': [
2170 ['win_use_allocator_shim==1', {
2171 'dependencies': [
2172 '<(allocator_target)',
2173 ],
2174 }],
2175 ],
2124 'include_dirs': [ 2176 'include_dirs': [
2125 '<(DEPTH)/third_party/wtl/include', 2177 '<(DEPTH)/third_party/wtl/include',
2126 ], 2178 ],
2127 },], 2179 },],
2128 ], 2180 ],
2129 }, 2181 },
2130 ], 2182 ],
2131 'conditions': [ 2183 'conditions': [
2132 ['OS!="mac"', { 2184 ['OS!="mac"', {
2133 'targets': [ 2185 'targets': [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 ['OS=="win"', { 2230 ['OS=="win"', {
2179 'configurations': { 2231 'configurations': {
2180 'Debug_Base': { 2232 'Debug_Base': {
2181 'msvs_settings': { 2233 'msvs_settings': {
2182 'VCLinkerTool': { 2234 'VCLinkerTool': {
2183 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2235 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2184 }, 2236 },
2185 }, 2237 },
2186 }, 2238 },
2187 }, 2239 },
2188 'dependencies': [ 2240 'conditions': [
2189 '<(allocator_target)', 2241 ['win_use_allocator_shim==1', {
2242 'dependencies': [
2243 '<(allocator_target)',
2244 ],
2245 }],
2190 ], 2246 ],
2191 }], 2247 }],
2192 ], 2248 ],
2193 }, 2249 },
2194 # TODO(port): enable on mac. 2250 # TODO(port): enable on mac.
2195 { 2251 {
2196 'includes': ['test/interactive_ui/interactive_ui_tests.gypi'] 2252 'includes': ['test/interactive_ui/interactive_ui_tests.gypi']
2197 }, 2253 },
2198 ], 2254 ],
2199 },], # OS!="mac" 2255 },], # OS!="mac"
(...skipping 28 matching lines...) Expand all
2228 '../testing/gtest.gyp:gtest', 2284 '../testing/gtest.gyp:gtest',
2229 ], 2285 ],
2230 'include_dirs': [ 2286 'include_dirs': [
2231 '..', 2287 '..',
2232 '<(DEPTH)/third_party/wtl/include', 2288 '<(DEPTH)/third_party/wtl/include',
2233 ], 2289 ],
2234 'sources': [ 2290 'sources': [
2235 'test/selenium/selenium_test.cc', 2291 'test/selenium/selenium_test.cc',
2236 ], 2292 ],
2237 'conditions': [ 2293 'conditions': [
2238 ['OS=="win"', { 2294 ['OS=="win" and win_use_allocator_shim==1', {
2239 'dependencies': [ 2295 'dependencies': [
2240 '<(allocator_target)', 2296 '<(allocator_target)',
2241 ], 2297 ],
2242 },], 2298 },],
2243 ], 2299 ],
2244 }, 2300 },
2245 { 2301 {
2246 'target_name': 'test_chrome_plugin', 2302 'target_name': 'test_chrome_plugin',
2247 'type': 'shared_library', 2303 'type': 'shared_library',
2248 'msvs_guid': '7F0A70F6-BE3F-4C19-B435-956AB8F30BA4', 2304 'msvs_guid': '7F0A70F6-BE3F-4C19-B435-956AB8F30BA4',
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2552 ] 2608 ]
2553 }], # 'coverage!=0' 2609 }], # 'coverage!=0'
2554 ], # 'conditions' 2610 ], # 'conditions'
2555 } 2611 }
2556 2612
2557 # Local Variables: 2613 # Local Variables:
2558 # tab-width:2 2614 # tab-width:2
2559 # indent-tabs-mode:nil 2615 # indent-tabs-mode:nil
2560 # End: 2616 # End:
2561 # vim: set expandtab tabstop=2 shiftwidth=2: 2617 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698