[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Byoungkown | cbe71ec4 | 2018-08-30 18:11:31 | [diff] [blame] | 5 | import("//build/config/jumbo.gni") |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 6 | import("//third_party/widevine/cdm/widevine.gni") |
Byoungkown | cbe71ec4 | 2018-08-30 18:11:31 | [diff] [blame] | 7 | |
Dirk Pranke | 9c0fc3b | 2020-08-06 16:01:30 | [diff] [blame^] | 8 | static_library("renderer") { |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 9 | sources = [ |
xhwang | bcd68581 | 2016-09-22 23:35:55 | [diff] [blame] | 10 | "external_clear_key_key_system_properties.cc", |
| 11 | "external_clear_key_key_system_properties.h", |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 12 | ] |
| 13 | deps = [ |
| 14 | "//base", |
| 15 | "//components/cdm/common", |
| 16 | "//content/public/renderer", |
| 17 | "//media", |
| 18 | "//media:media_buildflags", |
| 19 | "//third_party/widevine/cdm:buildflags", |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 20 | ] |
| 21 | |
| 22 | if (is_android) { |
| 23 | sources += [ |
| 24 | "android_key_systems.cc", |
| 25 | "android_key_systems.h", |
| 26 | ] |
| 27 | } |
| 28 | |
Xiaohan Wang | f170c73 | 2018-09-27 05:45:26 | [diff] [blame] | 29 | if (enable_widevine) { |
| 30 | sources += [ |
| 31 | "widevine_key_system_properties.cc", |
| 32 | "widevine_key_system_properties.h", |
| 33 | ] |
| 34 | deps += [ "//third_party/widevine/cdm:headers" ] |
| 35 | } |
[email protected] | 6e44c30 | 2014-07-22 21:51:37 | [diff] [blame] | 36 | } |