blob: b3d270e5ba1e37d08bbc809bd2c0b726da880ccc [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") {
Xiaohan Wangdb7f22f2024-12-05 20:07:558 # See //components/cdm/README.md
9 visibility = [
10 "//android_webview/*",
11 "//chrome/*",
12 "//chromecast/*",
13 "//components/cdm/*",
14 "//content/shell/*",
15 "//fuchsia_web/*",
16 ]
17
[email protected]6e44c302014-07-22 21:51:3718 sources = [
Vikram Pasupathyd2e5386d2022-09-02 17:32:2519 "external_clear_key_key_system_info.cc",
20 "external_clear_key_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2621 ]
22 deps = [
23 "//base",
Xiaohan Wangf170c732018-09-27 05:45:2624 "//content/public/renderer",
25 "//media",
26 "//media:media_buildflags",
27 "//third_party/widevine/cdm:buildflags",
[email protected]6e44c302014-07-22 21:51:3728 ]
29
John Rummell984f1d72023-02-15 23:30:3530 if (enable_library_cdms || is_win || is_android) {
31 sources += [
32 "key_system_support_update.cc",
33 "key_system_support_update.h",
34 ]
35 }
36
[email protected]6e44c302014-07-22 21:51:3737 if (is_android) {
38 sources += [
John Rummell598dc642023-01-12 00:48:0539 "android_key_system_info.cc",
40 "android_key_system_info.h",
[email protected]6e44c302014-07-22 21:51:3741 ]
42 }
43
Xiaohan Wangf170c732018-09-27 05:45:2644 if (enable_widevine) {
45 sources += [
Vikram Pasupathyd2e5386d2022-09-02 17:32:2546 "widevine_key_system_info.cc",
47 "widevine_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2648 ]
Maksim Sisov1cde3322024-12-03 08:23:1749 deps += [ "//third_party/widevine/cdm:headers" ]
Xiaohan Wangf170c732018-09-27 05:45:2650 }
[email protected]6e44c302014-07-22 21:51:3751}