summaryrefslogtreecommitdiffstats
path: root/chromecast/common/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromecast/common/BUILD.gn')
-rw-r--r--chromecast/common/BUILD.gn7
1 files changed, 5 insertions, 2 deletions
diff --git a/chromecast/common/BUILD.gn b/chromecast/common/BUILD.gn
index 127823b..9c2ed7b 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",