Chromium Code Reviews| 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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 | 8 |
| 9 # Target naming conventions: | 9 # Target naming conventions: |
| 10 # - converters: C++/Mojo type converters. | 10 # - converters: C++/Mojo type converters. |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 41 "//media", | 41 "//media", |
| 42 "//media/mojo/interfaces", | 42 "//media/mojo/interfaces", |
| 43 "//mojo/common", | 43 "//mojo/common", |
| 44 "//mojo/converters/geometry", | 44 "//mojo/converters/geometry", |
| 45 "//mojo/environment:chromium", | 45 "//mojo/environment:chromium", |
| 46 "//mojo/public/c/system:for_component", | 46 "//mojo/public/c/system:for_component", |
| 47 "//ui/mojo/geometry:interfaces", | 47 "//ui/mojo/geometry:interfaces", |
| 48 ] | 48 ] |
| 49 } | 49 } |
| 50 | 50 |
| 51 source_set("common") { | |
| 52 sources = [ | |
| 53 "mojo_video_frame.cc", | |
| 54 "mojo_video_frame.h", | |
| 55 ] | |
| 56 | |
| 57 deps = [ | |
| 58 "//base", | |
| 59 "//media", | |
| 60 "//media/mojo/interfaces", | |
|
xhwang
2016/02/23 21:27:36
Do you need anything from the interfaces?
jrummell
2016/02/25 02:18:26
Removed.
| |
| 61 "//mojo/common", | |
| 62 "//mojo/public/c/system:for_component", | |
| 63 "//ui/mojo/geometry:interfaces", | |
|
xhwang
2016/02/23 21:27:36
What is this used for?
jrummell
2016/02/25 02:18:26
Removed.
| |
| 64 ] | |
| 65 } | |
| 66 | |
| 51 # Implementations of media C++ interfaces using corresponding mojo services. | 67 # Implementations of media C++ interfaces using corresponding mojo services. |
| 52 source_set("proxy") { | 68 source_set("proxy") { |
| 53 sources = [ | 69 sources = [ |
| 54 "mojo_cdm.cc", | 70 "mojo_cdm.cc", |
| 55 "mojo_cdm.h", | 71 "mojo_cdm.h", |
| 56 "mojo_cdm_factory.cc", | 72 "mojo_cdm_factory.cc", |
| 57 "mojo_cdm_factory.h", | 73 "mojo_cdm_factory.h", |
| 58 "mojo_decryptor.cc", | 74 "mojo_decryptor.cc", |
| 59 "mojo_decryptor.h", | 75 "mojo_decryptor.h", |
| 60 "mojo_demuxer_stream_impl.cc", | 76 "mojo_demuxer_stream_impl.cc", |
| 61 "mojo_demuxer_stream_impl.h", | 77 "mojo_demuxer_stream_impl.h", |
| 62 "mojo_renderer_factory.cc", | 78 "mojo_renderer_factory.cc", |
| 63 "mojo_renderer_factory.h", | 79 "mojo_renderer_factory.h", |
| 64 "mojo_renderer_impl.cc", | 80 "mojo_renderer_impl.cc", |
| 65 "mojo_renderer_impl.h", | 81 "mojo_renderer_impl.h", |
| 66 "mojo_type_trait.h", | 82 "mojo_type_trait.h", |
| 67 ] | 83 ] |
| 68 | 84 |
| 69 public_configs = [ ":enable_mojo_media_config" ] | 85 public_configs = [ ":enable_mojo_media_config" ] |
| 70 | 86 |
| 71 deps = [ | 87 deps = [ |
| 88 ":common", | |
|
xhwang
2016/02/23 21:27:36
This is not needed for this CL yet. Add it later?
jrummell
2016/02/25 02:18:26
I want to make sure the new code compiles. Added t
| |
| 72 ":converters", | 89 ":converters", |
| 73 "//base", | 90 "//base", |
| 74 "//media", | 91 "//media", |
| 75 "//media/mojo/interfaces", | 92 "//media/mojo/interfaces", |
| 76 "//mojo/common", | 93 "//mojo/common", |
| 77 "//mojo/environment:chromium", | 94 "//mojo/environment:chromium", |
| 78 "//mojo/public/c/system:for_component", | 95 "//mojo/public/c/system:for_component", |
| 79 "//mojo/shell/public/interfaces", | 96 "//mojo/shell/public/interfaces", |
| 80 ] | 97 ] |
| 81 } | 98 } |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 259 ":media_mojo_unittests", | 276 ":media_mojo_unittests", |
| 260 ] | 277 ] |
| 261 | 278 |
| 262 if (!is_component_build) { | 279 if (!is_component_build) { |
| 263 deps += [ | 280 deps += [ |
| 264 ":media_apptests", | 281 ":media_apptests", |
| 265 ":media_pipeline_integration_apptests", | 282 ":media_pipeline_integration_apptests", |
| 266 ] | 283 ] |
| 267 } | 284 } |
| 268 } | 285 } |
| OLD | NEW |