blob: 543fd6db405969a72b22885d49740601c21dd42f [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("//chromecast/chromecast.gni")
import("//media/media_options.gni")
cast_source_set("cdm") {
sources = [
"chromecast_init_data.cc",
"chromecast_init_data.h",
]
deps = [
"//base",
"//chromecast/base/metrics",
"//media",
]
if (is_cast_using_cma_backend) {
sources += [
"cast_cdm.cc",
"cast_cdm.h",
"cast_cdm_context.cc",
"cast_cdm_context.h",
"cast_cdm_factory.cc",
"cast_cdm_factory.h",
]
deps += [
"//chromecast/media/base",
"//chromecast/media/base:media_resource_tracker",
"//url:url",
]
}
if (is_android && enable_playready) {
sources += [
"playready_drm_delegate_android.cc",
"playready_drm_delegate_android.h",
]
}
}