Chromium Code Reviews| 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) |