Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / chromecast / media / base / BUILD.gn
blob64992f331f293ea83cd3c58a21df6ed644959c68
1 # Copyright 2015 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.
5 import("//build/config/crypto.gni")
6 import("//chromecast/chromecast.gni")
8 source_set("base") {
9   sources = [
10     "decrypt_context.cc",
11     "decrypt_context.h",
12     "decrypt_context_clearkey.cc",
13     "decrypt_context_clearkey.h",
14     "key_systems_common.cc",
15     "key_systems_common.h",
16     "media_caps.cc",
17     "media_caps.h",
18     "switching_media_renderer.cc",
19     "switching_media_renderer.h",
20   ]
22   deps = [
23     "//base",
24     "//crypto",
25     "//crypto:platform",
26     "//third_party/widevine/cdm:version_h",
27   ]
29   configs += [ "//chromecast:config" ]
31   if (is_chromecast_chrome_branded) {
32     deps += [
33       # TODO(gyp): add dependency on internal/chromecast_internal:media_base_internal
34     ]
35   } else {
36     sources += [ "key_systems_common_simple.cc" ]
37   }