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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 | 6 |
7 source_set("media") { | 7 source_set("media") { |
8 sources = [ | 8 sources = [ |
9 "cast_browser_cdm_factory.cc", | 9 "cast_browser_cdm_factory.cc", |
10 "cast_browser_cdm_factory.h", | 10 "cast_browser_cdm_factory.h", |
11 "media_caps_impl.cc", | 11 "media_caps_impl.cc", |
12 "media_caps_impl.h", | 12 "media_caps_impl.h", |
13 "media_pipeline_backend_factory.h", | 13 "media_pipeline_backend_factory.h", |
14 ] | 14 ] |
15 | 15 |
16 if (mojo_media_host == "browser") { | 16 if (mojo_media_host == "browser") { |
17 sources += [ | 17 sources += [ |
18 "cast_mojo_media_client.cc", | 18 "cast_mojo_media_client.cc", |
19 "cast_mojo_media_client.h", | 19 "cast_mojo_media_client.h", |
20 "cast_renderer.cc", | 20 "cast_renderer.cc", |
21 "cast_renderer.h", | 21 "cast_renderer.h", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 if (mojo_media_host == "browser") { | 25 if (mojo_media_host == "browser") { |
26 public_deps = [ | 26 public_deps = [ |
27 "//media/mojo/interfaces", | 27 "//media/mojo/interfaces", |
28 "//media/mojo/services", | 28 "//media/mojo/services", |
29 "//services/shell/public/cpp", | 29 "//services/service_manager/public/cpp", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 deps = [ | 33 deps = [ |
34 "//base", | 34 "//base", |
35 "//chromecast/base", | 35 "//chromecast/base", |
36 "//chromecast/common/media", | 36 "//chromecast/common/media", |
37 "//chromecast/common/media:interfaces", | 37 "//chromecast/common/media:interfaces", |
38 "//chromecast/media", | 38 "//chromecast/media", |
39 "//content/public/browser", | 39 "//content/public/browser", |
40 "//media", | 40 "//media", |
41 "//ui/gfx/geometry", | 41 "//ui/gfx/geometry", |
42 ] | 42 ] |
43 | 43 |
44 if (!is_android) { | 44 if (!is_android) { |
45 sources += [ | 45 sources += [ |
46 "video_resolution_policy.cc", | 46 "video_resolution_policy.cc", |
47 "video_resolution_policy.h", | 47 "video_resolution_policy.h", |
48 ] | 48 ] |
49 } | 49 } |
50 } | 50 } |
OLD | NEW |