OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//build/config/crypto.gni") |
| 6 import("//chromecast/chromecast.gni") |
| 7 |
| 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 ] |
| 21 |
| 22 deps = [ |
| 23 "//base", |
| 24 "//crypto", |
| 25 "//crypto:platform", |
| 26 "//third_party/widevine/cdm:version_h", |
| 27 ] |
| 28 |
| 29 configs += [ "//chromecast:config" ] |
| 30 |
| 31 if (is_chromecast_chrome_branded) { |
| 32 deps += [ |
| 33 # TODO(gyp): add dependency on internal/chromecast_internal:media_base_int
ernal |
| 34 ] |
| 35 } else { |
| 36 sources += [ "key_systems_common_simple.cc" ] |
| 37 } |
| 38 } |
OLD | NEW |