# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/widevine/cdm/widevine.gni")
static_library("renderer") {
sources = [
"external_clear_key_key_system_info.cc",
"external_clear_key_key_system_info.h",
]
deps = [
"//base",
"//content/public/renderer",
"//media",
"//media:media_buildflags",
"//third_party/widevine/cdm:buildflags",
]
if (enable_library_cdms || is_win || is_android) {
sources += [
"key_system_support_update.cc",
"key_system_support_update.h",
]
}
if (is_android) {
sources += [
"android_key_system_info.cc",
"android_key_system_info.h",
]
}
if (enable_widevine) {
sources += [
"widevine_key_system_info.cc",
"widevine_key_system_info.h",
]
deps += [
"//build:chromeos_buildflags",
"//third_party/widevine/cdm:headers",
]
}
}