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

Unified Diff: chromecast/renderer/BUILD.gn

Issue 1213333003: Build public cast_shell on x86 with GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove dup include. Created 5 years, 4 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/renderer/BUILD.gn
diff --git a/chromecast/renderer/BUILD.gn b/chromecast/renderer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2616e4fcf5ef0704830cc2b12ca2240b761ff148
--- /dev/null
+++ b/chromecast/renderer/BUILD.gn
@@ -0,0 +1,46 @@
+# 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")
+
+source_set("renderer") {
+ sources = [
+ "cast_content_renderer_client.cc",
+ "cast_content_renderer_client.h",
+ "cast_media_load_deferrer.cc",
+ "cast_media_load_deferrer.h",
+ "cast_render_process_observer.cc",
+ "cast_render_process_observer.h",
+ "key_systems_cast.cc",
+ "key_systems_cast.h",
+
+ # TODO(slan): Can these be added into "//chromecast/renderer/media"?
gunsch 2015/08/05 02:04:11 I don't understand, why can't they already? ISTM l
slan 2015/08/05 14:34:58 Huh. You're correct. Moved.
+ "media/capabilities_message_filter.cc",
+ "media/capabilities_message_filter.h",
+ ]
+
+ if (chromecast_branding == "public") {
+ sources += [ "cast_content_renderer_client_simple.cc" ]
+ }
+
+ public_deps = [
+ "//chromecast/renderer/media",
gunsch 2015/08/05 02:04:10 Note: this and other media deps should only be her
slan 2015/08/05 14:34:58 Noted. I've added a (!is_android) conditional. I w
+ ]
+
+ deps = [
+ "//base",
+ "//chromecast/base",
+ "//chromecast/crash",
+ "//chromecast/common/media",
+ "//chromecast/media",
+ "//components/cdm/renderer",
+ "//components/network_hints/renderer",
+ "//content/public/common",
+ "//content/public/renderer",
+ "//crypto",
+ "//ipc",
+ "//media",
+ "//third_party/widevine/cdm:version_h",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698