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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 57 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
58 '../crypto/crypto.gyp:crypto', | 58 '../crypto/crypto.gyp:crypto', |
59 '../gpu/gpu.gyp:command_buffer_common', | 59 '../gpu/gpu.gyp:command_buffer_common', |
60 '../skia/skia.gyp:skia', | 60 '../skia/skia.gyp:skia', |
61 '../third_party/libyuv/libyuv.gyp:libyuv', | 61 '../third_party/libyuv/libyuv.gyp:libyuv', |
62 '../third_party/opus/opus.gyp:opus', | 62 '../third_party/opus/opus.gyp:opus', |
63 '../ui/events/events.gyp:events_base', | 63 '../ui/events/events.gyp:events_base', |
64 '../ui/gfx/gfx.gyp:gfx', | 64 '../ui/gfx/gfx.gyp:gfx', |
65 '../ui/gfx/gfx.gyp:gfx_geometry', | 65 '../ui/gfx/gfx.gyp:gfx_geometry', |
66 '../url/url.gyp:url_lib', | 66 '../url/url.gyp:url_lib', |
| 67 'media_resources', |
67 'shared_memory_support', | 68 'shared_memory_support', |
68 ], | 69 ], |
69 'export_dependent_settings': [ | 70 'export_dependent_settings': [ |
70 '../third_party/opus/opus.gyp:opus', | 71 '../third_party/opus/opus.gyp:opus', |
71 ], | 72 ], |
72 'defines': [ | 73 'defines': [ |
73 'MEDIA_IMPLEMENTATION', | 74 'MEDIA_IMPLEMENTATION', |
74 ], | 75 ], |
75 'include_dirs': [ | 76 'include_dirs': [ |
76 '..', | 77 '..', |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1148 ['include', '^base/mac/corevideo_glue\\.h$'], | 1149 ['include', '^base/mac/corevideo_glue\\.h$'], |
1149 ['include', '^base/mac/videotoolbox_glue\\.h$'], | 1150 ['include', '^base/mac/videotoolbox_glue\\.h$'], |
1150 ['include', '^base/mac/videotoolbox_glue\\.mm$'], | 1151 ['include', '^base/mac/videotoolbox_glue\\.mm$'], |
1151 ['include', '^base/mac/video_frame_mac\\.h$'], | 1152 ['include', '^base/mac/video_frame_mac\\.h$'], |
1152 ['include', '^base/mac/video_frame_mac\\.cc$'], | 1153 ['include', '^base/mac/video_frame_mac\\.cc$'], |
1153 ], | 1154 ], |
1154 }], | 1155 }], |
1155 ], # target_conditions | 1156 ], # target_conditions |
1156 }, | 1157 }, |
1157 { | 1158 { |
| 1159 # GN version: //media/base:media_resources |
| 1160 # Minimal resources target so chrome/ doesn't need to depend on all of |
| 1161 # media. |
| 1162 'target_name': 'media_resources', |
| 1163 'type': 'static_library', |
| 1164 'dependencies': [ |
| 1165 '../base/base.gyp:base', |
| 1166 ], |
| 1167 'sources': [ |
| 1168 'base/media_resources.cc', |
| 1169 'base/media_resources.h', |
| 1170 ], |
| 1171 }, |
| 1172 { |
1158 # GN version: //media:media_unittests | 1173 # GN version: //media:media_unittests |
1159 'target_name': 'media_unittests', | 1174 'target_name': 'media_unittests', |
1160 'type': '<(gtest_target_type)', | 1175 'type': '<(gtest_target_type)', |
1161 'dependencies': [ | 1176 'dependencies': [ |
1162 'audio_test_config', | 1177 'audio_test_config', |
1163 'media', | 1178 'media', |
1164 'media_test_support', | 1179 'media_test_support', |
1165 'shared_memory_support', | 1180 'shared_memory_support', |
1166 '../base/base.gyp:base', | 1181 '../base/base.gyp:base', |
1167 '../base/base.gyp:base_i18n', | 1182 '../base/base.gyp:base_i18n', |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1585 'base/run_all_unittests.cc', | 1600 'base/run_all_unittests.cc', |
1586 ], | 1601 ], |
1587 }, | 1602 }, |
1588 { | 1603 { |
1589 # GN versions (it is split apart): //media:test_support, | 1604 # GN versions (it is split apart): //media:test_support, |
1590 # //media/base:test_support, and //media/audio:test_support | 1605 # //media/base:test_support, and //media/audio:test_support |
1591 'target_name': 'media_test_support', | 1606 'target_name': 'media_test_support', |
1592 'type': 'static_library', | 1607 'type': 'static_library', |
1593 'dependencies': [ | 1608 'dependencies': [ |
1594 'media', | 1609 'media', |
| 1610 'media_resources', |
1595 'shared_memory_support', | 1611 'shared_memory_support', |
1596 '../base/base.gyp:base', | 1612 '../base/base.gyp:base', |
1597 '../skia/skia.gyp:skia', | 1613 '../skia/skia.gyp:skia', |
1598 '../testing/gmock.gyp:gmock', | 1614 '../testing/gmock.gyp:gmock', |
1599 '../testing/gtest.gyp:gtest', | 1615 '../testing/gtest.gyp:gtest', |
1600 ], | 1616 ], |
1601 'sources': [ | 1617 'sources': [ |
1602 'audio/audio_unittest_util.cc', | 1618 'audio/audio_unittest_util.cc', |
1603 'audio/audio_unittest_util.h', | 1619 'audio/audio_unittest_util.h', |
1604 'audio/mock_audio_manager.cc', | 1620 'audio/mock_audio_manager.cc', |
1605 'audio/mock_audio_manager.h', | 1621 'audio/mock_audio_manager.h', |
1606 'audio/mock_audio_source_callback.cc', | 1622 'audio/mock_audio_source_callback.cc', |
1607 'audio/mock_audio_source_callback.h', | 1623 'audio/mock_audio_source_callback.h', |
1608 'audio/test_audio_input_controller_factory.cc', | 1624 'audio/test_audio_input_controller_factory.cc', |
1609 'audio/test_audio_input_controller_factory.h', | 1625 'audio/test_audio_input_controller_factory.h', |
1610 'base/fake_audio_render_callback.cc', | 1626 'base/fake_audio_render_callback.cc', |
1611 'base/fake_audio_render_callback.h', | 1627 'base/fake_audio_render_callback.h', |
1612 'base/fake_audio_renderer_sink.cc', | 1628 'base/fake_audio_renderer_sink.cc', |
1613 'base/fake_audio_renderer_sink.h', | 1629 'base/fake_audio_renderer_sink.h', |
1614 'base/fake_demuxer_stream.cc', | 1630 'base/fake_demuxer_stream.cc', |
1615 'base/fake_demuxer_stream.h', | 1631 'base/fake_demuxer_stream.h', |
| 1632 'base/fake_media_resources.cc', |
| 1633 'base/fake_media_resources.h', |
1616 'base/fake_output_device.cc', | 1634 'base/fake_output_device.cc', |
1617 'base/fake_output_device.h', | 1635 'base/fake_output_device.h', |
1618 'base/fake_text_track_stream.cc', | 1636 'base/fake_text_track_stream.cc', |
1619 'base/fake_text_track_stream.h', | 1637 'base/fake_text_track_stream.h', |
1620 'base/gmock_callback_support.h', | 1638 'base/gmock_callback_support.h', |
1621 'base/mock_audio_renderer_sink.cc', | 1639 'base/mock_audio_renderer_sink.cc', |
1622 'base/mock_audio_renderer_sink.h', | 1640 'base/mock_audio_renderer_sink.h', |
1623 'base/mock_demuxer_host.cc', | 1641 'base/mock_demuxer_host.cc', |
1624 'base/mock_demuxer_host.h', | 1642 'base/mock_demuxer_host.h', |
1625 'base/mock_filters.cc', | 1643 'base/mock_filters.cc', |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2076 'dependencies': [ | 2094 'dependencies': [ |
2077 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2095 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2078 ], | 2096 ], |
2079 }], | 2097 }], |
2080 ], | 2098 ], |
2081 }, | 2099 }, |
2082 ], | 2100 ], |
2083 }], | 2101 }], |
2084 ], | 2102 ], |
2085 } | 2103 } |
OLD | NEW |