naiveproxy/chromecast/media/cdm/BUILD.gn

44 lines
919 B
Plaintext
Raw Permalink Normal View History

2018-08-11 08:35:24 +03:00
# 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 && use_playready) {
sources += [
"playready_drm_delegate_android.cc",
"playready_drm_delegate_android.h",
]
}
}