summaryrefslogtreecommitdiff
path: root/chromium/components/cdm/renderer/BUILD.gn
blob: c8e6160ff68e231bd4ba8ef5c52e7979b207388d (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
# 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("//build/config/jumbo.gni")
import("//third_party/widevine/cdm/widevine.gni")

jumbo_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 += [ "//third_party/widevine/cdm:headers" ]
  }
}