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

Side by Side Diff: content/content_tests.gypi

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Squash and rebase Created 4 years, 7 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 (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 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 }, 1563 },
1564 { 1564 {
1565 'target_name': 'telemetry_base', 1565 'target_name': 'telemetry_base',
1566 'type': 'none', 1566 'type': 'none',
1567 'dependencies': [ 1567 'dependencies': [
1568 '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host', 1568 '../third_party/catapult/telemetry/telemetry.gyp:bitmaptools#host',
1569 ], 1569 ],
1570 }, 1570 },
1571 ], 1571 ],
1572 }], 1572 }],
1573 ['chromeos==1 or OS=="win" or OS=="android"', {
1574 'targets': [
1575 {
1576 # TODO(GYP): Port Windows and ChromeOS logic.
1577 # GN: //content/test:video_decode_accelerator_unittest
1578 'target_name': 'video_decode_accelerator_unittest',
1579 'type': '<(gtest_target_type)',
1580 'dependencies': [
1581 '../base/base.gyp:base',
1582 '../gpu/gpu.gyp:command_buffer_service',
1583 '../media/media.gyp:media',
1584 '../testing/gtest.gyp:gtest',
1585 '../ui/base/ui_base.gyp:ui_base',
1586 '../ui/gfx/gfx.gyp:gfx',
1587 '../ui/gfx/gfx.gyp:gfx_geometry',
1588 '../ui/gfx/gfx.gyp:gfx_test_support',
1589 '../ui/gl/gl.gyp:gl',
1590 '../ui/gl/gl.gyp:gl_test_support',
1591 'content.gyp:content',
1592 ],
1593 'include_dirs': [
1594 '<(DEPTH)/third_party/khronos',
1595 ],
1596 'sources': [
1597 'common/gpu/media/android_video_decode_accelerator_unittest.cc',
1598 'common/gpu/media/rendering_helper.cc',
1599 'common/gpu/media/rendering_helper.h',
1600 'common/gpu/media/video_accelerator_unittest_helpers.h',
1601 'common/gpu/media/video_decode_accelerator_unittest.cc',
1602 ],
1603 'conditions': [
1604 ['OS=="android"', {
1605 'sources/': [
1606 ['exclude', '^common/gpu/media/rendering_helper.h'],
1607 ['exclude', '^common/gpu/media/rendering_helper.cc'],
1608 ['exclude', '^common/gpu/media/video_decode_accelerator_unitte st.cc'],
1609 ],
1610 'dependencies': [
1611 '../media/media.gyp:player_android',
1612 '../testing/gmock.gyp:gmock',
1613 '../testing/android/native_test.gyp:native_test_native_code',
1614 '../gpu/gpu.gyp:gpu_unittest_utils',
1615 ],
1616 }, { # OS!="android"
1617 'sources/': [
1618 ['exclude', '^common/gpu/media/android_video_decode_accelerato r_unittest.cc'],
1619 ],
1620 }],
1621 ['OS=="win"', {
1622 'dependencies': [
1623 '<(angle_path)/src/angle.gyp:libEGL',
1624 '<(angle_path)/src/angle.gyp:libGLESv2',
1625 ],
1626 }],
1627 ['target_arch != "arm" and (OS=="linux" or chromeos == 1)', {
1628 'include_dirs': [
1629 '<(DEPTH)/third_party/libva',
1630 ],
1631 }],
1632 ['use_x11==1', {
1633 'dependencies': [
1634 '../build/linux/system.gyp:x11', # Used by rendering_helper.c c
1635 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1636 ],
1637 }],
1638 ['use_ozone==1 and chromeos==1', {
1639 'dependencies': [
1640 '../ui/display/display.gyp:display', # Used by rendering_help er.cc
1641 '../ui/ozone/ozone.gyp:ozone', # Used by rendering_helper.cc
1642 ],
1643 }],
1644 ],
1645 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1646 'msvs_disabled_warnings': [ 4267, ],
1647 },
1648 ]
1649 }],
1650 ['chromeos==1 and target_arch != "arm"', {
1651 'targets': [
1652 {
1653 'target_name': 'vaapi_jpeg_decoder_unittest',
1654 'type': '<(gtest_target_type)',
1655 'dependencies': [
1656 'content.gyp:content_common',
1657 '../base/base.gyp:base',
1658 '../media/media.gyp:media',
1659 '../media/media.gyp:media_test_support',
1660 '../testing/gtest.gyp:gtest',
1661 ],
1662 'sources': [
1663 'common/gpu/media/vaapi_jpeg_decoder_unittest.cc',
1664 ],
1665 'include_dirs': [
1666 '<(DEPTH)/third_party/libva',
1667 ],
1668 'conditions': [
1669 ['use_x11==1', {
1670 'dependencies': [
1671 '../build/linux/system.gyp:x11',
1672 ]
1673 }, {
1674 'dependencies': [
1675 '../build/linux/system.gyp:libdrm',
1676 ]
1677 }],
1678 ],
1679 }
1680 ]
1681 }],
1682 ['chromeos==1 or OS=="mac"', {
1683 'targets': [
1684 {
1685 'target_name': 'video_encode_accelerator_unittest',
1686 'type': 'executable',
1687 'dependencies': [
1688 'content.gyp:content_common',
1689 '../base/base.gyp:base',
1690 '../media/media.gyp:media',
1691 '../media/media.gyp:media_test_support',
1692 '../testing/gtest.gyp:gtest',
1693 '../ui/base/ui_base.gyp:ui_base',
1694 '../ui/gfx/gfx.gyp:gfx',
1695 '../ui/gfx/gfx.gyp:gfx_geometry',
1696 '../ui/gfx/gfx.gyp:gfx_test_support',
1697 '../ui/gl/gl.gyp:gl',
1698 '../ui/gl/gl.gyp:gl_test_support',
1699 'content.gyp:content',
1700 ],
1701 'sources': [
1702 'common/gpu/media/video_accelerator_unittest_helpers.h',
1703 'common/gpu/media/video_encode_accelerator_unittest.cc',
1704 ],
1705 'include_dirs': [
1706 '<(DEPTH)/third_party/libva',
1707 '<(DEPTH)/third_party/libyuv',
1708 ],
1709 'conditions': [
1710 ['use_x11==1', {
1711 'dependencies': [
1712 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
1713 ],
1714 }],
1715 ['use_ozone==1', {
1716 'dependencies': [
1717 '../ui/ozone/ozone.gyp:ozone',
1718 ],
1719 }],
1720 ],
1721 }
1722 ]
1723 }],
1724 ['chromeos==1', {
1725 'targets': [
1726 {
1727 'target_name': 'jpeg_decode_accelerator_unittest',
1728 'type': 'executable',
1729 'dependencies': [
1730 '../base/base.gyp:base',
1731 '../media/media.gyp:media',
1732 '../media/media.gyp:media_test_support',
1733 '../testing/gtest.gyp:gtest',
1734 '../third_party/libyuv/libyuv.gyp:libyuv',
1735 '../ui/gfx/gfx.gyp:gfx',
1736 '../ui/gfx/gfx.gyp:gfx_geometry',
1737 '../ui/gl/gl.gyp:gl',
1738 '../ui/gl/gl.gyp:gl_test_support',
1739 'content.gyp:content',
1740 ],
1741 'sources': [
1742 'common/gpu/media/jpeg_decode_accelerator_unittest.cc',
1743 ],
1744 'include_dirs': [
1745 '<(DEPTH)/third_party/libva',
1746 '<(DEPTH)/third_party/libyuv',
1747 ],
1748 }
1749 ]
1750 }],
1751 ['OS == "android"', { 1573 ['OS == "android"', {
1752 'targets': [ 1574 'targets': [
1753 { 1575 {
1754 # GN: //content/test:content_unittests 1576 # GN: //content/test:content_unittests
1755 'target_name': 'content_unittests_apk', 1577 'target_name': 'content_unittests_apk',
1756 'type': 'none', 1578 'type': 'none',
1757 'dependencies': [ 1579 'dependencies': [
1758 'content.gyp:content_java', 1580 'content.gyp:content_java',
1759 'content_unittests', 1581 'content_unittests',
1760 ], 1582 ],
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 'type': 'none', 1773 'type': 'none',
1952 'sources': [ 1774 'sources': [
1953 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java', 1775 'shell/android/linker_test_apk/src/org/chromium/chromium_linker_test _apk/LinkerTests.java',
1954 ], 1776 ],
1955 'variables': { 1777 'variables': {
1956 'jni_gen_package': 'content/shell', 1778 'jni_gen_package': 'content/shell',
1957 }, 1779 },
1958 'includes': [ '../build/jni_generator.gypi' ], 1780 'includes': [ '../build/jni_generator.gypi' ],
1959 }, 1781 },
1960 { 1782 {
1961 # GN: //content/test:video_decode_accelerator_unittest_apk
1962 'target_name': 'video_decode_accelerator_unittest_apk',
1963 'type': 'none',
1964 'dependencies': [
1965 'video_decode_accelerator_unittest',
1966 ],
1967 'variables': {
1968 'test_suite_name': 'video_decode_accelerator_unittest',
1969 },
1970 'includes': [ '../build/apk_test.gypi' ],
1971 },
1972 {
1973 # GN: //content/public/test/android:test_support_content_jni_headers 1783 # GN: //content/public/test/android:test_support_content_jni_headers
1974 'target_name': 'test_support_content_jni_headers', 1784 'target_name': 'test_support_content_jni_headers',
1975 'type': 'none', 1785 'type': 'none',
1976 'sources': [ 1786 'sources': [
1977 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java', 1787 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java',
1978 ], 1788 ],
1979 'variables': { 1789 'variables': {
1980 'jni_gen_package': 'content/public/test', 1790 'jni_gen_package': 'content/public/test',
1981 }, 1791 },
1982 'includes': [ '../build/jni_generator.gypi' ], 1792 'includes': [ '../build/jni_generator.gypi' ],
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2098 'content_unittests_apk.isolate', 1908 'content_unittests_apk.isolate',
2099 ], 1909 ],
2100 }, 1910 },
2101 ], 1911 ],
2102 }, 1912 },
2103 ], 1913 ],
2104 ], 1914 ],
2105 }], 1915 }],
2106 ], 1916 ],
2107 } 1917 }
OLDNEW
« content/DEPS ('K') | « content/content_renderer.gypi ('k') | content/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698