xref: /aosp_15_r20/prebuilts/clang-tools/build-prebuilts.sh (revision bed243d3d9cd544cfb038bfa7be843dedc6e6bf7)
1*bed243d3SAndroid Build Coastguard Worker#!/bin/bash -ex
2*bed243d3SAndroid Build Coastguard Worker
3*bed243d3SAndroid Build Coastguard Worker# Copyright 2019 Google Inc. All rights reserved.
4*bed243d3SAndroid Build Coastguard Worker#
5*bed243d3SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
6*bed243d3SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
7*bed243d3SAndroid Build Coastguard Worker# You may obtain a copy of the License at
8*bed243d3SAndroid Build Coastguard Worker#
9*bed243d3SAndroid Build Coastguard Worker#     http://www.apache.org/licenses/LICENSE-2.0
10*bed243d3SAndroid Build Coastguard Worker#
11*bed243d3SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
12*bed243d3SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
13*bed243d3SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*bed243d3SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
15*bed243d3SAndroid Build Coastguard Worker# limitations under the License.
16*bed243d3SAndroid Build Coastguard Worker
17*bed243d3SAndroid Build Coastguard WorkerTOP="$(cd "$(dirname "$0")/../.."; pwd)"
18*bed243d3SAndroid Build Coastguard Worker
19*bed243d3SAndroid Build Coastguard Workerexec \
20*bed243d3SAndroid Build Coastguard Worker    "${TOP}/development/vndk/tools/header-checker/android/build-prebuilts.sh" \
21*bed243d3SAndroid Build Coastguard Worker    "$@"
22