| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 63     "mojo_demuxer_stream_impl.h", | 63     "mojo_demuxer_stream_impl.h", | 
| 64     "mojo_renderer_factory.cc", | 64     "mojo_renderer_factory.cc", | 
| 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   all_dependent_configs = [ ":mojo_media_config" ] | 73   public_configs = [ ":mojo_media_config" ] | 
| 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     "//mojo/shell/public/interfaces", | 82     "//mojo/shell/public/interfaces", | 
| 83   ] | 83   ] | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 112     sources += [ | 112     sources += [ | 
| 113       "mojo_provision_fetcher.cc", | 113       "mojo_provision_fetcher.cc", | 
| 114       "mojo_provision_fetcher.h", | 114       "mojo_provision_fetcher.h", | 
| 115     ] | 115     ] | 
| 116   } | 116   } | 
| 117 | 117 | 
| 118   # TODO(xhwang): Needed because targets can depend on cdm_service directly, | 118   # TODO(xhwang): Needed because targets can depend on cdm_service directly, | 
| 119   # which is a bit hacky since we need to access CdmService directly | 119   # which is a bit hacky since we need to access CdmService directly | 
| 120   # from C++ code (AVDA). In the future we'll make those decoders part of | 120   # from C++ code (AVDA). In the future we'll make those decoders part of | 
| 121   # MojoMediaApplication, then we won't need this. | 121   # MojoMediaApplication, then we won't need this. | 
| 122   all_dependent_configs = [ ":mojo_media_config" ] | 122   public_configs = [ ":mojo_media_config" ] | 
| 123 | 123 | 
| 124   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 124   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 
| 125 } | 125 } | 
| 126 | 126 | 
| 127 source_set("audio_decoder_service") { | 127 source_set("audio_decoder_service") { | 
| 128   sources = [ | 128   sources = [ | 
| 129     "mojo_audio_decoder_service.cc", | 129     "mojo_audio_decoder_service.cc", | 
| 130     "mojo_audio_decoder_service.h", | 130     "mojo_audio_decoder_service.h", | 
| 131   ] | 131   ] | 
| 132 | 132 | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 165 source_set("application") { | 165 source_set("application") { | 
| 166   sources = [ | 166   sources = [ | 
| 167     "mojo_media_application.cc", | 167     "mojo_media_application.cc", | 
| 168     "mojo_media_application.h", | 168     "mojo_media_application.h", | 
| 169     "mojo_media_client.cc", | 169     "mojo_media_client.cc", | 
| 170     "mojo_media_client.h", | 170     "mojo_media_client.h", | 
| 171     "service_factory_impl.cc", | 171     "service_factory_impl.cc", | 
| 172     "service_factory_impl.h", | 172     "service_factory_impl.h", | 
| 173   ] | 173   ] | 
| 174 | 174 | 
| 175   all_dependent_configs = [ ":mojo_media_config" ] | 175   public_configs = [ ":mojo_media_config" ] | 
| 176 | 176 | 
| 177   deps = [ | 177   deps = [ | 
| 178     ":audio_decoder_service", | 178     ":audio_decoder_service", | 
| 179     ":cdm_service", | 179     ":cdm_service", | 
| 180     ":renderer_service", | 180     ":renderer_service", | 
| 181     "//base", | 181     "//base", | 
| 182     "//media", | 182     "//media", | 
| 183     "//mojo/shell/public/cpp", | 183     "//mojo/shell/public/cpp", | 
| 184   ] | 184   ] | 
| 185 } | 185 } | 
| 186 | 186 | 
| 187 source_set("application_factory") { | 187 source_set("application_factory") { | 
| 188   sources = [ | 188   sources = [ | 
| 189     "mojo_media_application_factory.cc", | 189     "mojo_media_application_factory.cc", | 
| 190     "mojo_media_application_factory.h", | 190     "mojo_media_application_factory.h", | 
| 191   ] | 191   ] | 
| 192 | 192 | 
| 193   all_dependent_configs = [ ":mojo_media_config" ] | 193   public_configs = [ ":mojo_media_config" ] | 
| 194 | 194 | 
| 195   deps = [ | 195   deps = [ | 
| 196     ":application", | 196     ":application", | 
| 197     "//base", | 197     "//base", | 
| 198     "//media", | 198     "//media", | 
| 199   ] | 199   ] | 
| 200 | 200 | 
| 201   if (enable_test_mojo_media_client) { | 201   if (enable_test_mojo_media_client) { | 
| 202     defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] | 202     defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] | 
| 203     sources += [ | 203     sources += [ | 
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 285   source = "pipeline_apptest_manifest.json" | 285   source = "pipeline_apptest_manifest.json" | 
| 286 } | 286 } | 
| 287 | 287 | 
| 288 group("tests") { | 288 group("tests") { | 
| 289   testonly = true | 289   testonly = true | 
| 290   deps = [ | 290   deps = [ | 
| 291     ":media_apptests", | 291     ":media_apptests", | 
| 292     ":media_pipeline_integration_apptests", | 292     ":media_pipeline_integration_apptests", | 
| 293   ] | 293   ] | 
| 294 } | 294 } | 
| OLD | NEW | 
|---|