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", |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 if (use_playready) { | 30 if (use_playready) { |
31 public_configs = [ "//chromecast:playready_config" ] | 31 public_configs = [ "//chromecast:playready_config" ] |
32 } | 32 } |
33 | 33 |
34 if (mojo_media_host == "browser") { | 34 if (mojo_media_host == "browser") { |
35 public_deps = [ | 35 public_deps = [ |
36 "//media/mojo/interfaces", | 36 "//media/mojo/interfaces", |
37 "//media/mojo/services:application", | 37 "//media/mojo/services:application", |
38 "//mojo/shell/public/cpp", | 38 "//services/shell/public/cpp", |
39 ] | 39 ] |
40 } | 40 } |
41 | 41 |
42 deps = [ | 42 deps = [ |
43 "//base", | 43 "//base", |
44 "//chromecast/base", | 44 "//chromecast/base", |
45 "//chromecast/common/media", | 45 "//chromecast/common/media", |
46 "//chromecast/media", | 46 "//chromecast/media", |
47 "//content/public/browser", | 47 "//content/public/browser", |
48 "//media", | 48 "//media", |
49 ] | 49 ] |
50 | 50 |
51 if (is_android) { | 51 if (is_android) { |
52 deps += [ "//components/cdm/browser" ] | 52 deps += [ "//components/cdm/browser" ] |
53 } else { | 53 } else { |
54 sources += [ | 54 sources += [ |
55 "cma_message_filter_host.cc", | 55 "cma_message_filter_host.cc", |
56 "cma_message_filter_host.h", | 56 "cma_message_filter_host.h", |
57 ] | 57 ] |
58 } | 58 } |
59 } | 59 } |
OLD | NEW |