Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 5 | import("//third_party/widevine/cdm/widevine.gni") |
Byoungkown | cbe71ec4 | 2018-08-30 18:11:31 | [diff] [blame] | 6 | |
Dirk Pranke | 9c0fc3b | 2020-08-06 16:01:30 | [diff] [blame] | 7 | static_library("renderer") { |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 8 | sources = [ |
Vikram Pasupathy | d2e5386d | 2022-09-02 17:32:25 | [diff] [blame] | 9 | "external_clear_key_key_system_info.cc", |
| 10 | "external_clear_key_key_system_info.h", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 11 | ] |
| 12 | deps = [ |
| 13 | "//base", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 14 | "//content/public/renderer", |
| 15 | "//media", |
| 16 | "//media:media_buildflags", |
| 17 | "//third_party/widevine/cdm:buildflags", |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 18 | ] |
| 19 | |
John Rummell | 984f1d7 | 2023-02-15 23:30:35 | [diff] [blame] | 20 | 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] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 27 | if (is_android) { |
| 28 | sources += [ |
John Rummell | 598dc64 | 2023-01-12 00:48:05 | [diff] [blame] | 29 | "android_key_system_info.cc", |
| 30 | "android_key_system_info.h", |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 31 | ] |
| 32 | } |
| 33 | |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 34 | if (enable_widevine) { |
| 35 | sources += [ |
Vikram Pasupathy | d2e5386d | 2022-09-02 17:32:25 | [diff] [blame] | 36 | "widevine_key_system_info.cc", |
| 37 | "widevine_key_system_info.h", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 38 | ] |
Maksim Sisov | 1cde332 | 2024-12-03 08:23:17 | [diff] [blame] | 39 | deps += [ "//third_party/widevine/cdm:headers" ] |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 40 | } |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 41 | } |