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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 # GYP target: chromecast.gyp:cast_shell_media | 8 # GYP target: chromecast.gyp:cast_shell_media |
9 source_set("media") { | 9 source_set("media") { |
10 sources = [ | 10 sources = [ |
11 "cast_media_client.cc", | 11 "cast_media_client.cc", |
12 "cast_media_client.h", | 12 "cast_media_client.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//chromecast/media/base", | 17 "//chromecast/media/base", |
| 18 "//chromecast/media/cdm", |
18 "//chromecast/public:public", | 19 "//chromecast/public:public", |
19 "//media", | 20 "//media", |
20 ] | 21 ] |
21 | 22 |
22 if (is_android) { | 23 if (is_android) { |
23 sources += [ | 24 sources += [ |
24 "cast_media_client_android.cc", | 25 "cast_media_client_android.cc", |
25 "cast_media_client_android.h", | 26 "cast_media_client_android.h", |
26 ] | 27 ] |
27 deps += [ | 28 deps += [ |
28 "//chromecast/media/base", | 29 "//chromecast/media/base", |
29 "//components/cdm/common", | 30 "//components/cdm/common", |
30 "//media/base/android", | 31 "//media/base/android", |
31 ] | 32 ] |
32 } | 33 } |
33 | 34 |
34 if (use_playready) { | 35 if (use_playready) { |
35 public_configs = [ "//chromecast:playready_config" ] | 36 public_configs = [ "//chromecast:playready_config" ] |
36 } | 37 } |
37 } | 38 } |
38 | 39 |
39 mojom("interfaces") { | 40 mojom("interfaces") { |
40 sources = [ | 41 sources = [ |
41 "media_caps.mojom", | 42 "media_caps.mojom", |
42 ] | 43 ] |
43 } | 44 } |
OLD | NEW |