Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
| 9 'use_cras%': 0, | 9 'use_cras%': 0, |
| 10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
| (...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 996 # by file name rules). | 996 # by file name rules). |
| 997 ['include', '^base/mac/avfoundation_glue\\.h$'], | 997 ['include', '^base/mac/avfoundation_glue\\.h$'], |
| 998 ['include', '^base/mac/avfoundation_glue\\.mm$'], | 998 ['include', '^base/mac/avfoundation_glue\\.mm$'], |
| 999 ['include', '^base/mac/coremedia_glue\\.h$'], | 999 ['include', '^base/mac/coremedia_glue\\.h$'], |
| 1000 ['include', '^base/mac/coremedia_glue\\.mm$'], | 1000 ['include', '^base/mac/coremedia_glue\\.mm$'], |
| 1001 ], | 1001 ], |
| 1002 }], | 1002 }], |
| 1003 ], # target_conditions | 1003 ], # target_conditions |
| 1004 }, | 1004 }, |
| 1005 { | 1005 { |
| 1006 # GN version: //media/mojo/interfaces | |
| 1007 'target_name': 'mojo_media_bindings', | |
| 1008 'type': 'static_library', | |
| 1009 'sources': [ | |
| 1010 'mojo/interfaces/media_types.mojom', | |
| 1011 'mojo/interfaces/media_renderer.mojom', | |
| 1012 ], | |
| 1013 'includes': [ | |
| 1014 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' | |
| 1015 ], | |
| 1016 'export_dependent_settings': [ | |
| 1017 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
| 1018 ], | |
| 1019 'dependencies': [ | |
| 1020 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
| 1021 ], | |
| 1022 }, | |
| 1023 { | |
| 1024 'target_name': 'mojo_media_lib', | |
| 1025 'type': 'static_library', | |
| 1026 'includes': [ | |
| 1027 '../mojo/mojo_variables.gypi', | |
| 1028 ], | |
| 1029 'dependencies': [ | |
| 1030 'media', | |
| 1031 'mojo_media_bindings', | |
| 1032 '../base/base.gyp:base', | |
| 1033 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
| 1034 '<(mojo_system_for_component)', | |
| 1035 ], | |
| 1036 'export_dependent_settings': [ | |
| 1037 'mojo_media_bindings', | |
| 1038 ], | |
| 1039 'sources': [ | |
| 1040 'mojo/services/media_type_converters.cc', | |
| 1041 'mojo/services/media_type_converters.h', | |
| 1042 ], | |
| 1043 }, | |
| 1044 { | |
| 1045 'target_name': 'mojo_media_lib_unittests', | |
| 1046 'type': '<(gtest_target_type)', | |
| 1047 'dependencies': [ | |
| 1048 'media', | |
| 1049 'mojo_media_bindings', | |
| 1050 'mojo_media_lib', | |
| 1051 '../base/base.gyp:base', | |
| 1052 '../base/base.gyp:test_support_base', | |
| 1053 '../testing/gtest.gyp:gtest', | |
| 1054 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
| 1055 '../mojo/mojo_base.gyp:mojo_run_all_unittests', | |
| 1056 ], | |
| 1057 'sources': [ | |
| 1058 'mojo/services/media_type_converters_unittest.cc', | |
| 1059 ], | |
| 1060 }, | |
| 1061 { | |
| 1062 # GN version: //media:media_unittests | 1006 # GN version: //media:media_unittests |
| 1063 'target_name': 'media_unittests', | 1007 'target_name': 'media_unittests', |
| 1064 'type': '<(gtest_target_type)', | 1008 'type': '<(gtest_target_type)', |
| 1065 'dependencies': [ | 1009 'dependencies': [ |
| 1066 'media', | 1010 'media', |
| 1067 'media_test_support', | 1011 'media_test_support', |
| 1068 'shared_memory_support', | 1012 'shared_memory_support', |
| 1069 '../base/base.gyp:base', | 1013 '../base/base.gyp:base', |
| 1070 '../base/base.gyp:base_i18n', | 1014 '../base/base.gyp:base_i18n', |
| 1071 '../base/base.gyp:test_support_base', | 1015 '../base/base.gyp:test_support_base', |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1792 'dependencies': [ | 1736 'dependencies': [ |
| 1793 '../base/allocator/allocator.gyp:allocator', | 1737 '../base/allocator/allocator.gyp:allocator', |
| 1794 ], | 1738 ], |
| 1795 }], | 1739 }], |
| 1796 ], | 1740 ], |
| 1797 }], | 1741 }], |
| 1798 ], | 1742 ], |
| 1799 }, | 1743 }, |
| 1800 ], | 1744 ], |
| 1801 }], | 1745 }], |
| 1746 ['OS=="linux"', { | |
|
xhwang
2014/09/10 00:00:52
Any reason this is linux only?
tim (not reviewing)
2014/09/10 23:08:28
Well, mojo stuff isn't really building anywhere at
| |
| 1747 'targets': [ | |
| 1748 { | |
| 1749 # GN version: //media/mojo/interfaces | |
| 1750 'target_name': 'media_mojo_bindings', | |
| 1751 'type': 'static_library', | |
| 1752 'sources': [ | |
| 1753 'mojo/interfaces/media_types.mojom', | |
| 1754 'mojo/interfaces/media_renderer.mojom', | |
| 1755 'mojo/interfaces/demuxer_stream.mojom', | |
| 1756 ], | |
| 1757 'includes': [ | |
| 1758 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' | |
| 1759 ], | |
| 1760 'export_dependent_settings': [ | |
| 1761 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
| 1762 ], | |
| 1763 'dependencies': [ | |
| 1764 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
| 1765 ], | |
| 1766 }, | |
| 1767 { | |
| 1768 'target_name': 'media_mojo_lib', | |
| 1769 'type': 'static_library', | |
| 1770 'includes': [ | |
| 1771 '../mojo/mojo_variables.gypi', | |
| 1772 ], | |
| 1773 'dependencies': [ | |
| 1774 'media', | |
| 1775 'media_mojo_bindings', | |
| 1776 '../base/base.gyp:base', | |
| 1777 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
| 1778 '<(mojo_system_for_component)', | |
| 1779 ], | |
| 1780 'export_dependent_settings': [ | |
| 1781 'media_mojo_bindings', | |
| 1782 ], | |
| 1783 'sources': [ | |
| 1784 'mojo/services/media_type_converters.cc', | |
| 1785 'mojo/services/media_type_converters.h', | |
| 1786 'mojo/services/mojo_demuxer_stream_impl.cc', | |
| 1787 'mojo/services/mojo_demuxer_stream_impl.h', | |
| 1788 'mojo/services/mojo_renderer_impl.cc', | |
| 1789 'mojo/services/mojo_renderer_impl.h', | |
| 1790 ], | |
| 1791 }, | |
| 1792 { | |
| 1793 'target_name': 'media_mojo_renderer_app', | |
| 1794 'type': 'loadable_module', | |
| 1795 'includes': [ | |
| 1796 '../mojo/mojo_variables.gypi', | |
| 1797 ], | |
| 1798 'dependencies': [ | |
| 1799 '../base/base.gyp:base', | |
| 1800 '../mojo/mojo_base.gyp:mojo_application_chromium', | |
| 1801 '<(mojo_system_for_loadable_module)', | |
| 1802 'media_mojo_lib', | |
| 1803 ], | |
| 1804 'sources': [ | |
| 1805 'mojo/services/mojo_demuxer_stream_adapter.cc', | |
| 1806 'mojo/services/mojo_demuxer_stream_adapter.h', | |
| 1807 'mojo/services/mojo_renderer_service.cc', | |
| 1808 'mojo/services/mojo_renderer_service.h', | |
| 1809 ], | |
| 1810 }, | |
| 1811 { | |
| 1812 'target_name': 'media_mojo_lib_unittests', | |
| 1813 'type': '<(gtest_target_type)', | |
| 1814 'dependencies': [ | |
| 1815 'media', | |
| 1816 'media_mojo_bindings', | |
| 1817 'media_mojo_lib', | |
| 1818 '../base/base.gyp:base', | |
| 1819 '../base/base.gyp:test_support_base', | |
| 1820 '../testing/gtest.gyp:gtest', | |
| 1821 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
| 1822 '../mojo/mojo_base.gyp:mojo_run_all_unittests', | |
| 1823 ], | |
| 1824 'sources': [ | |
| 1825 'mojo/services/media_type_converters_unittest.cc', | |
| 1826 ], | |
| 1827 }, | |
| 1828 { | |
| 1829 'target_name': 'media_mojo_renderer_apptest', | |
| 1830 'type': 'loadable_module', | |
| 1831 'includes': [ | |
| 1832 '../mojo/mojo_variables.gypi', | |
| 1833 ], | |
| 1834 'dependencies': [ | |
| 1835 'media', | |
| 1836 'media_mojo_bindings', | |
| 1837 'media_mojo_lib', | |
| 1838 'media_mojo_renderer_app', | |
| 1839 'media_test_support', | |
| 1840 '../base/base.gyp:base', | |
| 1841 '../base/base.gyp:test_support_base', | |
| 1842 '../testing/gtest.gyp:gtest', | |
| 1843 '../mojo/mojo_base.gyp:mojo_application_chromium', | |
| 1844 # These tests are run via mojo_shell, so declare a dependency to | |
| 1845 # avoid undefined behavior. | |
| 1846 '../mojo/mojo.gyp:mojo_shell', | |
| 1847 '<(mojo_system_for_loadable_module)', | |
| 1848 ], | |
| 1849 'sources': [ | |
| 1850 'mojo/services/renderer_unittest.cc', | |
| 1851 ], | |
| 1852 }, | |
| 1853 { | |
| 1854 'target_name': 'media_mojo', | |
| 1855 'type': 'none', | |
| 1856 'dependencies': [ | |
| 1857 'media_mojo_lib', | |
| 1858 'media_mojo_lib_unittests', | |
| 1859 'media_mojo_renderer_app', | |
| 1860 'media_mojo_renderer_apptest', | |
| 1861 ] | |
| 1862 }, | |
| 1863 ] | |
| 1864 }], | |
| 1802 ], | 1865 ], |
| 1803 } | 1866 } |
| OLD | NEW |