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

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: Address linux-specific deps. 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
« no previous file with comments | « chromecast/chromecast.gni ('k') | chromecast/common/media/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/BUILD.gn
diff --git a/chromecast/common/BUILD.gn b/chromecast/common/BUILD.gn
index 127823b3c0b796dc742ead5f53dc7b218ce74172..9c2ed7b610021700b317b2c100d13477c8bc866a 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 (chromecast_branding == "public") {
+ sources += [ "platform_client_auth_simple.cc" ]
+ }
deps = [
"//base",
« no previous file with comments | « chromecast/chromecast.gni ('k') | chromecast/common/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698