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..db7d8d8a4edcc42fd4cc3a3563758fa8c8f0a8fc |
--- /dev/null |
+++ b/chromecast/media/base/BUILD.gn |
@@ -0,0 +1,37 @@ |
+# 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") |
gunsch
2015/04/21 02:09:43
nit: blank line above
prashantv
2015/04/21 18:21:36
Done.
|
+import("//chromecast/chromecast.gni") |
+ |
+component("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 (chromecast_branding == "Chrome") { |
+ deps += [ |
+ # TODO(gyp): add dependency on internal/chromecast_internal:media_base_internal |
+ ] |
+ } else { |
+ sources += [ "key_systems_common_simple.cc" ] |
+ } |
+} |