| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 370 |
| 371 if (media_use_libvpx) { | 371 if (media_use_libvpx) { |
| 372 sources += [ | 372 sources += [ |
| 373 "filters/vpx_video_decoder.cc", | 373 "filters/vpx_video_decoder.cc", |
| 374 "filters/vpx_video_decoder.h", | 374 "filters/vpx_video_decoder.h", |
| 375 ] | 375 ] |
| 376 deps += [ "//third_party/libvpx" ] | 376 deps += [ "//third_party/libvpx" ] |
| 377 } | 377 } |
| 378 | 378 |
| 379 if (disable_ffmpeg_video_decoders) { | 379 if (disable_ffmpeg_video_decoders) { |
| 380 sources -= [ | 380 sources -= [ |
| 381 "filters/decrypting_video_decoder.cc", | 381 "filters/decrypting_video_decoder.cc", |
| 382 "filters/decrypting_video_decoder.h", | 382 "filters/decrypting_video_decoder.h", |
| 383 ] | 383 ] |
| 384 } | 384 } |
| 385 | 385 |
| 386 if (is_android) { | 386 if (is_android) { |
| 387 sources -= [ | 387 if (disable_ffmpeg_video_decoders) { |
| 388 "filters/decrypting_audio_decoder.cc", | 388 sources -= [ |
| 389 "filters/decrypting_audio_decoder.h", | 389 "filters/decrypting_audio_decoder.cc", |
| 390 ] | 390 "filters/decrypting_audio_decoder.h", |
| 391 ] |
| 392 } |
| 391 sources += [ | 393 sources += [ |
| 392 "filters/android/media_codec_audio_decoder.cc", | 394 "filters/android/media_codec_audio_decoder.cc", |
| 393 "filters/android/media_codec_audio_decoder.h", | 395 "filters/android/media_codec_audio_decoder.h", |
| 394 ] | 396 ] |
| 395 } | 397 } |
| 396 | 398 |
| 397 if (current_cpu != "arm" && is_chromeos) { | 399 if (current_cpu != "arm" && is_chromeos) { |
| 398 sources += [ | 400 sources += [ |
| 399 "filters/h264_bitstream_buffer.cc", | 401 "filters/h264_bitstream_buffer.cc", |
| 400 "filters/h264_bitstream_buffer.h", | 402 "filters/h264_bitstream_buffer.h", |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 ] | 654 ] |
| 653 | 655 |
| 654 deps += [ | 656 deps += [ |
| 655 "//media/ffmpeg:ffmpeg_unittests", | 657 "//media/ffmpeg:ffmpeg_unittests", |
| 656 | 658 |
| 657 # Direct dependency needed for the config | 659 # Direct dependency needed for the config |
| 658 "//third_party/opus", | 660 "//third_party/opus", |
| 659 ] | 661 ] |
| 660 | 662 |
| 661 if (!disable_ffmpeg_video_decoders) { | 663 if (!disable_ffmpeg_video_decoders) { |
| 662 sources += [ | 664 sources += [ "filters/ffmpeg_video_decoder_unittest.cc" ] |
| 663 "filters/ffmpeg_video_decoder_unittest.cc", | |
| 664 ] | |
| 665 } | 665 } |
| 666 } | 666 } |
| 667 | 667 |
| 668 if (current_cpu != "arm" && is_chromeos) { | 668 if (current_cpu != "arm" && is_chromeos) { |
| 669 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] | 669 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] |
| 670 } | 670 } |
| 671 | 671 |
| 672 if (proprietary_codecs) { | 672 if (proprietary_codecs) { |
| 673 sources += [ | 673 sources += [ |
| 674 "cdm/cenc_utils_unittest.cc", | 674 "cdm/cenc_utils_unittest.cc", |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 977 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 977 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 978 sources = [ | 978 sources = [ |
| 979 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 979 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 980 ] | 980 ] |
| 981 deps = [ | 981 deps = [ |
| 982 ":media", | 982 ":media", |
| 983 "//base", | 983 "//base", |
| 984 ] | 984 ] |
| 985 } | 985 } |
| 986 } | 986 } |
| OLD | NEW |