Chromium Code Reviews| Index: media/BUILD.gn |
| diff --git a/media/BUILD.gn b/media/BUILD.gn |
| index 02a4917fe592b72db617c9f4db3a61aed7acfeab..e8c55595f2f02570d0306a62ce8448ae7032068c 100644 |
| --- a/media/BUILD.gn |
| +++ b/media/BUILD.gn |
| @@ -225,6 +225,8 @@ component("media") { |
| "filters/jpeg_parser.h", |
| "filters/media_source_state.cc", |
| "filters/media_source_state.h", |
| + "filters/opus_audio_decoder.cc", |
| + "filters/opus_audio_decoder.h", |
| "filters/opus_constants.cc", |
| "filters/opus_constants.h", |
| "filters/source_buffer_range.cc", |
| @@ -416,13 +418,6 @@ component("media") { |
| allow_circular_includes_from = [ "//media/base/android" ] |
| } |
| - if (!is_android || media_use_ffmpeg) { |
|
Tima Vaisburd
2016/02/29 23:07:14
GYP side seems to always include opus_audio_decode
DaleCurtis
2016/02/29 23:17:46
GYP, no need to gate this here.
|
| - sources += [ |
| - "filters/opus_audio_decoder.cc", |
| - "filters/opus_audio_decoder.h", |
| - ] |
| - } |
| - |
| if (current_cpu != "arm" && is_chromeos) { |
| sources += [ |
| "filters/h264_bitstream_buffer.cc", |
| @@ -738,6 +733,7 @@ test("media_unittests") { |
| if (media_use_ffmpeg) { |
| sources += [ |
| "ffmpeg/ffmpeg_common_unittest.cc", |
| + "filters/audio_decoder_unittest.cc", |
|
DaleCurtis
2016/02/29 23:17:46
If you want to add a #if defined(MEDIA_USE_FFMPEG)
Tima Vaisburd
2016/03/01 00:14:22
I tried and then discovered that audio_codec_unitt
DaleCurtis
2016/03/01 00:16:37
Ah yeah, thanks for the explanation, yeah lets kee
|
| "filters/blocking_url_protocol_unittest.cc", |
| "filters/ffmpeg_glue_unittest.cc", |
| "filters/in_memory_url_protocol_unittest.cc", |
| @@ -748,7 +744,6 @@ test("media_unittests") { |
| # These tests are confused by Android always having proprietary |
| # codecs enabled, but ffmpeg_branding=Chromium. These should be |
| # fixed, http://crbug.com/570762. |
| - "filters/audio_decoder_unittest.cc", |
| "filters/audio_file_reader_unittest.cc", |
| "filters/ffmpeg_demuxer_unittest.cc", |