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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1006 ['include', '^base/mac/coremedia_glue\\.h$'], | 1006 ['include', '^base/mac/coremedia_glue\\.h$'], |
1007 ['include', '^base/mac/coremedia_glue\\.mm$'], | 1007 ['include', '^base/mac/coremedia_glue\\.mm$'], |
1008 ['include', '^base/mac/corevideo_glue\\.h$'], | 1008 ['include', '^base/mac/corevideo_glue\\.h$'], |
1009 ['include', '^base/mac/videotoolbox_glue\\.h$'], | 1009 ['include', '^base/mac/videotoolbox_glue\\.h$'], |
1010 ['include', '^base/mac/videotoolbox_glue\\.mm$'], | 1010 ['include', '^base/mac/videotoolbox_glue\\.mm$'], |
1011 ], | 1011 ], |
1012 }], | 1012 }], |
1013 ], # target_conditions | 1013 ], # target_conditions |
1014 }, | 1014 }, |
1015 { | 1015 { |
1016 # GN version: //media/mojo/interfaces | |
1017 'target_name': 'mojo_media_bindings', | |
1018 'type': 'static_library', | |
1019 'sources': [ | |
1020 'mojo/interfaces/media_types.mojom', | |
1021 'mojo/interfaces/media_renderer.mojom', | |
1022 ], | |
1023 'includes': [ | |
1024 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' | |
1025 ], | |
1026 'export_dependent_settings': [ | |
1027 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
1028 ], | |
1029 'dependencies': [ | |
1030 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
1031 ], | |
1032 }, | |
1033 { | |
1034 'target_name': 'mojo_media_lib', | |
1035 'type': 'static_library', | |
1036 'includes': [ | |
1037 '../mojo/mojo_variables.gypi', | |
1038 ], | |
1039 'dependencies': [ | |
1040 'media', | |
1041 'mojo_media_bindings', | |
1042 '../base/base.gyp:base', | |
1043 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
1044 '<(mojo_system_for_component)', | |
1045 ], | |
1046 'export_dependent_settings': [ | |
1047 'mojo_media_bindings', | |
1048 ], | |
1049 'sources': [ | |
1050 'mojo/services/media_type_converters.cc', | |
1051 'mojo/services/media_type_converters.h', | |
1052 ], | |
1053 }, | |
1054 { | |
1055 'target_name': 'mojo_media_lib_unittests', | |
1056 'type': '<(gtest_target_type)', | |
1057 'dependencies': [ | |
1058 'media', | |
1059 'mojo_media_bindings', | |
1060 'mojo_media_lib', | |
1061 '../base/base.gyp:base', | |
1062 '../base/base.gyp:test_support_base', | |
1063 '../testing/gtest.gyp:gtest', | |
1064 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
1065 '../mojo/mojo_base.gyp:mojo_run_all_unittests', | |
1066 ], | |
1067 'sources': [ | |
1068 'mojo/services/media_type_converters_unittest.cc', | |
1069 ], | |
1070 }, | |
1071 { | |
1072 # GN version: //media:media_unittests | 1016 # GN version: //media:media_unittests |
1073 'target_name': 'media_unittests', | 1017 'target_name': 'media_unittests', |
1074 'type': '<(gtest_target_type)', | 1018 'type': '<(gtest_target_type)', |
1075 'dependencies': [ | 1019 'dependencies': [ |
1076 'media', | 1020 'media', |
1077 'media_test_support', | 1021 'media_test_support', |
1078 'shared_memory_support', | 1022 'shared_memory_support', |
1079 '../base/base.gyp:base', | 1023 '../base/base.gyp:base', |
1080 '../base/base.gyp:base_i18n', | 1024 '../base/base.gyp:base_i18n', |
1081 '../base/base.gyp:test_support_base', | 1025 '../base/base.gyp:test_support_base', |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1811 'dependencies': [ | 1755 'dependencies': [ |
1812 '../base/allocator/allocator.gyp:allocator', | 1756 '../base/allocator/allocator.gyp:allocator', |
1813 ], | 1757 ], |
1814 }], | 1758 }], |
1815 ], | 1759 ], |
1816 }], | 1760 }], |
1817 ], | 1761 ], |
1818 }, | 1762 }, |
1819 ], | 1763 ], |
1820 }], | 1764 }], |
1765 ['OS=="linux"', { | |
jamesr
2014/09/15 22:03:14
what is linux only about this section?
tim (not reviewing)
2014/09/15 23:59:42
I forget exactly but I recall media::AudioParamete
| |
1766 'targets': [ | |
1767 { | |
1768 # GN version: //media/mojo/interfaces | |
1769 'target_name': 'media_mojo_bindings', | |
1770 'type': 'static_library', | |
1771 'sources': [ | |
1772 'mojo/interfaces/media_types.mojom', | |
1773 'mojo/interfaces/media_renderer.mojom', | |
1774 'mojo/interfaces/demuxer_stream.mojom', | |
1775 ], | |
1776 'includes': [ | |
1777 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' | |
1778 ], | |
1779 'export_dependent_settings': [ | |
1780 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
1781 ], | |
1782 'dependencies': [ | |
1783 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | |
1784 ], | |
1785 }, | |
1786 { | |
1787 'target_name': 'media_mojo_lib', | |
1788 'type': 'static_library', | |
1789 'includes': [ | |
1790 '../mojo/mojo_variables.gypi', | |
1791 ], | |
1792 'dependencies': [ | |
1793 'media', | |
1794 'media_mojo_bindings', | |
1795 '../base/base.gyp:base', | |
1796 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
1797 '<(mojo_system_for_component)', | |
1798 ], | |
1799 'export_dependent_settings': [ | |
1800 'media_mojo_bindings', | |
1801 ], | |
1802 'sources': [ | |
1803 'mojo/services/media_type_converters.cc', | |
1804 'mojo/services/media_type_converters.h', | |
1805 'mojo/services/mojo_demuxer_stream_impl.cc', | |
1806 'mojo/services/mojo_demuxer_stream_impl.h', | |
1807 'mojo/services/mojo_renderer_impl.cc', | |
1808 'mojo/services/mojo_renderer_impl.h', | |
1809 ], | |
1810 }, | |
1811 { | |
1812 'target_name': 'media_mojo_renderer_app', | |
1813 'type': 'loadable_module', | |
1814 'includes': [ | |
1815 '../mojo/mojo_variables.gypi', | |
1816 ], | |
1817 'dependencies': [ | |
1818 '../base/base.gyp:base', | |
1819 '../mojo/mojo_base.gyp:mojo_application_chromium', | |
1820 '<(mojo_system_for_loadable_module)', | |
1821 'media_mojo_lib', | |
1822 ], | |
1823 'sources': [ | |
1824 'mojo/services/mojo_demuxer_stream_adapter.cc', | |
1825 'mojo/services/mojo_demuxer_stream_adapter.h', | |
1826 'mojo/services/mojo_renderer_service.cc', | |
1827 'mojo/services/mojo_renderer_service.h', | |
1828 ], | |
1829 }, | |
1830 { | |
1831 'target_name': 'media_mojo_lib_unittests', | |
1832 'type': '<(gtest_target_type)', | |
1833 'dependencies': [ | |
1834 'media', | |
1835 'media_mojo_bindings', | |
1836 'media_mojo_lib', | |
1837 '../base/base.gyp:base', | |
1838 '../base/base.gyp:test_support_base', | |
1839 '../testing/gtest.gyp:gtest', | |
1840 '../mojo/mojo_base.gyp:mojo_environment_chromium', | |
1841 '../mojo/mojo_base.gyp:mojo_run_all_unittests', | |
1842 ], | |
1843 'sources': [ | |
1844 'mojo/services/media_type_converters_unittest.cc', | |
1845 ], | |
1846 }, | |
1847 { | |
1848 'target_name': 'media_mojo_renderer_apptest', | |
1849 'type': 'loadable_module', | |
1850 'includes': [ | |
1851 '../mojo/mojo_variables.gypi', | |
1852 ], | |
1853 'dependencies': [ | |
1854 'media', | |
1855 'media_mojo_bindings', | |
1856 'media_mojo_lib', | |
1857 'media_mojo_renderer_app', | |
1858 'media_test_support', | |
1859 '../base/base.gyp:base', | |
1860 '../base/base.gyp:test_support_base', | |
1861 '../testing/gtest.gyp:gtest', | |
1862 '../mojo/mojo_base.gyp:mojo_application_chromium', | |
1863 # These tests are run via mojo_shell, so declare a dependency to | |
1864 # avoid undefined behavior. | |
1865 '../mojo/mojo.gyp:mojo_shell', | |
1866 '<(mojo_system_for_loadable_module)', | |
1867 ], | |
1868 'sources': [ | |
1869 'mojo/services/renderer_unittest.cc', | |
1870 ], | |
1871 }, | |
1872 { | |
1873 'target_name': 'media_mojo', | |
1874 'type': 'none', | |
1875 'dependencies': [ | |
1876 'media_mojo_lib', | |
1877 'media_mojo_lib_unittests', | |
1878 'media_mojo_renderer_app', | |
1879 'media_mojo_renderer_apptest', | |
1880 ] | |
1881 }, | |
1882 ] | |
1883 }], | |
1821 ], | 1884 ], |
1822 } | 1885 } |
OLD | NEW |