| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'layouttest_support_content_sources': [ | 7 'layouttest_support_content_sources': [ |
| 8 'public/test/layouttest_support.h', | 8 'public/test/layouttest_support.h', |
| 9 'public/test/nested_message_pump_android.cc', | 9 'public/test/nested_message_pump_android.cc', |
| 10 'public/test/nested_message_pump_android.h', | 10 'public/test/nested_message_pump_android.h', |
| (...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 }], | 1218 }], |
| 1219 ['enable_web_speech==1', { | 1219 ['enable_web_speech==1', { |
| 1220 'sources': [ '<@(content_unittests_speech_sources)' ], | 1220 'sources': [ '<@(content_unittests_speech_sources)' ], |
| 1221 }], | 1221 }], |
| 1222 ['OS=="linux" and use_dbus==1', { | 1222 ['OS=="linux" and use_dbus==1', { |
| 1223 'dependencies': [ | 1223 'dependencies': [ |
| 1224 '../build/linux/system.gyp:dbus', | 1224 '../build/linux/system.gyp:dbus', |
| 1225 '../dbus/dbus.gyp:dbus_test_support', | 1225 '../dbus/dbus.gyp:dbus_test_support', |
| 1226 ], | 1226 ], |
| 1227 }], | 1227 }], |
| 1228 ['OS=="win" and win_use_allocator_shim==1', { | |
| 1229 'dependencies': [ | |
| 1230 '../base/allocator/allocator.gyp:allocator', | |
| 1231 ], | |
| 1232 }], | |
| 1233 ['OS=="win"', { | 1228 ['OS=="win"', { |
| 1234 'dependencies': [ | 1229 'dependencies': [ |
| 1235 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | 1230 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 1236 ], | 1231 ], |
| 1237 }], | 1232 }], |
| 1238 ['OS=="mac"', { | 1233 ['OS=="mac"', { |
| 1239 # These flags are needed to run the test on Mac. | 1234 # These flags are needed to run the test on Mac. |
| 1240 # Search for comments about "xcode_settings" in chrome_tests.gypi. | 1235 # Search for comments about "xcode_settings" in chrome_tests.gypi. |
| 1241 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 1236 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 1242 }], | 1237 }], |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 'common/cc_messages_perftest.cc', | 1351 'common/cc_messages_perftest.cc', |
| 1357 'common/discardable_shared_memory_heap_perftest.cc', | 1352 'common/discardable_shared_memory_heap_perftest.cc', |
| 1358 'test/run_all_perftests.cc', | 1353 'test/run_all_perftests.cc', |
| 1359 ], | 1354 ], |
| 1360 'conditions': [ | 1355 'conditions': [ |
| 1361 ['OS == "android"', { | 1356 ['OS == "android"', { |
| 1362 'dependencies': [ | 1357 'dependencies': [ |
| 1363 '../testing/android/native_test.gyp:native_test_native_code', | 1358 '../testing/android/native_test.gyp:native_test_native_code', |
| 1364 ], | 1359 ], |
| 1365 }], | 1360 }], |
| 1366 ['OS=="win" and component!="shared_library" and win_use_allocator_sh
im==1', { | |
| 1367 'dependencies': [ | |
| 1368 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 1369 ], | |
| 1370 }], | |
| 1371 ], | 1361 ], |
| 1372 }, | 1362 }, |
| 1373 { | 1363 { |
| 1374 # GN version: //content/tests:browsertest_support | 1364 # GN version: //content/tests:browsertest_support |
| 1375 'target_name': 'content_browser_test_support', | 1365 'target_name': 'content_browser_test_support', |
| 1376 'type': 'static_library', | 1366 'type': 'static_library', |
| 1377 'dependencies': [ | 1367 'dependencies': [ |
| 1378 'content_shell_lib', | 1368 'content_shell_lib', |
| 1379 '../skia/skia.gyp:skia', | 1369 '../skia/skia.gyp:skia', |
| 1380 '../testing/gtest.gyp:gtest', | 1370 '../testing/gtest.gyp:gtest', |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 'msvs_settings': { | 1514 'msvs_settings': { |
| 1525 'VCLinkerTool': { | 1515 'VCLinkerTool': { |
| 1526 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 1516 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| 1527 }, | 1517 }, |
| 1528 }, | 1518 }, |
| 1529 }, | 1519 }, |
| 1530 }, | 1520 }, |
| 1531 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1521 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1532 'msvs_disabled_warnings': [ 4267, ], | 1522 'msvs_disabled_warnings': [ 4267, ], |
| 1533 }], | 1523 }], |
| 1534 ['OS=="win" and win_use_allocator_shim==1', { | |
| 1535 'dependencies': [ | |
| 1536 '../base/allocator/allocator.gyp:allocator', | |
| 1537 ], | |
| 1538 }], | |
| 1539 ['OS=="android"', { | 1524 ['OS=="android"', { |
| 1540 'sources': [ '<@(content_browsertests_android_sources)' ], | 1525 'sources': [ '<@(content_browsertests_android_sources)' ], |
| 1541 'sources!': [ | 1526 'sources!': [ |
| 1542 'browser/battery_status/battery_monitor_impl_browsertest.cc', | 1527 'browser/battery_status/battery_monitor_impl_browsertest.cc', |
| 1543 ], | 1528 ], |
| 1544 'dependencies': [ | 1529 'dependencies': [ |
| 1545 'content_shell_jni_headers', | 1530 'content_shell_jni_headers', |
| 1546 'content_shell_lib', | 1531 'content_shell_lib', |
| 1547 '../testing/android/native_test.gyp:native_test_support', | 1532 '../testing/android/native_test.gyp:native_test_support', |
| 1548 ], | 1533 ], |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 'dependencies': [ | 1613 'dependencies': [ |
| 1629 '../testing/android/native_test.gyp:native_test_native_code', | 1614 '../testing/android/native_test.gyp:native_test_native_code', |
| 1630 ], | 1615 ], |
| 1631 }, { | 1616 }, { |
| 1632 'dependencies': [ | 1617 'dependencies': [ |
| 1633 # Runtime dependencis. | 1618 # Runtime dependencis. |
| 1634 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1619 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 1635 '../third_party/mesa/mesa.gyp:osmesa', | 1620 '../third_party/mesa/mesa.gyp:osmesa', |
| 1636 ], | 1621 ], |
| 1637 }], | 1622 }], |
| 1638 ['OS=="win" and component!="shared_library" and win_use_allocator_sh
im==1', { | |
| 1639 'dependencies': [ | |
| 1640 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 1641 ], | |
| 1642 }], | |
| 1643 ], | 1623 ], |
| 1644 }, | 1624 }, |
| 1645 { | 1625 { |
| 1646 # GN version: //content/test:content_gl_benchmark | 1626 # GN version: //content/test:content_gl_benchmark |
| 1647 'target_name': 'content_gl_benchmark', | 1627 'target_name': 'content_gl_benchmark', |
| 1648 'type': '<(gtest_target_type)', | 1628 'type': '<(gtest_target_type)', |
| 1649 'dependencies': [ | 1629 'dependencies': [ |
| 1650 'content.gyp:content_common', | 1630 'content.gyp:content_common', |
| 1651 'test_support_content', | 1631 'test_support_content', |
| 1652 '../base/base.gyp:test_support_base', | 1632 '../base/base.gyp:test_support_base', |
| 1653 '../testing/gtest.gyp:gtest', | 1633 '../testing/gtest.gyp:gtest', |
| 1654 '../third_party/WebKit/public/blink.gyp:blink', | 1634 '../third_party/WebKit/public/blink.gyp:blink', |
| 1655 '../ui/base/ui_base.gyp:ui_base', | 1635 '../ui/base/ui_base.gyp:ui_base', |
| 1656 '../ui/gfx/gfx.gyp:gfx', | 1636 '../ui/gfx/gfx.gyp:gfx', |
| 1657 '../ui/gfx/gfx.gyp:gfx_geometry', | 1637 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 1658 '../ui/gl/gl.gyp:gl', | 1638 '../ui/gl/gl.gyp:gl', |
| 1659 '../ui/gl/gl.gyp:gl_test_support', | 1639 '../ui/gl/gl.gyp:gl_test_support', |
| 1660 ], | 1640 ], |
| 1661 'include_dirs': [ | 1641 'include_dirs': [ |
| 1662 '..', | 1642 '..', |
| 1663 ], | 1643 ], |
| 1664 'sources': [ | 1644 'sources': [ |
| 1665 'common/gpu/client/gl_helper_benchmark.cc', | 1645 'common/gpu/client/gl_helper_benchmark.cc', |
| 1666 ], | 1646 ], |
| 1667 'conditions': [ | |
| 1668 ['OS=="win" and component!="shared_library" and win_use_allocator_sh
im==1', { | |
| 1669 'dependencies': [ | |
| 1670 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 1671 ], | |
| 1672 }], | |
| 1673 ], | |
| 1674 }, | 1647 }, |
| 1675 ], | 1648 ], |
| 1676 }], | 1649 }], |
| 1677 ['chromeos==1 or OS=="win" or OS=="android"', { | 1650 ['chromeos==1 or OS=="win" or OS=="android"', { |
| 1678 'targets': [ | 1651 'targets': [ |
| 1679 { | 1652 { |
| 1680 # TODO(GYP): Port Windows and ChromeOS logic. | 1653 # TODO(GYP): Port Windows and ChromeOS logic. |
| 1681 # GN: //content/test:video_decode_accelerator_unittest | 1654 # GN: //content/test:video_decode_accelerator_unittest |
| 1682 'target_name': 'video_decode_accelerator_unittest', | 1655 'target_name': 'video_decode_accelerator_unittest', |
| 1683 'type': '<(gtest_target_type)', | 1656 'type': '<(gtest_target_type)', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1720 'sources/': [ | 1693 'sources/': [ |
| 1721 ['exclude', '^common/gpu/media/android_video_decode_accelerato
r_unittest.cc'], | 1694 ['exclude', '^common/gpu/media/android_video_decode_accelerato
r_unittest.cc'], |
| 1722 ], | 1695 ], |
| 1723 }], | 1696 }], |
| 1724 ['OS=="win"', { | 1697 ['OS=="win"', { |
| 1725 'dependencies': [ | 1698 'dependencies': [ |
| 1726 '<(angle_path)/src/angle.gyp:libEGL', | 1699 '<(angle_path)/src/angle.gyp:libEGL', |
| 1727 '<(angle_path)/src/angle.gyp:libGLESv2', | 1700 '<(angle_path)/src/angle.gyp:libGLESv2', |
| 1728 ], | 1701 ], |
| 1729 }], | 1702 }], |
| 1730 ['(OS=="win" and win_use_allocator_shim==1) or ' | |
| 1731 '(os_posix == 1 and OS != "android" and ' | |
| 1732 ' use_allocator!="none")', { | |
| 1733 'dependencies': [ | |
| 1734 '../base/allocator/allocator.gyp:allocator', | |
| 1735 ], | |
| 1736 }], | |
| 1737 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', { | 1703 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', { |
| 1738 'include_dirs': [ | 1704 'include_dirs': [ |
| 1739 '<(DEPTH)/third_party/libva', | 1705 '<(DEPTH)/third_party/libva', |
| 1740 ], | 1706 ], |
| 1741 }], | 1707 }], |
| 1742 ['use_x11==1', { | 1708 ['use_x11==1', { |
| 1743 'dependencies': [ | 1709 'dependencies': [ |
| 1744 '../build/linux/system.gyp:x11', # Used by rendering_helper.c
c | 1710 '../build/linux/system.gyp:x11', # Used by rendering_helper.c
c |
| 1745 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | 1711 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 1746 ], | 1712 ], |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2215 'content_unittests_apk.isolate', | 2181 'content_unittests_apk.isolate', |
| 2216 ], | 2182 ], |
| 2217 }, | 2183 }, |
| 2218 ], | 2184 ], |
| 2219 }, | 2185 }, |
| 2220 ], | 2186 ], |
| 2221 ], | 2187 ], |
| 2222 }], | 2188 }], |
| 2223 ], | 2189 ], |
| 2224 } | 2190 } |
| OLD | NEW |