| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//chromecast/chromecast.gni") | 6 import("//chromecast/chromecast.gni") |
| 7 | 7 |
| 8 source_set("base") { | 8 source_set("base") { |
| 9 sources = [ | 9 sources = [ |
| 10 "decrypt_context.cc", | 10 "decrypt_context.cc", |
| 11 "decrypt_context.h", | 11 "decrypt_context.h", |
| 12 "decrypt_context_clearkey.cc", | 12 "decrypt_context_clearkey.cc", |
| 13 "decrypt_context_clearkey.h", | 13 "decrypt_context_clearkey.h", |
| 14 "key_systems_common.cc", | 14 "key_systems_common.cc", |
| 15 "key_systems_common.h", | 15 "key_systems_common.h", |
| 16 "media_caps.cc", | 16 "media_caps.cc", |
| 17 "media_caps.h", | 17 "media_caps.h", |
| 18 "media_message_loop.cc", |
| 19 "media_message_loop.h", |
| 18 "switching_media_renderer.cc", | 20 "switching_media_renderer.cc", |
| 19 "switching_media_renderer.h", | 21 "switching_media_renderer.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 deps = [ | 24 deps = [ |
| 23 "//base", | 25 "//base", |
| 24 "//crypto", | 26 "//crypto", |
| 25 "//crypto:platform", | 27 "//crypto:platform", |
| 26 "//third_party/widevine/cdm:version_h", | 28 "//third_party/widevine/cdm:version_h", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 configs += [ "//chromecast:config" ] | 31 configs += [ "//chromecast:config" ] |
| 30 | 32 |
| 31 if (is_chromecast_chrome_branded) { | 33 if (is_chromecast_chrome_branded) { |
| 32 deps += [ | 34 deps += [ |
| 33 # TODO(gyp): add dependency on internal/chromecast_internal:media_base_int
ernal | 35 # TODO(gyp): add dependency on internal/chromecast_internal:media_base_int
ernal |
| 34 ] | 36 ] |
| 35 } else { | 37 } else { |
| 36 sources += [ "key_systems_common_simple.cc" ] | 38 sources += [ "key_systems_common_simple.cc" ] |
| 37 } | 39 } |
| 38 } | 40 } |
| OLD | NEW |