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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 args = [ | 75 args = [ |
76 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), | 76 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), |
77 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), | 77 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), |
78 "--namespace=media", | 78 "--namespace=media", |
79 "--typename=MediaOzonePlatform", | 79 "--typename=MediaOzonePlatform", |
80 "--include=\"media/ozone/media_ozone_platform.h\"", | 80 "--include=\"media/ozone/media_ozone_platform.h\"", |
81 ] | 81 ] |
82 } | 82 } |
83 } | 83 } |
84 | 84 |
| 85 static_library("media_mime_util") { |
| 86 sources = [ |
| 87 "base/mime_util.cc", |
| 88 "base/mime_util.h", |
| 89 ] |
| 90 |
| 91 deps = [ |
| 92 "//base", |
| 93 ] |
| 94 } |
| 95 |
85 component("media") { | 96 component("media") { |
86 sources = [ | 97 sources = [ |
87 "blink/skcanvas_video_renderer.cc", | 98 "blink/skcanvas_video_renderer.cc", |
88 "blink/skcanvas_video_renderer.h", | 99 "blink/skcanvas_video_renderer.h", |
89 "cdm/aes_decryptor.cc", | 100 "cdm/aes_decryptor.cc", |
90 "cdm/aes_decryptor.h", | 101 "cdm/aes_decryptor.h", |
91 "cdm/cenc_utils.cc", | 102 "cdm/cenc_utils.cc", |
92 "cdm/cenc_utils.h", | 103 "cdm/cenc_utils.h", |
93 "cdm/default_cdm_factory.cc", | 104 "cdm/default_cdm_factory.cc", |
94 "cdm/default_cdm_factory.h", | 105 "cdm/default_cdm_factory.h", |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 "formats/mpeg/mpeg_audio_stream_parser_base.h", | 460 "formats/mpeg/mpeg_audio_stream_parser_base.h", |
450 ] | 461 ] |
451 } | 462 } |
452 | 463 |
453 public_deps = [ | 464 public_deps = [ |
454 "//media/base", | 465 "//media/base", |
455 "//media/audio", | 466 "//media/audio", |
456 ] | 467 ] |
457 | 468 |
458 deps += [ | 469 deps += [ |
| 470 ":media_mime_util", |
459 ":shared_memory_support", | 471 ":shared_memory_support", |
460 "//base", | 472 "//base", |
461 "//base:i18n", | 473 "//base:i18n", |
462 "//base/third_party/dynamic_annotations", | 474 "//base/third_party/dynamic_annotations", |
463 "//crypto", | 475 "//crypto", |
464 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings | 476 "//crypto:platform", # TODO(ajwong): This used to be provided by crypto.gyp
via export_dependent_settings |
465 "//gpu/command_buffer/common", | 477 "//gpu/command_buffer/common", |
466 "//skia", | 478 "//skia", |
467 "//third_party/libyuv", | 479 "//third_party/libyuv", |
468 "//third_party/opus", | 480 "//third_party/opus", |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 "//media/base:test_support", | 749 "//media/base:test_support", |
738 "//media/test:pipeline_integration_tests", | 750 "//media/test:pipeline_integration_tests", |
739 "//testing/gmock", | 751 "//testing/gmock", |
740 "//testing/gtest", | 752 "//testing/gtest", |
741 "//third_party/ffmpeg", | 753 "//third_party/ffmpeg", |
742 "//ui/gfx/geometry", | 754 "//ui/gfx/geometry", |
743 "//ui/gfx:test_support", | 755 "//ui/gfx:test_support", |
744 ] | 756 ] |
745 } | 757 } |
746 } | 758 } |
OLD | NEW |