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