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