| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "mojo_type_trait.h", | 66 "mojo_type_trait.h", |
| 67 ] | 67 ] |
| 68 | 68 |
| 69 public_configs = [ ":enable_mojo_media_config" ] | 69 public_configs = [ ":enable_mojo_media_config" ] |
| 70 | 70 |
| 71 deps = [ | 71 deps = [ |
| 72 ":converters", | 72 ":converters", |
| 73 "//base", | 73 "//base", |
| 74 "//media", | 74 "//media", |
| 75 "//media/mojo/interfaces", | 75 "//media/mojo/interfaces", |
| 76 "//mojo/application/public/interfaces", | |
| 77 "//mojo/common", | 76 "//mojo/common", |
| 78 "//mojo/environment:chromium", | 77 "//mojo/environment:chromium", |
| 79 "//mojo/public/c/system:for_component", | 78 "//mojo/public/c/system:for_component", |
| 79 "//mojo/shell/public/interfaces", |
| 80 ] | 80 ] |
| 81 } | 81 } |
| 82 | 82 |
| 83 source_set("media_client") { | 83 source_set("media_client") { |
| 84 sources = [ | 84 sources = [ |
| 85 "mojo_media_client.cc", | 85 "mojo_media_client.cc", |
| 86 "mojo_media_client.h", | 86 "mojo_media_client.h", |
| 87 ] | 87 ] |
| 88 if (is_android) { | 88 if (is_android) { |
| 89 sources += [ "android_mojo_media_client.cc" ] | 89 sources += [ "android_mojo_media_client.cc" ] |
| 90 } else { | 90 } else { |
| 91 sources += [ "default_mojo_media_client.cc" ] | 91 sources += [ "default_mojo_media_client.cc" ] |
| 92 } | 92 } |
| 93 | 93 |
| 94 public_configs = [ ":enable_mojo_media_config" ] | 94 public_configs = [ ":enable_mojo_media_config" ] |
| 95 | 95 |
| 96 deps = [ | 96 deps = [ |
| 97 "//base", | 97 "//base", |
| 98 "//media", | 98 "//media", |
| 99 "//media:shared_memory_support", | 99 "//media:shared_memory_support", |
| 100 ] | 100 ] |
| 101 } | 101 } |
| 102 | 102 |
| 103 source_set("cdm_service") { | 103 source_set("cdm_service") { |
| 104 deps = [ | 104 deps = [ |
| 105 ":converters", | 105 ":converters", |
| 106 "//base", | 106 "//base", |
| 107 "//media", | 107 "//media", |
| 108 "//media/mojo/interfaces", | 108 "//media/mojo/interfaces", |
| 109 "//mojo/application/public/interfaces", | |
| 110 "//mojo/common", | 109 "//mojo/common", |
| 111 "//mojo/environment:chromium", | 110 "//mojo/environment:chromium", |
| 112 "//mojo/public/c/system:for_component", | 111 "//mojo/public/c/system:for_component", |
| 112 "//mojo/shell/public/interfaces", |
| 113 ] | 113 ] |
| 114 | 114 |
| 115 sources = [ | 115 sources = [ |
| 116 "mojo_cdm_promise.cc", | 116 "mojo_cdm_promise.cc", |
| 117 "mojo_cdm_promise.h", | 117 "mojo_cdm_promise.h", |
| 118 "mojo_cdm_service.cc", | 118 "mojo_cdm_service.cc", |
| 119 "mojo_cdm_service.h", | 119 "mojo_cdm_service.h", |
| 120 "mojo_cdm_service_context.cc", | 120 "mojo_cdm_service_context.cc", |
| 121 "mojo_cdm_service_context.h", | 121 "mojo_cdm_service_context.h", |
| 122 "mojo_decryptor_service.cc", | 122 "mojo_decryptor_service.cc", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 "service_factory_impl.h", | 162 "service_factory_impl.h", |
| 163 ] | 163 ] |
| 164 | 164 |
| 165 public_configs = [ ":enable_mojo_media_config" ] | 165 public_configs = [ ":enable_mojo_media_config" ] |
| 166 | 166 |
| 167 deps = [ | 167 deps = [ |
| 168 ":cdm_service", | 168 ":cdm_service", |
| 169 ":media_client", | 169 ":media_client", |
| 170 ":renderer_service", | 170 ":renderer_service", |
| 171 "//base", | 171 "//base", |
| 172 "//mojo/application/public/cpp", | |
| 173 "//mojo/public/c/system:for_component", | 172 "//mojo/public/c/system:for_component", |
| 173 "//mojo/shell/public/cpp", |
| 174 ] | 174 ] |
| 175 } | 175 } |
| 176 | 176 |
| 177 test("media_mojo_unittests") { | 177 test("media_mojo_unittests") { |
| 178 sources = [ | 178 sources = [ |
| 179 "media_type_converters_unittest.cc", | 179 "media_type_converters_unittest.cc", |
| 180 ] | 180 ] |
| 181 | 181 |
| 182 deps = [ | 182 deps = [ |
| 183 ":converters", | 183 ":converters", |
| (...skipping 29 matching lines...) Expand all Loading... |
| 213 mojo_native_application("media_apptests") { | 213 mojo_native_application("media_apptests") { |
| 214 testonly = true | 214 testonly = true |
| 215 | 215 |
| 216 sources = [ | 216 sources = [ |
| 217 "media_apptest.cc", | 217 "media_apptest.cc", |
| 218 ] | 218 ] |
| 219 | 219 |
| 220 deps = [ | 220 deps = [ |
| 221 ":proxy", | 221 ":proxy", |
| 222 "//media/base:test_support", | 222 "//media/base:test_support", |
| 223 "//mojo/application/public/cpp:test_support", | 223 "//mojo/shell/public/cpp:test_support", |
| 224 "//testing/gmock", | 224 "//testing/gmock", |
| 225 "//testing/gtest", | 225 "//testing/gtest", |
| 226 ] | 226 ] |
| 227 | 227 |
| 228 data_deps = [ | 228 data_deps = [ |
| 229 ":media", | 229 ":media", |
| 230 ] | 230 ] |
| 231 } | 231 } |
| 232 | 232 |
| 233 mojo_native_application("media_pipeline_integration_apptests") { | 233 mojo_native_application("media_pipeline_integration_apptests") { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 258 ":media_mojo_unittests", | 258 ":media_mojo_unittests", |
| 259 ] | 259 ] |
| 260 | 260 |
| 261 if (!is_component_build) { | 261 if (!is_component_build) { |
| 262 deps += [ | 262 deps += [ |
| 263 ":media_apptests", | 263 ":media_apptests", |
| 264 ":media_pipeline_integration_apptests", | 264 ":media_pipeline_integration_apptests", |
| 265 ] | 265 ] |
| 266 } | 266 } |
| 267 } | 267 } |
| OLD | NEW |