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", |
| 14 | "//components/cdm/common", |
| 15 | "//content/public/renderer", |
| 16 | "//media", |
| 17 | "//media:media_buildflags", |
| 18 | "//third_party/widevine/cdm:buildflags", |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 19 | ] |
| 20 | |
| 21 | if (is_android) { |
| 22 | sources += [ |
John Rummell | 598dc64 | 2023-01-12 00:48:05 | [diff] [blame^] | 23 | "android_key_system_info.cc", |
| 24 | "android_key_system_info.h", |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 25 | "android_key_systems.cc", |
| 26 | "android_key_systems.h", |
| 27 | ] |
| 28 | } |
| 29 | |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 30 | if (enable_widevine) { |
| 31 | sources += [ |
Vikram Pasupathy | d2e5386d | 2022-09-02 17:32:25 | [diff] [blame] | 32 | "widevine_key_system_info.cc", |
| 33 | "widevine_key_system_info.h", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 34 | ] |
Yuta Hijikata | 62dbeaf | 2020-12-10 04:15:51 | [diff] [blame] | 35 | deps += [ |
| 36 | "//build:chromeos_buildflags", |
| 37 | "//third_party/widevine/cdm:headers", |
| 38 | ] |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 39 | } |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 40 | } |