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