| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 deps = [ | 75 deps = [ |
| 76 "//base", | 76 "//base", |
| 77 "//media", | 77 "//media", |
| 78 "//media/mojo/common", | 78 "//media/mojo/common", |
| 79 "//media/mojo/interfaces", | 79 "//media/mojo/interfaces", |
| 80 "//mojo/common", | 80 "//mojo/common", |
| 81 "//mojo/public/c/system:for_component", | 81 "//mojo/public/c/system:for_component", |
| 82 "//services/shell/public/cpp:sources", | 82 "//services/shell/public/cpp:sources", |
| 83 "//services/shell/public/interfaces", | 83 "//services/shell/public/interfaces", |
| 84 "//ui/gfx/geometry/mojo", |
| 84 ] | 85 ] |
| 85 } | 86 } |
| 86 | 87 |
| 87 component("services") { | 88 component("services") { |
| 88 output_name = "media_mojo_services" | 89 output_name = "media_mojo_services" |
| 89 | 90 |
| 90 sources = [ | 91 sources = [ |
| 91 "demuxer_stream_provider_shim.cc", | 92 "demuxer_stream_provider_shim.cc", |
| 92 "demuxer_stream_provider_shim.h", | 93 "demuxer_stream_provider_shim.h", |
| 93 "mojo_audio_decoder_service.cc", | 94 "mojo_audio_decoder_service.cc", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 121 | 122 |
| 122 defines = [ "MEDIA_MOJO_IMPLEMENTATION" ] | 123 defines = [ "MEDIA_MOJO_IMPLEMENTATION" ] |
| 123 | 124 |
| 124 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 125 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 125 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 126 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 126 public_configs = [ ":mojo_media_config" ] | 127 public_configs = [ ":mojo_media_config" ] |
| 127 | 128 |
| 128 deps = [ | 129 deps = [ |
| 129 "//base", | 130 "//base", |
| 130 "//media", | 131 "//media", |
| 132 "//media:cdm_api", |
| 131 "//media:shared_memory_support", | 133 "//media:shared_memory_support", |
| 132 "//media/mojo/common", | 134 "//media/mojo/common", |
| 133 "//media/mojo/interfaces", | 135 "//media/mojo/interfaces", |
| 134 "//mojo/common", | 136 "//mojo/common", |
| 135 "//mojo/public/c/system:for_component", | 137 "//mojo/public/c/system:for_component", |
| 136 "//services/shell/public/cpp", | 138 "//services/shell/public/cpp", |
| 137 "//services/shell/public/cpp:sources", | 139 "//services/shell/public/cpp:sources", |
| 138 "//services/shell/public/interfaces", | 140 "//services/shell/public/interfaces", |
| 141 "//ui/gfx/geometry/mojo", |
| 139 "//url", | 142 "//url", |
| 140 ] | 143 ] |
| 141 | 144 |
| 142 if (is_android) { | 145 if (is_android) { |
| 143 sources += [ | 146 sources += [ |
| 144 "mojo_provision_fetcher.cc", | 147 "mojo_provision_fetcher.cc", |
| 145 "mojo_provision_fetcher.h", | 148 "mojo_provision_fetcher.h", |
| 146 ] | 149 ] |
| 147 } | 150 } |
| 148 | 151 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 ":media", | 234 ":media", |
| 232 ":pipeline_test_manifest", | 235 ":pipeline_test_manifest", |
| 233 ] | 236 ] |
| 234 } | 237 } |
| 235 | 238 |
| 236 mojo_application_manifest("pipeline_test_manifest") { | 239 mojo_application_manifest("pipeline_test_manifest") { |
| 237 application_name = "media_pipeline_integration_unittests" | 240 application_name = "media_pipeline_integration_unittests" |
| 238 type = "exe" | 241 type = "exe" |
| 239 source = "pipeline_test_manifest.json" | 242 source = "pipeline_test_manifest.json" |
| 240 } | 243 } |
| OLD | NEW |