blob: 433a81899e6af32a9d8fb810939769463371aed4 [file] [log] [blame]
# 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("//media/media_options.gni")
source_set("media") {
sources = [
"cast_browser_cdm_factory.cc",
"cast_browser_cdm_factory.h",
"media_caps_impl.cc",
"media_caps_impl.h",
"media_pipeline_backend_factory.h",
]
if (mojo_media_host == "browser") {
sources += [
"cast_mojo_media_client.cc",
"cast_mojo_media_client.h",
"cast_renderer.cc",
"cast_renderer.h",
]
}
if (mojo_media_host == "browser") {
public_deps = [
"//media/mojo/interfaces",
"//media/mojo/services",
"//services/shell/public/cpp",
]
}
deps = [
"//base",
"//chromecast/base",
"//chromecast/common/media",
"//chromecast/common/media:interfaces",
"//chromecast/media",
"//content/public/browser",
"//media",
"//ui/gfx/geometry",
]
if (!is_android) {
sources += [
"video_resolution_policy.cc",
"video_resolution_policy.h",
]
}
}