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