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

Side by Side Diff: media/BUILD.gn

Issue 2543633006: To M56: Use ffmpeg for opus decoding, no need to maintain our decoder. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/audio_discard_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "filters/h264_bit_reader.cc", 155 "filters/h264_bit_reader.cc",
156 "filters/h264_bit_reader.h", 156 "filters/h264_bit_reader.h",
157 "filters/h264_parser.cc", 157 "filters/h264_parser.cc",
158 "filters/h264_parser.h", 158 "filters/h264_parser.h",
159 "filters/ivf_parser.cc", 159 "filters/ivf_parser.cc",
160 "filters/ivf_parser.h", 160 "filters/ivf_parser.h",
161 "filters/jpeg_parser.cc", 161 "filters/jpeg_parser.cc",
162 "filters/jpeg_parser.h", 162 "filters/jpeg_parser.h",
163 "filters/memory_data_source.cc", 163 "filters/memory_data_source.cc",
164 "filters/memory_data_source.h", 164 "filters/memory_data_source.h",
165 "filters/opus_audio_decoder.cc",
166 "filters/opus_audio_decoder.h",
167 "filters/opus_constants.cc", 165 "filters/opus_constants.cc",
168 "filters/opus_constants.h", 166 "filters/opus_constants.h",
169 "filters/pipeline_controller.cc", 167 "filters/pipeline_controller.cc",
170 "filters/pipeline_controller.h", 168 "filters/pipeline_controller.h",
171 "filters/source_buffer_range.cc", 169 "filters/source_buffer_range.cc",
172 "filters/source_buffer_range.h", 170 "filters/source_buffer_range.h",
173 "filters/source_buffer_state.cc", 171 "filters/source_buffer_state.cc",
174 "filters/source_buffer_state.h", 172 "filters/source_buffer_state.h",
175 "filters/source_buffer_stream.cc", 173 "filters/source_buffer_stream.cc",
176 "filters/source_buffer_stream.h", 174 "filters/source_buffer_stream.h",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 ] 274 ]
277 275
278 public_configs = [ "//third_party/libwebm:libwebm_config" ] 276 public_configs = [ "//third_party/libwebm:libwebm_config" ]
279 public_deps = [ 277 public_deps = [
280 ":filters_common", 278 ":filters_common",
281 ] 279 ]
282 280
283 include_dirs = [ "." ] 281 include_dirs = [ "." ]
284 if (media_use_ffmpeg) { 282 if (media_use_ffmpeg) {
285 public_deps += [ "//media/ffmpeg" ] 283 public_deps += [ "//media/ffmpeg" ]
286 deps += [ "//third_party/ffmpeg" ] 284 deps += [
285 "//third_party/ffmpeg",
286 "//third_party/opus",
287 ]
287 sources += [ 288 sources += [
288 "filters/audio_file_reader.cc", 289 "filters/audio_file_reader.cc",
289 "filters/audio_file_reader.h", 290 "filters/audio_file_reader.h",
290 "filters/blocking_url_protocol.cc", 291 "filters/blocking_url_protocol.cc",
291 "filters/ffmpeg_audio_decoder.cc", 292 "filters/ffmpeg_audio_decoder.cc",
292 "filters/ffmpeg_audio_decoder.h", 293 "filters/ffmpeg_audio_decoder.h",
293 "filters/ffmpeg_bitstream_converter.h", 294 "filters/ffmpeg_bitstream_converter.h",
294 "filters/ffmpeg_demuxer.cc", 295 "filters/ffmpeg_demuxer.cc",
295 "filters/ffmpeg_demuxer.h", 296 "filters/ffmpeg_demuxer.h",
296 "filters/ffmpeg_glue.cc", 297 "filters/ffmpeg_glue.cc",
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 "device_monitors/device_monitor_udev.cc", 480 "device_monitors/device_monitor_udev.cc",
480 "device_monitors/device_monitor_udev.h", 481 "device_monitors/device_monitor_udev.h",
481 ] 482 ]
482 } 483 }
483 484
484 public_deps += [ 485 public_deps += [
485 ":media_features", 486 ":media_features",
486 ":shared_memory_support", 487 ":shared_memory_support",
487 "//media/audio", 488 "//media/audio",
488 "//media/base", 489 "//media/base",
489 "//third_party/opus",
490 ] 490 ]
491 491
492 deps += [ 492 deps += [
493 "//base", 493 "//base",
494 "//base:i18n", 494 "//base:i18n",
495 "//base/third_party/dynamic_annotations", 495 "//base/third_party/dynamic_annotations",
496 "//crypto", 496 "//crypto",
497 "//crypto:platform", 497 "//crypto:platform",
498 "//gpu/command_buffer/client:gles2_interface", 498 "//gpu/command_buffer/client:gles2_interface",
499 "//gpu/command_buffer/common", 499 "//gpu/command_buffer/common",
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 fuzzer_test("media_mp4_avcc_parser_fuzzer") { 929 fuzzer_test("media_mp4_avcc_parser_fuzzer") {
930 sources = [ 930 sources = [
931 "formats/mp4/mp4_avcc_parser_fuzzer.cc", 931 "formats/mp4/mp4_avcc_parser_fuzzer.cc",
932 ] 932 ]
933 deps = [ 933 deps = [
934 ":media", 934 ":media",
935 "//base", 935 "//base",
936 ] 936 ]
937 } 937 }
938 } 938 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/audio_discard_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698