blob: d020c7779215d05bbf40743ca996116a8d4977bc [file] [log] [blame]
[email protected]6e44c302014-07-22 21:51:371# 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
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",
14 "//components/cdm/common",
15 "//content/public/renderer",
16 "//media",
17 "//media:media_buildflags",
18 "//third_party/widevine/cdm:buildflags",
[email protected]6e44c302014-07-22 21:51:3719 ]
20
21 if (is_android) {
22 sources += [
23 "android_key_systems.cc",
24 "android_key_systems.h",
25 ]
26 }
27
Xiaohan Wangf170c732018-09-27 05:45:2628 if (enable_widevine) {
29 sources += [
Vikram Pasupathyd2e5386d2022-09-02 17:32:2530 "widevine_key_system_info.cc",
31 "widevine_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2632 ]
Yuta Hijikata62dbeaf2020-12-10 04:15:5133 deps += [
34 "//build:chromeos_buildflags",
35 "//third_party/widevine/cdm:headers",
36 ]
Xiaohan Wangf170c732018-09-27 05:45:2637 }
[email protected]6e44c302014-07-22 21:51:3738}