| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 '../build/common.gypi', | 10 '../build/common.gypi', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 'target_name': 'media', | 21 'target_name': 'media', |
| 22 'type': 'static_library', | 22 'type': 'static_library', |
| 23 'dependencies': [ | 23 'dependencies': [ |
| 24 '../base/base.gyp:base', | 24 '../base/base.gyp:base', |
| 25 ], | 25 ], |
| 26 'include_dirs': [ | 26 'include_dirs': [ |
| 27 '..', | 27 '..', |
| 28 ], | 28 ], |
| 29 'msvs_guid': '6AE76406-B03B-11DD-94B1-80B556D89593', | 29 'msvs_guid': '6AE76406-B03B-11DD-94B1-80B556D89593', |
| 30 'sources': [ | 30 'sources': [ |
| 31 'audio/audio_output.h', |
| 31 'audio/linux/audio_manager_linux.cc', | 32 'audio/linux/audio_manager_linux.cc', |
| 32 'audio/mac/audio_manager_mac.cc', | 33 'audio/mac/audio_manager_mac.cc', |
| 33 » 'audio/mac/audio_output_mac.h', | 34 'audio/mac/audio_output_mac.cc', |
| 34 » 'audio/mac/audio_output_mac.cc', | 35 'audio/mac/audio_output_mac.h', |
| 36 'audio/simple_sources.h', |
| 35 'audio/win/audio_manager_win.h', | 37 'audio/win/audio_manager_win.h', |
| 36 'audio/win/audio_output_win.cc', | 38 'audio/win/audio_output_win.cc', |
| 37 'audio/win/simple_sources_win.cc', | 39 'audio/win/simple_sources_win.cc', |
| 38 'audio/win/waveout_output_win.cc', | 40 'audio/win/waveout_output_win.cc', |
| 39 'audio/win/waveout_output_win.h', | 41 'audio/win/waveout_output_win.h', |
| 40 'audio/audio_output.h', | |
| 41 'audio/simple_sources.h', | |
| 42 'base/buffers.h', | 42 'base/buffers.h', |
| 43 'base/data_buffer.cc', | 43 'base/data_buffer.cc', |
| 44 'base/data_buffer.h', | 44 'base/data_buffer.h', |
| 45 'base/factory.h', | 45 'base/factory.h', |
| 46 'base/filter_host.h', | 46 'base/filter_host.h', |
| 47 'base/filter_host_impl.cc', | 47 'base/filter_host_impl.cc', |
| 48 'base/filter_host_impl.h', | 48 'base/filter_host_impl.h', |
| 49 'base/filters.h', | 49 'base/filters.h', |
| 50 'base/media_format.cc', | 50 'base/media_format.cc', |
| 51 'base/media_format.h', | 51 'base/media_format.h', |
| 52 'base/mock_filter_host.h', | 52 'base/mock_filter_host.h', |
| 53 'base/mock_media_filters.h', | 53 'base/mock_media_filters.h', |
| 54 'base/mock_pipeline.h', | 54 'base/mock_pipeline.h', |
| 55 'base/pipeline.h', | 55 'base/pipeline.h', |
| 56 'base/pipeline_impl.cc', | 56 'base/pipeline_impl.cc', |
| 57 'base/pipeline_impl.h', | 57 'base/pipeline_impl.h', |
| 58 'base/synchronizer.cc', | 58 'base/synchronizer.cc', |
| 59 'base/synchronizer.h', | 59 'base/synchronizer.h', |
| 60 'base/video_frame_impl.cc', | 60 'base/video_frame_impl.cc', |
| 61 'base/video_frame_impl.h', | 61 'base/video_frame_impl.h', |
| 62 'base/yuv_convert.cc', | 62 'base/yuv_convert.cc', |
| 63 'base/yuv_convert.h', | 63 'base/yuv_convert.h', |
| 64 'filters/audio_renderer_base.cc', | 64 'filters/audio_renderer_base.cc', |
| 65 'filters/audio_renderer_base.h', | 65 'filters/audio_renderer_base.h', |
| 66 'filters/audio_renderer_impl.cc', | 66 'filters/audio_renderer_impl.cc', |
| 67 'filters/audio_renderer_impl.h', | 67 'filters/audio_renderer_impl.h', |
| 68 'filters/decoder_base.h', | 68 'filters/decoder_base.h', |
| 69 'filters/ffmpeg_audio_decoder.cc', |
| 70 'filters/ffmpeg_audio_decoder.h', |
| 71 'filters/ffmpeg_common.cc', |
| 72 'filters/ffmpeg_common.h', |
| 73 'filters/ffmpeg_demuxer.cc', |
| 74 'filters/ffmpeg_demuxer.h', |
| 75 'filters/ffmpeg_glue.cc', |
| 76 'filters/ffmpeg_glue.h', |
| 77 'filters/ffmpeg_video_decoder.cc', |
| 78 'filters/ffmpeg_video_decoder.h', |
| 79 'filters/file_data_source.cc', |
| 69 'filters/file_data_source.cc', | 80 'filters/file_data_source.cc', |
| 70 'filters/file_data_source.h', | 81 'filters/file_data_source.h', |
| 71 'filters/test_video_decoder.h', | 82 'filters/file_data_source.h', |
| 72 'filters/null_audio_renderer.cc', | 83 'filters/null_audio_renderer.cc', |
| 73 'filters/null_audio_renderer.h', | 84 'filters/null_audio_renderer.h', |
| 85 'filters/test_video_decoder.h', |
| 86 'filters/test_video_renderer.h', |
| 74 'filters/video_renderer_base.cc', | 87 'filters/video_renderer_base.cc', |
| 75 'filters/video_renderer_base.h', | 88 'filters/video_renderer_base.h', |
| 76 'player/player.cc', | 89 'player/player.cc', |
| 77 ], | 90 ], |
| 91 'include_dirs': [ |
| 92 '../third_party/ffmpeg/include', |
| 93 ], |
| 78 'direct_dependent_settings': { | 94 'direct_dependent_settings': { |
| 79 'include_dirs': [ | 95 'include_dirs': [ |
| 80 '..', | 96 '..', |
| 97 '../third_party/ffmpeg/include', |
| 81 ], | 98 ], |
| 82 }, | 99 }, |
| 83 'conditions': [ | 100 'conditions': [ |
| 84 ['OS =="mac"', { | 101 ['OS =="mac"', { |
| 85 'link_settings': { | 102 'link_settings': { |
| 86 'libraries': [ | 103 'libraries': [ |
| 87 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 104 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| 88 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 105 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
| 89 ], | 106 ], |
| 90 }, | 107 }, |
| 108 'sources!': [ |
| 109 'filters/ffmpeg_audio_decoder.cc', |
| 110 'filters/ffmpeg_glue.cc', |
| 111 'filters/ffmpeg_video_decoder.cc', |
| 112 ], |
| 113 }], |
| 114 ['OS =="win"', { |
| 115 'include_dirs': [ |
| 116 '../third_party/ffmpeg/include/win', |
| 117 ], |
| 118 'direct_dependent_settings': { |
| 119 'include_dirs': [ |
| 120 '../third_party/ffmpeg/include/win', |
| 121 ], |
| 122 }, |
| 91 }], | 123 }], |
| 92 ], | 124 ], |
| 93 }, | 125 }, |
| 94 { | 126 { |
| 95 'target_name': 'media_unittests', | 127 'target_name': 'media_unittests', |
| 96 'type': 'executable', | 128 'type': 'executable', |
| 129 'msvs_guid': 'C8C6183C-B03C-11DD-B471-DFD256D89593', |
| 97 'dependencies': [ | 130 'dependencies': [ |
| 98 'media', | 131 'media', |
| 99 '../base/base.gyp:base', | 132 '../base/base.gyp:base', |
| 100 '../testing/gtest.gyp:gtest', | 133 '../testing/gtest.gyp:gtest', |
| 101 ], | 134 ], |
| 102 'sources': [ | 135 'sources': [ |
| 103 'audio/win/audio_output_win_unittest.cc', | 136 'audio/win/audio_output_win_unittest.cc', |
| 104 'audio/mac/audio_output_mac_unittest.cc', | 137 'audio/mac/audio_output_mac_unittest.cc', |
| 105 'base/data_buffer_unittest.cc', | 138 'base/data_buffer_unittest.cc', |
| 106 'base/pipeline_impl_unittest.cc', | 139 'base/pipeline_impl_unittest.cc', |
| 107 'base/run_all_unittests.cc', | 140 'base/run_all_unittests.cc', |
| 108 'base/video_frame_impl_unittest.cc', | 141 'base/video_frame_impl_unittest.cc', |
| 109 'base/yuv_convert_unittest.cc', | 142 'base/yuv_convert_unittest.cc', |
| 143 'filters/ffmpeg_demuxer_unittest.cc', |
| 144 'filters/ffmpeg_glue_unittest.cc', |
| 110 'filters/file_data_source_unittest.cc', | 145 'filters/file_data_source_unittest.cc', |
| 111 'filters/video_decoder_unittest.cc', | 146 'filters/video_decoder_unittest.cc', |
| 112 'filters/video_renderer_unittest.cc', | 147 'filters/video_renderer_unittest.cc', |
| 113 ], | 148 ], |
| 114 'conditions': [ | 149 'conditions': [ |
| 115 ['OS=="linux"', { | 150 ['OS=="linux"', { |
| 116 'dependencies': [ | 151 'dependencies': [ |
| 117 # Needed for the following #include chain: | 152 # Needed for the following #include chain: |
| 118 # base/run_all_unittests.cc | 153 # base/run_all_unittests.cc |
| 119 # ../base/test_suite.h | 154 # ../base/test_suite.h |
| 120 # gtk/gtk.h | 155 # gtk/gtk.h |
| 121 '../build/linux/system.gyp:gtk', | 156 '../build/linux/system.gyp:gtk', |
| 122 ], | 157 ], |
| 123 }], | 158 }], |
| 159 ['OS=="mac"', { |
| 160 'sources!': [ |
| 161 'filters/ffmpeg_demuxer_unittest.cc', |
| 162 'filters/ffmpeg_glue_unittest.cc', |
| 163 ], |
| 164 }], |
| 124 ], | 165 ], |
| 125 }, | 166 }, |
| 126 ], | 167 ], |
| 168 'conditions': [ |
| 169 ['OS=="win"', { |
| 170 'targets': [ |
| 171 { |
| 172 'target_name': 'media_player', |
| 173 'type': 'executable', |
| 174 'dependencies': [ |
| 175 'media', |
| 176 '../base/base.gyp:base', |
| 177 ], |
| 178 'sources': [ |
| 179 'player/player.cc', |
| 180 ], |
| 181 }, |
| 182 ], |
| 183 }], |
| 184 ], |
| 127 } | 185 } |
| OLD | NEW |