OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 declare_args() { | 5 declare_args() { |
6 # The channel to build on Android: stable, beta, dev, canary, or default. | 6 # The channel to build on Android: stable, beta, dev, canary, or default. |
7 # "default" should be used on non-official builds. | 7 # "default" should be used on non-official builds. |
8 android_channel = "default" | 8 android_channel = "default" |
9 } | 9 } |
10 | 10 |
11 assert(android_channel == "default" || | 11 assert(android_channel == "default" || android_channel == "canary" || |
12 android_channel == "canary" || | 12 android_channel == "dev" || android_channel == "beta" || |
13 android_channel == "dev" || | 13 android_channel == "stable", |
14 android_channel == "beta" || | |
15 android_channel == "stable", | |
16 "Invalid channel: " + android_channel) | 14 "Invalid channel: " + android_channel) |
OLD | NEW |