| 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 # Target naming conventions: | 7 # Target naming conventions: |
| 8 # - converters: C++/Mojo type converters. | 8 # - converters: C++/Mojo type converters. |
| 9 # - proxy: C++ implementations supported by mojo services. | 9 # - proxy: C++ implementations supported by mojo services. |
| 10 # - service: Mojo interface implementations. | 10 # - service: Mojo interface implementations. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "//media/mojo/interfaces", | 23 "//media/mojo/interfaces", |
| 24 "//mojo/common", | 24 "//mojo/common", |
| 25 "//mojo/converters/geometry", | 25 "//mojo/converters/geometry", |
| 26 "//mojo/environment:chromium", | 26 "//mojo/environment:chromium", |
| 27 "//mojo/public/c/system:for_component", | 27 "//mojo/public/c/system:for_component", |
| 28 "//mojo/services/geometry/public/interfaces", | 28 "//mojo/services/geometry/public/interfaces", |
| 29 "//skia", | 29 "//skia", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 source_set("cdm_proxy") { |
| 34 deps = [ |
| 35 ":converters", |
| 36 "//base", |
| 37 "//media", |
| 38 "//media/mojo/interfaces", |
| 39 "//mojo/public/interfaces/application", |
| 40 "//mojo/common", |
| 41 "//mojo/environment:chromium", |
| 42 "//mojo/public/c/system:for_component", |
| 43 "//mojo/public/cpp/application", |
| 44 ] |
| 45 |
| 46 sources = [ |
| 47 "mojo_cdm.cc", |
| 48 "mojo_cdm.h", |
| 49 "mojo_type_trait.h", |
| 50 ] |
| 51 } |
| 52 |
| 53 source_set("cdm_service") { |
| 54 deps = [ |
| 55 ":converters", |
| 56 "//base", |
| 57 "//media", |
| 58 "//media/mojo/interfaces", |
| 59 "//mojo/public/interfaces/application", |
| 60 "//mojo/common", |
| 61 "//mojo/environment:chromium", |
| 62 "//mojo/public/c/system:for_component", |
| 63 ] |
| 64 |
| 65 sources = [ |
| 66 "mojo_cdm_promise.cc", |
| 67 "mojo_cdm_promise.h", |
| 68 "mojo_cdm_service.cc", |
| 69 "mojo_cdm_service.h", |
| 70 "mojo_type_trait.h", |
| 71 ] |
| 72 } |
| 73 |
| 33 # media::Renderer implementation using mojo::MediaRenderer. | 74 # media::Renderer implementation using mojo::MediaRenderer. |
| 34 source_set("renderer_proxy") { | 75 source_set("renderer_proxy") { |
| 35 sources = [ | 76 sources = [ |
| 36 "mojo_demuxer_stream_impl.cc", | 77 "mojo_demuxer_stream_impl.cc", |
| 37 "mojo_demuxer_stream_impl.h", | 78 "mojo_demuxer_stream_impl.h", |
| 38 "mojo_renderer_factory.cc", | 79 "mojo_renderer_factory.cc", |
| 39 "mojo_renderer_factory.h", | 80 "mojo_renderer_factory.h", |
| 40 "mojo_renderer_impl.cc", | 81 "mojo_renderer_impl.cc", |
| 41 "mojo_renderer_impl.h", | 82 "mojo_renderer_impl.h", |
| 42 ] | 83 ] |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 "//mojo/application:test_support", | 171 "//mojo/application:test_support", |
| 131 "//mojo/common", | 172 "//mojo/common", |
| 132 "//mojo/environment:chromium", | 173 "//mojo/environment:chromium", |
| 133 "//mojo/public/c/system:for_shared_library", | 174 "//mojo/public/c/system:for_shared_library", |
| 134 ] | 175 ] |
| 135 } | 176 } |
| 136 } | 177 } |
| 137 | 178 |
| 138 group("services") { | 179 group("services") { |
| 139 deps = [ | 180 deps = [ |
| 181 ":cdm_proxy", |
| 140 ":renderer_proxy", | 182 ":renderer_proxy", |
| 141 ] | 183 ] |
| 142 | 184 |
| 143 if (!is_component_build) { | 185 if (!is_component_build) { |
| 144 deps += [ ":media" ] | 186 deps += [ ":media" ] |
| 145 } | 187 } |
| 146 } | 188 } |
| 147 | 189 |
| 148 group("tests") { | 190 group("tests") { |
| 149 testonly = true | 191 testonly = true |
| 150 deps = [ | 192 deps = [ |
| 151 ":media_mojo_unittests", | 193 ":media_mojo_unittests", |
| 152 ] | 194 ] |
| 153 | 195 |
| 154 if (!is_component_build) { | 196 if (!is_component_build) { |
| 155 deps += [ ":media_test" ] | 197 deps += [ ":media_test" ] |
| 156 } | 198 } |
| 157 } | 199 } |
| OLD | NEW |