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

Side by Side Diff: components/components_tests.gyp

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # This turns on e.g. the filename-based detection of which 7 # This turns on e.g. the filename-based detection of which
8 # platforms to include source files on (e.g. files ending in 8 # platforms to include source files on (e.g. files ending in
9 # _mac.h or _mac.cc are only compiled on MacOSX). 9 # _mac.h or _mac.cc are only compiled on MacOSX).
10 'chromium_code': 1, 10 'chromium_code': 1,
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 '<(DEPTH)/ui/views/views.gyp:views_test_support', 1147 '<(DEPTH)/ui/views/views.gyp:views_test_support',
1148 'components.gyp:constrained_window', 1148 'components.gyp:constrained_window',
1149 ] 1149 ]
1150 }], 1150 }],
1151 ['OS=="win"', { 1151 ['OS=="win"', {
1152 'dependencies': [ 1152 'dependencies': [
1153 'components.gyp:browser_watcher', 1153 'components.gyp:browser_watcher',
1154 'components.gyp:browser_watcher_client', 1154 'components.gyp:browser_watcher_client',
1155 ] 1155 ]
1156 }], 1156 }],
1157 ['OS=="win" and component!="shared_library" and win_use_allocator_shim== 1', {
1158 'dependencies': [
1159 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1160 ],
1161 }],
1162 [ 'cld_version==2', { 1157 [ 'cld_version==2', {
1163 'dependencies': [ 1158 'dependencies': [
1164 # Unit tests should always use statically-linked CLD data. 1159 # Unit tests should always use statically-linked CLD data.
1165 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ], 1160 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld2_static', ],
1166 }], 1161 }],
1167 ['OS != "ios"', { 1162 ['OS != "ios"', {
1168 'sources': [ 1163 'sources': [
1169 '<@(certificate_transparency_unittest_sources)', 1164 '<@(certificate_transparency_unittest_sources)',
1170 '<@(devtools_http_handler_unittest_sources)', 1165 '<@(devtools_http_handler_unittest_sources)',
1171 '<@(error_page_unittest_sources)', 1166 '<@(error_page_unittest_sources)',
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 }], 1444 }],
1450 ['OS=="linux" and use_udev==0', { 1445 ['OS=="linux" and use_udev==0', {
1451 'dependencies!': [ 1446 'dependencies!': [
1452 'components.gyp:storage_monitor', 1447 'components.gyp:storage_monitor',
1453 'components.gyp:storage_monitor_test_support', 1448 'components.gyp:storage_monitor_test_support',
1454 ], 1449 ],
1455 'sources/': [ 1450 'sources/': [
1456 ['exclude', '^storage_monitor/'], 1451 ['exclude', '^storage_monitor/'],
1457 ], 1452 ],
1458 }], 1453 }],
1459 ['OS=="win" and win_use_allocator_shim==1', {
1460 'dependencies': [
1461 '../base/allocator/allocator.gyp:allocator',
1462 ],
1463 }],
1464 ['OS=="linux" and component=="shared_library" and use_allocator!="none"' , {
1465 'dependencies': [
1466 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1467 ],
1468 'link_settings': {
1469 'ldflags': ['-rdynamic'],
1470 },
1471 }],
1472 ['configuration_policy==1', { 1454 ['configuration_policy==1', {
1473 'dependencies': [ 1455 'dependencies': [
1474 'components.gyp:policy_component', 1456 'components.gyp:policy_component',
1475 'components.gyp:policy_component_test_support', 1457 'components.gyp:policy_component_test_support',
1476 'components.gyp:policy_test_support', 1458 'components.gyp:policy_test_support',
1477 ], 1459 ],
1478 'sources': [ 1460 'sources': [
1479 '<@(policy_unittest_sources)', 1461 '<@(policy_unittest_sources)',
1480 'sync_driver/sync_policy_handler_unittest.cc', 1462 'sync_driver/sync_policy_handler_unittest.cc',
1481 ], 1463 ],
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 'scheduler/base/task_queue_manager_delegate_for_test.h', 1697 'scheduler/base/task_queue_manager_delegate_for_test.h',
1716 'scheduler/base/task_queue_manager_perftest.cc', 1698 'scheduler/base/task_queue_manager_perftest.cc',
1717 'visitedlink/test/visitedlink_perftest.cc', 1699 'visitedlink/test/visitedlink_perftest.cc',
1718 ], 1700 ],
1719 'conditions': [ 1701 'conditions': [
1720 ['OS == "android"', { 1702 ['OS == "android"', {
1721 'dependencies': [ 1703 'dependencies': [
1722 '../testing/android/native_test.gyp:native_test_native_code', 1704 '../testing/android/native_test.gyp:native_test_native_code',
1723 ], 1705 ],
1724 }], 1706 }],
1725 ['OS=="win" and component!="shared_library" and win_use_allocator_shi m==1', {
1726 'dependencies': [
1727 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
1728 ],
1729 }],
1730 ], 1707 ],
1731 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1708 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1732 'msvs_disabled_warnings': [ 4267, ], 1709 'msvs_disabled_warnings': [ 4267, ],
1733 }, 1710 },
1734 { 1711 {
1735 'target_name': 'components_browsertests', 1712 'target_name': 'components_browsertests',
1736 'type': '<(gtest_target_type)', 1713 'type': '<(gtest_target_type)',
1737 'defines!': ['CONTENT_IMPLEMENTATION'], 1714 'defines!': ['CONTENT_IMPLEMENTATION'],
1738 'dependencies': [ 1715 'dependencies': [
1739 '../content/content.gyp:content_common', 1716 '../content/content.gyp:content_common',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1817 'msvs_settings': { 1794 'msvs_settings': {
1818 'VCLinkerTool': { 1795 'VCLinkerTool': {
1819 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 1796 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1820 }, 1797 },
1821 }, 1798 },
1822 }, 1799 },
1823 }, 1800 },
1824 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1801 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1825 'msvs_disabled_warnings': [ 4267, ], 1802 'msvs_disabled_warnings': [ 4267, ],
1826 }], 1803 }],
1827 ['OS=="win" and win_use_allocator_shim==1', {
1828 'dependencies': [
1829 '../base/allocator/allocator.gyp:allocator',
1830 ],
1831 }],
1832 ['OS=="mac"', { 1804 ['OS=="mac"', {
1833 'dependencies': [ 1805 'dependencies': [
1834 '../content/content_shell_and_tests.gyp:content_shell', # Neede d for Content Shell.app's Helper. 1806 '../content/content_shell_and_tests.gyp:content_shell', # Neede d for Content Shell.app's Helper.
1835 ], 1807 ],
1836 }], 1808 }],
1837 ['enable_basic_printing==1 or enable_print_preview==1', { 1809 ['enable_basic_printing==1 or enable_print_preview==1', {
1838 'dependencies': [ 1810 'dependencies': [
1839 'components.gyp:printing_test_support', 1811 'components.gyp:printing_test_support',
1840 ], 1812 ],
1841 'sources' : [ 1813 'sources' : [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 'dependencies': [ 1861 'dependencies': [
1890 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1862 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
1891 ], 1863 ],
1892 }], 1864 }],
1893 ], 1865 ],
1894 }, 1866 },
1895 ], 1867 ],
1896 }], 1868 }],
1897 ], 1869 ],
1898 } 1870 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698