| 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 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1649 '../build/isolate.gypi', | 1649 '../build/isolate.gypi', |
| 1650 ], | 1650 ], |
| 1651 'sources': [ | 1651 'sources': [ |
| 1652 'content_gl_tests.isolate', | 1652 'content_gl_tests.isolate', |
| 1653 ], | 1653 ], |
| 1654 }, | 1654 }, |
| 1655 ], | 1655 ], |
| 1656 }], | 1656 }], |
| 1657 ], | 1657 ], |
| 1658 }], | 1658 }], |
| 1659 ['chromeos==1 or OS=="win" or OS=="android"', { | |
| 1660 'targets': [ | |
| 1661 { | |
| 1662 # TODO(GYP): Port Windows and ChromeOS logic. | |
| 1663 # GN: //content/test:video_decode_accelerator_unittest | |
| 1664 'target_name': 'video_decode_accelerator_unittest', | |
| 1665 'type': '<(gtest_target_type)', | |
| 1666 'dependencies': [ | |
| 1667 '../base/base.gyp:base', | |
| 1668 '../gpu/gpu.gyp:command_buffer_service', | |
| 1669 '../media/media.gyp:media', | |
| 1670 '../testing/gtest.gyp:gtest', | |
| 1671 '../ui/base/ui_base.gyp:ui_base', | |
| 1672 '../ui/gfx/gfx.gyp:gfx', | |
| 1673 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 1674 '../ui/gfx/gfx.gyp:gfx_test_support', | |
| 1675 '../ui/gl/gl.gyp:gl', | |
| 1676 '../ui/gl/gl.gyp:gl_test_support', | |
| 1677 'content.gyp:content', | |
| 1678 ], | |
| 1679 'include_dirs': [ | |
| 1680 '<(DEPTH)/third_party/khronos', | |
| 1681 ], | |
| 1682 'sources': [ | |
| 1683 'common/gpu/media/android_video_decode_accelerator_unittest.cc', | |
| 1684 'common/gpu/media/rendering_helper.cc', | |
| 1685 'common/gpu/media/rendering_helper.h', | |
| 1686 'common/gpu/media/video_accelerator_unittest_helpers.h', | |
| 1687 'common/gpu/media/video_decode_accelerator_unittest.cc', | |
| 1688 ], | |
| 1689 'conditions': [ | |
| 1690 ['OS=="android"', { | |
| 1691 'sources/': [ | |
| 1692 ['exclude', '^common/gpu/media/rendering_helper.h'], | |
| 1693 ['exclude', '^common/gpu/media/rendering_helper.cc'], | |
| 1694 ['exclude', '^common/gpu/media/video_decode_accelerator_unitte
st.cc'], | |
| 1695 ], | |
| 1696 'dependencies': [ | |
| 1697 '../media/media.gyp:player_android', | |
| 1698 '../testing/gmock.gyp:gmock', | |
| 1699 '../testing/android/native_test.gyp:native_test_native_code', | |
| 1700 '../gpu/gpu.gyp:gpu_unittest_utils', | |
| 1701 ], | |
| 1702 }, { # OS!="android" | |
| 1703 'sources/': [ | |
| 1704 ['exclude', '^common/gpu/media/android_video_decode_accelerato
r_unittest.cc'], | |
| 1705 ], | |
| 1706 }], | |
| 1707 ['OS=="win"', { | |
| 1708 'dependencies': [ | |
| 1709 '<(angle_path)/src/angle.gyp:libEGL', | |
| 1710 '<(angle_path)/src/angle.gyp:libGLESv2', | |
| 1711 ], | |
| 1712 }], | |
| 1713 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', { | |
| 1714 'include_dirs': [ | |
| 1715 '<(DEPTH)/third_party/libva', | |
| 1716 ], | |
| 1717 }], | |
| 1718 ['use_x11==1', { | |
| 1719 'dependencies': [ | |
| 1720 '../build/linux/system.gyp:x11', # Used by rendering_helper.c
c | |
| 1721 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | |
| 1722 ], | |
| 1723 }], | |
| 1724 ['use_ozone==1 and chromeos==1', { | |
| 1725 'dependencies': [ | |
| 1726 '../ui/display/display.gyp:display', # Used by rendering_help
er.cc | |
| 1727 '../ui/ozone/ozone.gyp:ozone', # Used by rendering_helper.cc | |
| 1728 ], | |
| 1729 }], | |
| 1730 ], | |
| 1731 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 1732 'msvs_disabled_warnings': [ 4267, ], | |
| 1733 }, | |
| 1734 ] | |
| 1735 }], | |
| 1736 ['chromeos==1 and target_arch != "arm"', { | |
| 1737 'targets': [ | |
| 1738 { | |
| 1739 'target_name': 'vaapi_jpeg_decoder_unittest', | |
| 1740 'type': '<(gtest_target_type)', | |
| 1741 'dependencies': [ | |
| 1742 'content.gyp:content_common', | |
| 1743 '../base/base.gyp:base', | |
| 1744 '../media/media.gyp:media', | |
| 1745 '../media/media.gyp:media_test_support', | |
| 1746 '../testing/gtest.gyp:gtest', | |
| 1747 ], | |
| 1748 'sources': [ | |
| 1749 'common/gpu/media/vaapi_jpeg_decoder_unittest.cc', | |
| 1750 ], | |
| 1751 'include_dirs': [ | |
| 1752 '<(DEPTH)/third_party/libva', | |
| 1753 ], | |
| 1754 'conditions': [ | |
| 1755 ['use_x11==1', { | |
| 1756 'dependencies': [ | |
| 1757 '../build/linux/system.gyp:x11', | |
| 1758 ] | |
| 1759 }, { | |
| 1760 'dependencies': [ | |
| 1761 '../build/linux/system.gyp:libdrm', | |
| 1762 ] | |
| 1763 }], | |
| 1764 ], | |
| 1765 } | |
| 1766 ] | |
| 1767 }], | |
| 1768 ['chromeos==1 or OS=="mac"', { | |
| 1769 'targets': [ | |
| 1770 { | |
| 1771 'target_name': 'video_encode_accelerator_unittest', | |
| 1772 'type': 'executable', | |
| 1773 'dependencies': [ | |
| 1774 'content.gyp:content_common', | |
| 1775 '../base/base.gyp:base', | |
| 1776 '../media/media.gyp:media', | |
| 1777 '../media/media.gyp:media_test_support', | |
| 1778 '../testing/gtest.gyp:gtest', | |
| 1779 '../ui/base/ui_base.gyp:ui_base', | |
| 1780 '../ui/gfx/gfx.gyp:gfx', | |
| 1781 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 1782 '../ui/gfx/gfx.gyp:gfx_test_support', | |
| 1783 '../ui/gl/gl.gyp:gl', | |
| 1784 '../ui/gl/gl.gyp:gl_test_support', | |
| 1785 'content.gyp:content', | |
| 1786 ], | |
| 1787 'sources': [ | |
| 1788 'common/gpu/media/video_accelerator_unittest_helpers.h', | |
| 1789 'common/gpu/media/video_encode_accelerator_unittest.cc', | |
| 1790 ], | |
| 1791 'include_dirs': [ | |
| 1792 '<(DEPTH)/third_party/libva', | |
| 1793 '<(DEPTH)/third_party/libyuv', | |
| 1794 ], | |
| 1795 'conditions': [ | |
| 1796 ['use_x11==1', { | |
| 1797 'dependencies': [ | |
| 1798 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', | |
| 1799 ], | |
| 1800 }], | |
| 1801 ['use_ozone==1', { | |
| 1802 'dependencies': [ | |
| 1803 '../ui/ozone/ozone.gyp:ozone', | |
| 1804 ], | |
| 1805 }], | |
| 1806 ], | |
| 1807 } | |
| 1808 ] | |
| 1809 }], | |
| 1810 ['chromeos==1', { | |
| 1811 'targets': [ | |
| 1812 { | |
| 1813 'target_name': 'jpeg_decode_accelerator_unittest', | |
| 1814 'type': 'executable', | |
| 1815 'dependencies': [ | |
| 1816 '../base/base.gyp:base', | |
| 1817 '../media/media.gyp:media', | |
| 1818 '../media/media.gyp:media_test_support', | |
| 1819 '../testing/gtest.gyp:gtest', | |
| 1820 '../third_party/libyuv/libyuv.gyp:libyuv', | |
| 1821 '../ui/gfx/gfx.gyp:gfx', | |
| 1822 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 1823 '../ui/gl/gl.gyp:gl', | |
| 1824 '../ui/gl/gl.gyp:gl_test_support', | |
| 1825 'content.gyp:content', | |
| 1826 ], | |
| 1827 'sources': [ | |
| 1828 'common/gpu/media/jpeg_decode_accelerator_unittest.cc', | |
| 1829 ], | |
| 1830 'include_dirs': [ | |
| 1831 '<(DEPTH)/third_party/libva', | |
| 1832 '<(DEPTH)/third_party/libyuv', | |
| 1833 ], | |
| 1834 } | |
| 1835 ] | |
| 1836 }], | |
| 1837 ['OS == "android"', { | 1659 ['OS == "android"', { |
| 1838 'targets': [ | 1660 'targets': [ |
| 1839 { | 1661 { |
| 1840 # GN: //content/test:content_gl_tests | 1662 # GN: //content/test:content_gl_tests |
| 1841 'target_name': 'content_gl_tests_apk', | 1663 'target_name': 'content_gl_tests_apk', |
| 1842 'type': 'none', | 1664 'type': 'none', |
| 1843 'dependencies': [ | 1665 'dependencies': [ |
| 1844 'content_gl_tests', | 1666 'content_gl_tests', |
| 1845 'content_java_test_support', | 1667 'content_java_test_support', |
| 1846 ], | 1668 ], |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2199 'content_unittests_apk.isolate', | 2021 'content_unittests_apk.isolate', |
| 2200 ], | 2022 ], |
| 2201 }, | 2023 }, |
| 2202 ], | 2024 ], |
| 2203 }, | 2025 }, |
| 2204 ], | 2026 ], |
| 2205 ], | 2027 ], |
| 2206 }], | 2028 }], |
| 2207 ], | 2029 ], |
| 2208 } | 2030 } |
| OLD | NEW |