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