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

Unified Diff: chromecast/base/BUILD.gn

Issue 2282263002: [Chromecast] Set the cast_product_type to the correct value on Android. (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/BUILD.gn
diff --git a/chromecast/base/BUILD.gn b/chromecast/base/BUILD.gn
index b807ad8ed494df7e0cf340779ee659b51a2579f4..9c644b3ab170aa38ae720b7c804ad9c3868b9ada 100644
--- a/chromecast/base/BUILD.gn
+++ b/chromecast/base/BUILD.gn
@@ -13,7 +13,12 @@ if (is_android) {
declare_args() {
slan 2016/08/29 03:11:20 Simeon, I take back my earlier comment, could we d
# Denotes the type of Cast product. This is #defined as CAST_PRODUCT_TYPE in
# version.h. This is an integer in the range [0-4].
- cast_product_type = 0
+ cast_product_type = -1
+}
+
+if (is_android) {
+ assert(cast_product_type == -1)
+ cast_product_type = 4
}
assert(cast_product_type >= 0 && cast_product_type <= 4)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698