1*3c875a21SAndroid Build Coastguard Worker#!/bin/bash 2*3c875a21SAndroid Build Coastguard Worker# 3*3c875a21SAndroid Build Coastguard Worker# Copyright (C) 2007 The Android Open Source Project 4*3c875a21SAndroid Build Coastguard Worker# 5*3c875a21SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 6*3c875a21SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 7*3c875a21SAndroid Build Coastguard Worker# You may obtain a copy of the License at 8*3c875a21SAndroid Build Coastguard Worker# 9*3c875a21SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 10*3c875a21SAndroid Build Coastguard Worker# 11*3c875a21SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 12*3c875a21SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 13*3c875a21SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*3c875a21SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 15*3c875a21SAndroid Build Coastguard Worker# limitations under the License. 16*3c875a21SAndroid Build Coastguard Worker 17*3c875a21SAndroid Build Coastguard Workerset -e 18*3c875a21SAndroid Build Coastguard Worker 19*3c875a21SAndroid Build Coastguard Worker# We don't change directory because relative paths passed as arguments should be 20*3c875a21SAndroid Build Coastguard Worker# resolved relative to the user's CWD. If we don't do that, tab completion won't 21*3c875a21SAndroid Build Coastguard Worker# work, and there are few things worse in life than bad tab completion. 22*3c875a21SAndroid Build Coastguard WorkerTHIS_DIR=$(dirname "$0") 23*3c875a21SAndroid Build Coastguard WorkerTOP=$THIS_DIR/../.. 24*3c875a21SAndroid Build Coastguard Worker$TOP/build/soong/soong_ui.bash --make-mode external_updater 25*3c875a21SAndroid Build Coastguard Worker$TOP/out/host/linux-x86/bin/external_updater $@ 26