| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//chromecast/chromecast.gni") | 5 import("//chromecast/chromecast.gni") |
| 6 import("//media/media_options.gni") | 6 import("//media/media_options.gni") |
| 7 | 7 |
| 8 source_set("media") { | 8 source_set("media") { |
| 9 sources = [ | 9 sources = [ |
| 10 "cast_browser_cdm_factory.cc", | 10 "cast_browser_cdm_factory.cc", |
| 11 "cast_browser_cdm_factory.h", | 11 "cast_browser_cdm_factory.h", |
| 12 "cast_media_client_android.cc", | 12 "cast_media_client_android.cc", |
| 13 "cast_media_client_android.h", | 13 "cast_media_client_android.h", |
| 14 "media_pipeline_backend_factory.h", | 14 "media_pipeline_backend_factory.h", |
| 15 "media_pipeline_host.cc", | 15 "media_pipeline_host.cc", |
| 16 "media_pipeline_host.h", | 16 "media_pipeline_host.h", |
| 17 ] | 17 ] |
| 18 | 18 |
| 19 if (mojo_media_host == "browser") { | 19 if (mojo_media_host == "browser") { |
| 20 sources += [ | 20 sources += [ |
| 21 "cast_mojo_media_application.cc", |
| 22 "cast_mojo_media_application.h", |
| 21 "cast_mojo_media_client.cc", | 23 "cast_mojo_media_client.cc", |
| 22 "cast_mojo_media_client.h", | 24 "cast_mojo_media_client.h", |
| 23 "cast_renderer.cc", | 25 "cast_renderer.cc", |
| 24 "cast_renderer.h", | 26 "cast_renderer.h", |
| 25 ] | 27 ] |
| 26 } | 28 } |
| 27 | 29 |
| 28 if (use_playready) { | 30 if (use_playready) { |
| 29 public_configs = [ "//chromecast:playready_config" ] | 31 public_configs = [ "//chromecast:playready_config" ] |
| 30 } | 32 } |
| 31 | 33 |
| 32 if (mojo_media_host == "browser") { | 34 if (mojo_media_host == "browser") { |
| 33 public_deps = [ | 35 public_deps = [ |
| 36 "//media/mojo/interfaces", |
| 34 "//media/mojo/services:application", | 37 "//media/mojo/services:application", |
| 38 "//mojo/shell/public/cpp", |
| 35 ] | 39 ] |
| 36 } | 40 } |
| 37 | 41 |
| 38 deps = [ | 42 deps = [ |
| 39 "//base", | 43 "//base", |
| 40 "//chromecast/base", | 44 "//chromecast/base", |
| 41 "//chromecast/common/media", | 45 "//chromecast/common/media", |
| 42 "//chromecast/media", | 46 "//chromecast/media", |
| 43 "//content/public/browser", | 47 "//content/public/browser", |
| 44 "//media", | 48 "//media", |
| 45 ] | 49 ] |
| 46 | 50 |
| 47 if (is_android) { | 51 if (is_android) { |
| 48 deps += [ "//components/cdm/browser" ] | 52 deps += [ "//components/cdm/browser" ] |
| 49 } else { | 53 } else { |
| 50 sources += [ | 54 sources += [ |
| 51 "cma_message_filter_host.cc", | 55 "cma_message_filter_host.cc", |
| 52 "cma_message_filter_host.h", | 56 "cma_message_filter_host.h", |
| 53 ] | 57 ] |
| 54 } | 58 } |
| 55 } | 59 } |
| OLD | NEW |