| 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 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_manifest.gni") |
| 9 | 9 |
| 10 # Target naming conventions: | 10 # Target naming conventions: |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 "mojo_renderer_factory.h", | 65 "mojo_renderer_factory.h", |
| 66 "mojo_renderer_impl.cc", | 66 "mojo_renderer_impl.cc", |
| 67 "mojo_renderer_impl.h", | 67 "mojo_renderer_impl.h", |
| 68 "mojo_type_trait.h", | 68 "mojo_type_trait.h", |
| 69 "mojo_video_decoder.cc", | 69 "mojo_video_decoder.cc", |
| 70 "mojo_video_decoder.h", | 70 "mojo_video_decoder.h", |
| 71 ] | 71 ] |
| 72 | 72 |
| 73 public_configs = [ ":mojo_media_config" ] | 73 public_configs = [ ":mojo_media_config" ] |
| 74 | 74 |
| 75 deps = [ | 75 public_deps = [ |
| 76 "//base", | 76 "//base", |
| 77 "//media", | 77 "//media", |
| 78 "//media/mojo/interfaces", |
| 79 "//mojo/public/cpp/bindings", |
| 80 "//mojo/public/cpp/system", |
| 81 "//services/shell/public/interfaces", |
| 82 ] |
| 83 |
| 84 deps = [ |
| 78 "//media/mojo/common", | 85 "//media/mojo/common", |
| 79 "//media/mojo/interfaces", | |
| 80 "//mojo/common", | 86 "//mojo/common", |
| 81 "//mojo/public/c/system:for_component", | 87 "//services/shell/public/cpp", |
| 82 "//services/shell/public/cpp:sources", | |
| 83 "//services/shell/public/interfaces", | |
| 84 "//ui/gfx/geometry/mojo", | |
| 85 ] | 88 ] |
| 86 } | 89 } |
| 87 | 90 |
| 88 component("services") { | 91 component("services") { |
| 89 output_name = "media_mojo_services" | 92 output_name = "media_mojo_services" |
| 90 | 93 |
| 91 sources = [ | 94 sources = [ |
| 92 "demuxer_stream_provider_shim.cc", | 95 "demuxer_stream_provider_shim.cc", |
| 93 "demuxer_stream_provider_shim.h", | 96 "demuxer_stream_provider_shim.h", |
| 94 "mojo_audio_decoder_service.cc", | 97 "mojo_audio_decoder_service.cc", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 119 "service_factory_impl.cc", | 122 "service_factory_impl.cc", |
| 120 "service_factory_impl.h", | 123 "service_factory_impl.h", |
| 121 ] | 124 ] |
| 122 | 125 |
| 123 defines = [ "MEDIA_MOJO_IMPLEMENTATION" ] | 126 defines = [ "MEDIA_MOJO_IMPLEMENTATION" ] |
| 124 | 127 |
| 125 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 128 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 126 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 129 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 127 public_configs = [ ":mojo_media_config" ] | 130 public_configs = [ ":mojo_media_config" ] |
| 128 | 131 |
| 129 deps = [ | 132 public_deps = [ |
| 130 "//base", | 133 "//base", |
| 131 "//media", | 134 "//media", |
| 135 "//media/mojo/interfaces", |
| 136 "//mojo/public/cpp/bindings", |
| 137 "//mojo/public/cpp/system", |
| 138 "//services/shell/public/cpp", |
| 139 "//url", |
| 140 ] |
| 141 |
| 142 deps = [ |
| 132 "//media:cdm_api", | 143 "//media:cdm_api", |
| 133 "//media:shared_memory_support", | 144 "//media:shared_memory_support", |
| 134 "//media/mojo/common", | 145 "//media/mojo/common", |
| 135 "//media/mojo/interfaces", | |
| 136 "//mojo/common", | 146 "//mojo/common", |
| 137 "//mojo/public/c/system:for_component", | |
| 138 "//services/shell/public/cpp", | |
| 139 "//services/shell/public/cpp:sources", | |
| 140 "//services/shell/public/interfaces", | 147 "//services/shell/public/interfaces", |
| 141 "//ui/gfx/geometry/mojo", | |
| 142 "//url", | |
| 143 ] | 148 ] |
| 144 | 149 |
| 145 if (is_android) { | 150 if (is_android) { |
| 146 sources += [ | 151 sources += [ |
| 147 "mojo_provision_fetcher.cc", | 152 "mojo_provision_fetcher.cc", |
| 148 "mojo_provision_fetcher.h", | 153 "mojo_provision_fetcher.h", |
| 149 ] | 154 ] |
| 150 } | 155 } |
| 151 | 156 |
| 152 if (enable_test_mojo_media_client) { | 157 if (enable_test_mojo_media_client) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 170 | 175 |
| 171 mojo_native_application("media") { | 176 mojo_native_application("media") { |
| 172 testonly = true | 177 testonly = true |
| 173 | 178 |
| 174 sources = [ | 179 sources = [ |
| 175 "main.cc", | 180 "main.cc", |
| 176 "test_mojo_media_client.cc", | 181 "test_mojo_media_client.cc", |
| 177 "test_mojo_media_client.h", | 182 "test_mojo_media_client.h", |
| 178 ] | 183 ] |
| 179 | 184 |
| 180 deps = [ | 185 public_deps = [ |
| 181 ":services", | 186 ":services", |
| 182 "//base", | 187 "//base", |
| 183 "//media", | 188 "//media", |
| 184 "//mojo/public/c/system:for_shared_library", | 189 ] |
| 185 "//services/shell/public/cpp:sources", | 190 |
| 191 deps = [ |
| 192 "//mojo/public/c/system", |
| 193 "//services/shell/public/cpp", |
| 186 ] | 194 ] |
| 187 } | 195 } |
| 188 | 196 |
| 189 mojo_application_manifest("media_manifest") { | 197 mojo_application_manifest("media_manifest") { |
| 190 application_name = "media" | 198 application_name = "media" |
| 191 source = "media_manifest.json" | 199 source = "media_manifest.json" |
| 192 } | 200 } |
| 193 | 201 |
| 194 test("media_mojo_shell_unittests") { | 202 test("media_mojo_shell_unittests") { |
| 195 testonly = true | 203 testonly = true |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 ":media", | 242 ":media", |
| 235 ":pipeline_test_manifest", | 243 ":pipeline_test_manifest", |
| 236 ] | 244 ] |
| 237 } | 245 } |
| 238 | 246 |
| 239 mojo_application_manifest("pipeline_test_manifest") { | 247 mojo_application_manifest("pipeline_test_manifest") { |
| 240 application_name = "media_pipeline_integration_unittests" | 248 application_name = "media_pipeline_integration_unittests" |
| 241 type = "exe" | 249 type = "exe" |
| 242 source = "pipeline_test_manifest.json" | 250 source = "pipeline_test_manifest.json" |
| 243 } | 251 } |
| OLD | NEW |