| 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/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), | 76 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), |
| 77 "--namespace=media", | 77 "--namespace=media", |
| 78 "--typename=MediaOzonePlatform", | 78 "--typename=MediaOzonePlatform", |
| 79 "--include=\"media/ozone/media_ozone_platform.h\"", | 79 "--include=\"media/ozone/media_ozone_platform.h\"", |
| 80 ] | 80 ] |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 | 83 |
| 84 component("media") { | 84 component("media") { |
| 85 sources = [ | 85 sources = [ |
| 86 "blink/skcanvas_video_renderer.cc", |
| 87 "blink/skcanvas_video_renderer.h", |
| 86 "cdm/aes_decryptor.cc", | 88 "cdm/aes_decryptor.cc", |
| 87 "cdm/aes_decryptor.h", | 89 "cdm/aes_decryptor.h", |
| 88 "cdm/cenc_utils.cc", | 90 "cdm/cenc_utils.cc", |
| 89 "cdm/cenc_utils.h", | 91 "cdm/cenc_utils.h", |
| 90 "cdm/default_cdm_factory.cc", | 92 "cdm/default_cdm_factory.cc", |
| 91 "cdm/default_cdm_factory.h", | 93 "cdm/default_cdm_factory.h", |
| 92 "cdm/json_web_key.cc", | 94 "cdm/json_web_key.cc", |
| 93 "cdm/json_web_key.h", | 95 "cdm/json_web_key.h", |
| 94 "cdm/key_system_names.cc", | 96 "cdm/key_system_names.cc", |
| 95 "cdm/key_system_names.h", | 97 "cdm/key_system_names.h", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 116 "filters/decrypting_demuxer_stream.cc", | 118 "filters/decrypting_demuxer_stream.cc", |
| 117 "filters/decrypting_demuxer_stream.h", | 119 "filters/decrypting_demuxer_stream.h", |
| 118 "filters/decrypting_video_decoder.cc", | 120 "filters/decrypting_video_decoder.cc", |
| 119 "filters/decrypting_video_decoder.h", | 121 "filters/decrypting_video_decoder.h", |
| 120 "filters/default_media_permission.cc", | 122 "filters/default_media_permission.cc", |
| 121 "filters/default_media_permission.h", | 123 "filters/default_media_permission.h", |
| 122 "filters/file_data_source.cc", | 124 "filters/file_data_source.cc", |
| 123 "filters/file_data_source.h", | 125 "filters/file_data_source.h", |
| 124 "filters/frame_processor.cc", | 126 "filters/frame_processor.cc", |
| 125 "filters/frame_processor.h", | 127 "filters/frame_processor.h", |
| 128 "filters/gpu_video_decoder.cc", |
| 129 "filters/gpu_video_decoder.h", |
| 126 "filters/h264_bit_reader.cc", | 130 "filters/h264_bit_reader.cc", |
| 127 "filters/h264_bit_reader.h", | 131 "filters/h264_bit_reader.h", |
| 128 "filters/h264_parser.cc", | 132 "filters/h264_parser.cc", |
| 129 "filters/h264_parser.h", | 133 "filters/h264_parser.h", |
| 130 "filters/jpeg_parser.cc", | 134 "filters/jpeg_parser.cc", |
| 131 "filters/jpeg_parser.h", | 135 "filters/jpeg_parser.h", |
| 132 "filters/source_buffer_platform.cc", | 136 "filters/source_buffer_platform.cc", |
| 133 "filters/source_buffer_platform.h", | 137 "filters/source_buffer_platform.h", |
| 134 "filters/source_buffer_range.cc", | 138 "filters/source_buffer_range.cc", |
| 135 "filters/source_buffer_range.h", | 139 "filters/source_buffer_range.h", |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 "filters/vpx_video_decoder.cc", | 314 "filters/vpx_video_decoder.cc", |
| 311 "filters/vpx_video_decoder.h", | 315 "filters/vpx_video_decoder.h", |
| 312 ] | 316 ] |
| 313 deps += [ "//third_party/libvpx" ] | 317 deps += [ "//third_party/libvpx" ] |
| 314 } | 318 } |
| 315 | 319 |
| 316 if (!is_android) { | 320 if (!is_android) { |
| 317 sources += [ | 321 sources += [ |
| 318 "filters/opus_audio_decoder.cc", | 322 "filters/opus_audio_decoder.cc", |
| 319 "filters/opus_audio_decoder.h", | 323 "filters/opus_audio_decoder.h", |
| 324 "renderers/default_renderer_factory.cc", |
| 325 "renderers/default_renderer_factory.h", |
| 320 ] | 326 ] |
| 321 if (!is_ensemble) { | |
| 322 sources += [ | |
| 323 "renderers/default_renderer_factory.cc", | |
| 324 "renderers/default_renderer_factory.h", | |
| 325 ] | |
| 326 } | |
| 327 } else { | 327 } else { |
| 328 sources += [ | 328 sources += [ |
| 329 "midi/midi_manager_android.cc", | 329 "midi/midi_manager_android.cc", |
| 330 "midi/usb_midi_device_android.cc", | 330 "midi/usb_midi_device_android.cc", |
| 331 "midi/usb_midi_device_android.h", | 331 "midi/usb_midi_device_android.h", |
| 332 "midi/usb_midi_device_factory_android.cc", | 332 "midi/usb_midi_device_factory_android.cc", |
| 333 "midi/usb_midi_device_factory_android.h", | 333 "midi/usb_midi_device_factory_android.h", |
| 334 "video/capture/android/video_capture_device_android.cc", | 334 "video/capture/android/video_capture_device_android.cc", |
| 335 "video/capture/android/video_capture_device_android.h", | 335 "video/capture/android/video_capture_device_android.h", |
| 336 "video/capture/android/video_capture_device_factory_android.cc", | 336 "video/capture/android/video_capture_device_factory_android.cc", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 ] | 473 ] |
| 474 | 474 |
| 475 deps += [ | 475 deps += [ |
| 476 ":shared_memory_support", | 476 ":shared_memory_support", |
| 477 "//base", | 477 "//base", |
| 478 "//base:i18n", | 478 "//base:i18n", |
| 479 "//base/third_party/dynamic_annotations", | 479 "//base/third_party/dynamic_annotations", |
| 480 "//crypto", | 480 "//crypto", |
| 481 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings | 481 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings |
| 482 "//gpu/command_buffer/common", | 482 "//gpu/command_buffer/common", |
| 483 "//skia", |
| 483 "//third_party/libyuv", | 484 "//third_party/libyuv", |
| 484 "//third_party/opus", | 485 "//third_party/opus", |
| 485 "//ui/gfx/geometry", | 486 "//ui/gfx/geometry", |
| 486 "//url", | 487 "//url", |
| 487 ] | 488 ] |
| 488 | 489 |
| 489 # Add the sources and dependencies that need X11, font, or graphics | 490 # Add the sources and dependencies that need the X11 or fontconfig libraries. |
| 490 # libraries. | |
| 491 if (!is_ensemble) { | 491 if (!is_ensemble) { |
| 492 sources += [ | 492 sources += [ |
| 493 "blink/skcanvas_video_renderer.cc", | |
| 494 "blink/skcanvas_video_renderer.h", | |
| 495 "filters/gpu_video_decoder.cc", | |
| 496 "filters/gpu_video_decoder.h", | |
| 497 "video/capture/fake_video_capture_device.cc", | 493 "video/capture/fake_video_capture_device.cc", |
| 498 "video/capture/fake_video_capture_device.h", | 494 "video/capture/fake_video_capture_device.h", |
| 499 "video/capture/fake_video_capture_device_factory.cc", | 495 "video/capture/fake_video_capture_device_factory.cc", |
| 500 "video/capture/fake_video_capture_device_factory.h", | 496 "video/capture/fake_video_capture_device_factory.h", |
| 501 "video/capture/file_video_capture_device_factory.cc", | 497 "video/capture/file_video_capture_device_factory.cc", |
| 502 "video/capture/file_video_capture_device_factory.h", | 498 "video/capture/file_video_capture_device_factory.h", |
| 503 "video/capture/linux/video_capture_device_factory_linux.cc", | 499 "video/capture/linux/video_capture_device_factory_linux.cc", |
| 504 "video/capture/linux/video_capture_device_factory_linux.h", | 500 "video/capture/linux/video_capture_device_factory_linux.h", |
| 505 "video/capture/video_capture_device_factory.cc", | 501 "video/capture/video_capture_device_factory.cc", |
| 506 "video/capture/video_capture_device_factory.h", | 502 "video/capture/video_capture_device_factory.h", |
| 507 ] | 503 ] |
| 508 | 504 |
| 509 deps += [ | 505 deps += [ |
| 510 "//skia", | |
| 511 "//ui/events:events_base", | 506 "//ui/events:events_base", |
| 512 "//ui/gfx", | 507 "//ui/gfx", |
| 513 ] | 508 ] |
| 514 } | 509 } |
| 515 } | 510 } |
| 516 | 511 |
| 517 # Minimal media component for media/cast on iOS. | 512 # Minimal media component for media/cast on iOS. |
| 518 if (is_ios) { | 513 if (is_ios) { |
| 519 component("media_for_cast_ios") { | 514 component("media_for_cast_ios") { |
| 520 configs += [ ":media_config" ] | 515 configs += [ ":media_config" ] |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 deps = [ | 801 deps = [ |
| 807 ":media", | 802 ":media", |
| 808 ":shared_memory_support", | 803 ":shared_memory_support", |
| 809 "//base", | 804 "//base", |
| 810 "//ui/gl", | 805 "//ui/gl", |
| 811 "//ui/gfx", | 806 "//ui/gfx", |
| 812 "//ui/gfx/geometry", | 807 "//ui/gfx/geometry", |
| 813 ] | 808 ] |
| 814 } | 809 } |
| 815 } | 810 } |
| OLD | NEW |