blob: 3369afc6e3cbacd1e4acbf7dda8f61b516d74a30 [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") {
[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 += [
John Rummell598dc642023-01-12 00:48:0523 "android_key_system_info.cc",
24 "android_key_system_info.h",
[email protected]6e44c302014-07-22 21:51:3725 "android_key_systems.cc",
26 "android_key_systems.h",
27 ]
28 }
29
Xiaohan Wangf170c732018-09-27 05:45:2630 if (enable_widevine) {
31 sources += [
Vikram Pasupathyd2e5386d2022-09-02 17:32:2532 "widevine_key_system_info.cc",
33 "widevine_key_system_info.h",
Xiaohan Wangf170c732018-09-27 05:45:2634 ]
Yuta Hijikata62dbeaf2020-12-10 04:15:5135 deps += [
36 "//build:chromeos_buildflags",
37 "//third_party/widevine/cdm:headers",
38 ]
Xiaohan Wangf170c732018-09-27 05:45:2639 }
[email protected]6e44c302014-07-22 21:51:3740}