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

Unified Diff: chromecast/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/BUILD.gn
diff --git a/chromecast/BUILD.gn b/chromecast/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0b6acfecd6fa4889b709635c79a6facfb0747baa
--- /dev/null
+++ b/chromecast/BUILD.gn
@@ -0,0 +1,23 @@
+# 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("//chromecast/chromecast.gni")
brettw 2015/04/21 16:39:09 Blank line before this.
prashantv 2015/04/21 18:21:35 Done.
+
+config("config") {
+ # TODO(gyp) propagate this to webkit for chromecast builds.
gunsch 2015/04/21 02:09:43 do defines propagate to all includers if they live
brettw 2015/04/21 16:39:09 These will get applied to all targets with this co
prashantv 2015/04/21 18:21:35 Yes, I was hoping to automatically propagate this
brettw 2015/04/21 19:25:12 No. The closest you can get is to add a public_con
gunsch 2015/04/21 20:58:17 Brett: we need to enable Blink logging in producti
+ defines = [ "LOG_DISABLED=0" ]
+
+ if (use_playready) {
+ defines += [ "PLAYREADY_CDM_AVAILABLE" ]
+ }
+}
+
+# TODO(gyp): Figure out how to propagate config to everything under chromecast.
gunsch 2015/04/21 02:09:43 what does this mean? do you mean that args you set
brettw 2015/04/21 16:39:09 See above, just apply the config to all the target
prashantv 2015/04/21 18:21:35 Done.
+
+component("chromecast") {
+ deps = [
+ "//chromecast/base",
+ "//chromecast/base/metrics",
+ "//chromecast/media",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698