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