summaryrefslogtreecommitdiff
path: root/chromium/components/cdm/renderer/BUILD.gn
blob: cdd7d8edaf380b93a299390888fb6ad0694a7362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//third_party/widevine/cdm/widevine.gni")

static_library("renderer") {
  sources = [
    "external_clear_key_key_system_properties.cc",
    "external_clear_key_key_system_properties.h",
  ]
  deps = [
    "//base",
    "//components/cdm/common",
    "//content/public/renderer",
    "//media",
    "//media:media_buildflags",
    "//third_party/widevine/cdm:buildflags",
  ]

  if (is_android) {
    sources += [
      "android_key_systems.cc",
      "android_key_systems.h",
    ]
  }

  if (enable_widevine) {
    sources += [
      "widevine_key_system_properties.cc",
      "widevine_key_system_properties.h",
    ]
    deps += [
      "//build:chromeos_buildflags",
      "//third_party/widevine/cdm:headers",
    ]
  }
}