| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chromecast/chromecast.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| source_set("media") { |
| sources = [ |
| "cast_media_client.cc", |
| "cast_media_client.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chromecast/media", |
| "//chromecast/media/cdm", |
| "//chromecast/public:public", |
| "//media", |
| ] |
| |
| if (is_android) { |
| sources += [ |
| "cast_media_client_android.cc", |
| "cast_media_client_android.h", |
| ] |
| deps += [ |
| "//chromecast/media", |
| "//components/cdm/common", |
| ] |
| } |
| |
| if (use_playready) { |
| public_configs = [ "//chromecast:playready_config" ] |
| } |
| } |
| |
| mojom("interfaces") { |
| sources = [ |
| "media_caps.mojom", |
| ] |
| } |