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

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: Modifies gn args to make cast_shell run! Created 5 years, 5 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..8dd04511690f5f90f3b09f59fc01e575b8f982ab
--- /dev/null
+++ b/chromecast/renderer/BUILD.gn
@@ -0,0 +1,72 @@
+# 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 ":media"?
+ "media/capabilities_message_filter.cc",
+ "media/capabilities_message_filter.h",
+ ]
+
+ if (!is_chromecast_chrome_branded) {
+ sources += [ "cast_content_renderer_client_simple.cc" ]
+ }
+
+ public_deps = [
+ ":media",
+ ]
+
+ 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",
+ ]
+}
+
+source_set("media") {
+ sources = [
+ "media/audio_pipeline_proxy.cc",
+ "media/audio_pipeline_proxy.h",
+ "media/chromecast_media_renderer_factory.cc",
+ "media/chromecast_media_renderer_factory.h",
+ "media/cma_message_filter_proxy.cc",
+ "media/cma_message_filter_proxy.h",
+ "media/media_channel_proxy.cc",
+ "media/media_channel_proxy.h",
+ "media/media_pipeline_proxy.cc",
+ "media/media_pipeline_proxy.h",
+ "media/video_pipeline_proxy.cc",
+ "media/video_pipeline_proxy.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chromecast/common:media",
+ "//chromecast/media",
+ "//content/public/renderer",
+ "//ipc",
+ "//media",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698