Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: media/BUILD.gn

Issue 1743543004: Enable Accelerated Video Decode in Linux Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use std::tie Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 allow_circular_includes_from = [ "//media/base/android" ] 418 allow_circular_includes_from = [ "//media/base/android" ]
419 } 419 }
420 420
421 if (!is_android || media_use_ffmpeg) { 421 if (!is_android || media_use_ffmpeg) {
422 sources += [ 422 sources += [
423 "filters/opus_audio_decoder.cc", 423 "filters/opus_audio_decoder.cc",
424 "filters/opus_audio_decoder.h", 424 "filters/opus_audio_decoder.h",
425 ] 425 ]
426 } 426 }
427 427
428 if (current_cpu != "arm" && is_chromeos) { 428 if (current_cpu != "arm" && is_linux) {
429 sources += [ 429 sources += [
430 "filters/h264_bitstream_buffer.cc", 430 "filters/h264_bitstream_buffer.cc",
431 "filters/h264_bitstream_buffer.h", 431 "filters/h264_bitstream_buffer.h",
432 ] 432 ]
433 } 433 }
434 434
435 # A simple WebM encoder for animated avatars on ChromeOS. 435 # A simple WebM encoder for animated avatars on ChromeOS.
436 436
437 if (use_ozone) { 437 if (use_ozone) {
438 # Used for the generated listing header (ui/ozone/platform_list.h) 438 # Used for the generated listing header (ui/ozone/platform_list.h)
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 "filters/audio_decoder_unittest.cc", 753 "filters/audio_decoder_unittest.cc",
754 "filters/audio_file_reader_unittest.cc", 754 "filters/audio_file_reader_unittest.cc",
755 "filters/ffmpeg_demuxer_unittest.cc", 755 "filters/ffmpeg_demuxer_unittest.cc",
756 756
757 # FFmpeg on Android does not include video decoders. 757 # FFmpeg on Android does not include video decoders.
758 "filters/ffmpeg_video_decoder_unittest.cc", 758 "filters/ffmpeg_video_decoder_unittest.cc",
759 ] 759 ]
760 } 760 }
761 } 761 }
762 762
763 if (current_cpu != "arm" && is_chromeos) { 763 if (current_cpu != "arm" && is_linux) {
764 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ] 764 sources += [ "filters/h264_bitstream_buffer_unittest.cc" ]
765 } 765 }
766 766
767 if (proprietary_codecs) { 767 if (proprietary_codecs) {
768 sources += [ 768 sources += [
769 "cdm/cenc_utils_unittest.cc", 769 "cdm/cenc_utils_unittest.cc",
770 "filters/h264_to_annex_b_bitstream_converter_unittest.cc", 770 "filters/h264_to_annex_b_bitstream_converter_unittest.cc",
771 "formats/common/stream_parser_test_base.cc", 771 "formats/common/stream_parser_test_base.cc",
772 "formats/common/stream_parser_test_base.h", 772 "formats/common/stream_parser_test_base.h",
773 "formats/mp4/aac_unittest.cc", 773 "formats/mp4/aac_unittest.cc",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 if (proprietary_codecs) { 940 if (proprietary_codecs) {
941 fuzzer_test("media_cenc_utils_fuzzer") { 941 fuzzer_test("media_cenc_utils_fuzzer") {
942 sources = [ 942 sources = [
943 "cdm/cenc_utils_fuzzertest.cc", 943 "cdm/cenc_utils_fuzzertest.cc",
944 ] 944 ]
945 deps = [ 945 deps = [
946 ":media", 946 ":media",
947 ] 947 ]
948 } 948 }
949 } 949 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698