| 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 PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
| 9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
| 10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
| 11 'use_cras%': 0, | 11 'use_cras%': 0, |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['OS == "android" or OS == "ios"', { | 13 ['OS == "android" or OS == "ios"', { |
| 14 # Android and iOS don't use ffmpeg. | 14 # Android and iOS don't use ffmpeg. |
| 15 'use_ffmpeg%': 0, | 15 'use_ffmpeg%': 0, |
| 16 }, { # 'OS != "android" and OS != "ios"' | 16 }, { # 'OS != "android" and OS != "ios"' |
| 17 'use_ffmpeg%': 1, | 17 'use_ffmpeg%': 1, |
| 18 }], | 18 }], |
| 19 ], | 19 ], |
| 20 }, | 20 }, |
| 21 'targets': [ | 21 'targets': [ |
| 22 { | 22 { |
| 23 'target_name': 'media', | 23 'target_name': 'media', |
| 24 'type': '<(component)', | 24 'type': '<(component)', |
| 25 'dependencies': [ | 25 'dependencies': [ |
| 26 '../base/base.gyp:base', | 26 '../base/base.gyp:base', |
| 27 '../build/temp_gyp/googleurl.gyp:googleurl', | 27 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 28 '../crypto/crypto.gyp:crypto', | 28 '../crypto/crypto.gyp:crypto', |
| 29 '../skia/skia.gyp:skia', | 29 '../skia/skia.gyp:skia', |
| 30 '../third_party/libvpx/libvpx.gyp:libvpx', |
| 30 '../ui/ui.gyp:ui', | 31 '../ui/ui.gyp:ui', |
| 31 ], | 32 ], |
| 32 'defines': [ | 33 'defines': [ |
| 33 'MEDIA_IMPLEMENTATION', | 34 'MEDIA_IMPLEMENTATION', |
| 34 ], | 35 ], |
| 35 'include_dirs': [ | 36 'include_dirs': [ |
| 36 '..', | 37 '..', |
| 37 ], | 38 ], |
| 38 'sources': [ | 39 'sources': [ |
| 39 'audio/android/audio_manager_android.cc', | 40 'audio/android/audio_manager_android.cc', |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 'filters/ffmpeg_video_decoder.cc', | 289 'filters/ffmpeg_video_decoder.cc', |
| 289 'filters/ffmpeg_video_decoder.h', | 290 'filters/ffmpeg_video_decoder.h', |
| 290 'filters/file_data_source.cc', | 291 'filters/file_data_source.cc', |
| 291 'filters/file_data_source.h', | 292 'filters/file_data_source.h', |
| 292 'filters/gpu_video_decoder.cc', | 293 'filters/gpu_video_decoder.cc', |
| 293 'filters/gpu_video_decoder.h', | 294 'filters/gpu_video_decoder.h', |
| 294 'filters/h264_to_annex_b_bitstream_converter.cc', | 295 'filters/h264_to_annex_b_bitstream_converter.cc', |
| 295 'filters/h264_to_annex_b_bitstream_converter.h', | 296 'filters/h264_to_annex_b_bitstream_converter.h', |
| 296 'filters/in_memory_url_protocol.cc', | 297 'filters/in_memory_url_protocol.cc', |
| 297 'filters/in_memory_url_protocol.h', | 298 'filters/in_memory_url_protocol.h', |
| 299 'filters/libvpx_video_decoder.cc', |
| 300 'filters/libvpx_video_decoder.h', |
| 298 'filters/skcanvas_video_renderer.cc', | 301 'filters/skcanvas_video_renderer.cc', |
| 299 'filters/skcanvas_video_renderer.h', | 302 'filters/skcanvas_video_renderer.h', |
| 300 'filters/source_buffer_stream.cc', | 303 'filters/source_buffer_stream.cc', |
| 301 'filters/source_buffer_stream.h', | 304 'filters/source_buffer_stream.h', |
| 302 'filters/video_frame_generator.cc', | 305 'filters/video_frame_generator.cc', |
| 303 'filters/video_frame_generator.h', | 306 'filters/video_frame_generator.h', |
| 304 'filters/video_renderer_base.cc', | 307 'filters/video_renderer_base.cc', |
| 305 'filters/video_renderer_base.h', | 308 'filters/video_renderer_base.h', |
| 306 'video/capture/fake_video_capture_device.cc', | 309 'video/capture/fake_video_capture_device.cc', |
| 307 'video/capture/fake_video_capture_device.h', | 310 'video/capture/fake_video_capture_device.h', |
| (...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1352 'media', | 1355 'media', |
| 1353 ], | 1356 ], |
| 1354 'sources': [ | 1357 'sources': [ |
| 1355 'tools/media_bench/media_bench.cc', | 1358 'tools/media_bench/media_bench.cc', |
| 1356 ], | 1359 ], |
| 1357 }, | 1360 }, |
| 1358 ], | 1361 ], |
| 1359 }] | 1362 }] |
| 1360 ], | 1363 ], |
| 1361 } | 1364 } |
| OLD | NEW |