build revision 000e1885701c8fdad07a784e3771881fa9be1d8a
1000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath#!/bin/bash 2000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# 3000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# Copyright 2016 The Android Open Source Project 4000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# 5000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# Licensed under the Apache License, Version 2.0 (the "License"); 6000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# you may not use this file except in compliance with the License. 7000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# You may obtain a copy of the License at 8000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# 9000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# http://www.apache.org/licenses/LICENSE-2.0 10000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# 11000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# Unless required by applicable law or agreed to in writing, software 12000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# distributed under the License is distributed on an "AS IS" BASIS, 13000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# See the License for the specific language governing permissions and 15000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# limitations under the License. 16000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath 17000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath# make us exit on a failure 18000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamathset -e 19000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath 20000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamathif [[ $@ != *"--jvm"* ]]; then 21000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath # Don't do anything with jvm. 22000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath export USE_JACK=true 23000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamathfi 24000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath 25000e1885701c8fdad07a784e3771881fa9be1d8aNarayan Kamath./default-build "$@" --experimental method-handles 26