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

Side by Side Diff: content/content_tests.gypi

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

Powered by Google App Engine
This is Rietveld 408576698