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

Unified Diff: chromecast/common/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 hack regarding Pepper plugins. 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/common/BUILD.gn
diff --git a/chromecast/common/BUILD.gn b/chromecast/common/BUILD.gn
index 127823b3c0b796dc742ead5f53dc7b218ce74172..ce675fcb602b597ff41cf43dcaca872bb82305ec 100644
--- a/chromecast/common/BUILD.gn
+++ b/chromecast/common/BUILD.gn
@@ -2,6 +2,8 @@
# 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("common") {
sources = [
"cast_content_client.cc",
@@ -14,8 +16,9 @@ source_set("common") {
"pref_names.h",
]
- # TODO(kmackay) Add "platform_client_auth._simple.cc" to sources
- # if chromecast_branding != "Chrome"
+ if (!is_chromecast_chrome_branded) {
+ sources += [ "platform_client_auth_simple.cc" ]
+ }
deps = [
"//base",
@@ -25,3 +28,31 @@ source_set("common") {
"//ui/gfx",
]
}
+
+source_set("media") {
mbjorge 2015/08/04 18:10:54 Why not put this in chromecast/common/media/BUILD.
slan 2015/08/04 21:22:05 See my response to the other comment. It does not
+ sources = [
+ "media/cast_message_generator.cc",
+ "media/cast_message_generator.h",
+ "media/cast_messages.h",
+ "media/cma_ipc_common.h",
+ "media/cma_message_generator.cc",
+ "media/cma_message_generator.h",
+ "media/cma_messages.h",
+ "media/cma_messages.h",
+ "media/cma_param_traits.cc",
+ "media/cma_param_traits.h",
+ "media/cma_param_traits_macros.h",
+ "media/shared_memory_chunk.cc",
+ "media/shared_memory_chunk.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chromecast/media",
+ "//content/public/common",
+ "//ipc",
+ "//media",
+ "//media:shared_memory_support",
+ "//ui/gfx/ipc",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698