Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3496)

Unified Diff: chromecast/media/base/BUILD.gn

Issue 1055173005: Add BUILD.gn files for chromecast/media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698