blob: 50d7ba90a8b7a2186131f16f857ad5170c62d483 [file] [log] [blame]
Avi Drissman8ba1bad2022-09-13 19:22:361# Copyright 2014 The Chromium Authors
[email protected]6e44c302014-07-22 21:51:372# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Xiaohan Wangf170c732018-09-27 05:45:265import("//third_party/widevine/cdm/widevine.gni")
Byoungkowncbe71ec42018-08-30 18:11:316
Dirk Pranke9c0fc3b2020-08-06 16:01:307static_library("renderer") {
[email protected]6e44c302014-07-22 21:51:378 sources = [
Vikram Pasupathyd2e5386d2022-09-02 17:32:259 "external_clear_key_key_system_info.cc",
10 "external_clear_key_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2611 ]
12 deps = [
13 "//base",
Xiaohan Wangf170c732018-09-27 05:45:2614 "//content/public/renderer",
15 "//media",
16 "//media:media_buildflags",
17 "//third_party/widevine/cdm:buildflags",
[email protected]6e44c302014-07-22 21:51:3718 ]
19
John Rummell984f1d72023-02-15 23:30:3520 if (enable_library_cdms || is_win || is_android) {
21 sources += [
22 "key_system_support_update.cc",
23 "key_system_support_update.h",
24 ]
25 }
26
[email protected]6e44c302014-07-22 21:51:3727 if (is_android) {
28 sources += [
John Rummell598dc642023-01-12 00:48:0529 "android_key_system_info.cc",
30 "android_key_system_info.h",
[email protected]6e44c302014-07-22 21:51:3731 ]
32 }
33
Xiaohan Wangf170c732018-09-27 05:45:2634 if (enable_widevine) {
35 sources += [
Vikram Pasupathyd2e5386d2022-09-02 17:32:2536 "widevine_key_system_info.cc",
37 "widevine_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2638 ]
Maksim Sisov1cde3322024-12-03 08:23:1739 deps += [ "//third_party/widevine/cdm:headers" ]
Xiaohan Wangf170c732018-09-27 05:45:2640 }
[email protected]6e44c302014-07-22 21:51:3741}