| 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", | |
| 23 "cast_mojo_media_client.cc", | 21 "cast_mojo_media_client.cc", |
| 24 "cast_mojo_media_client.h", | 22 "cast_mojo_media_client.h", |
| 25 "cast_renderer.cc", | 23 "cast_renderer.cc", |
| 26 "cast_renderer.h", | 24 "cast_renderer.h", |
| 27 ] | 25 ] |
| 28 } | 26 } |
| 29 | 27 |
| 30 if (use_playready) { | 28 if (use_playready) { |
| 31 public_configs = [ "//chromecast:playready_config" ] | 29 public_configs = [ "//chromecast:playready_config" ] |
| 32 } | 30 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 50 | 48 |
| 51 if (is_android) { | 49 if (is_android) { |
| 52 deps += [ "//components/cdm/common" ] | 50 deps += [ "//components/cdm/common" ] |
| 53 } else { | 51 } else { |
| 54 sources += [ | 52 sources += [ |
| 55 "cma_message_filter_host.cc", | 53 "cma_message_filter_host.cc", |
| 56 "cma_message_filter_host.h", | 54 "cma_message_filter_host.h", |
| 57 ] | 55 ] |
| 58 } | 56 } |
| 59 } | 57 } |
| OLD | NEW |