| Index: chromecast/media/base/BUILD.gn
|
| diff --git a/chromecast/media/base/BUILD.gn b/chromecast/media/base/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..64992f331f293ea83cd3c58a21df6ed644959c68
|
| --- /dev/null
|
| +++ b/chromecast/media/base/BUILD.gn
|
| @@ -0,0 +1,38 @@
|
| +# Copyright 2015 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/crypto.gni")
|
| +import("//chromecast/chromecast.gni")
|
| +
|
| +source_set("base") {
|
| + sources = [
|
| + "decrypt_context.cc",
|
| + "decrypt_context.h",
|
| + "decrypt_context_clearkey.cc",
|
| + "decrypt_context_clearkey.h",
|
| + "key_systems_common.cc",
|
| + "key_systems_common.h",
|
| + "media_caps.cc",
|
| + "media_caps.h",
|
| + "switching_media_renderer.cc",
|
| + "switching_media_renderer.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//crypto",
|
| + "//crypto:platform",
|
| + "//third_party/widevine/cdm:version_h",
|
| + ]
|
| +
|
| + configs += [ "//chromecast:config" ]
|
| +
|
| + if (is_chromecast_chrome_branded) {
|
| + deps += [
|
| + # TODO(gyp): add dependency on internal/chromecast_internal:media_base_internal
|
| + ]
|
| + } else {
|
| + sources += [ "key_systems_common_simple.cc" ]
|
| + }
|
| +}
|
|
|