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") { |
+ 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", |
+ ] |
+} |