1ba6af7180d585e12582746a4f410c4884e70af13Alex Light#!/bin/bash
2ba6af7180d585e12582746a4f410c4884e70af13Alex Light#
3ba6af7180d585e12582746a4f410c4884e70af13Alex Light# Copyright 2016 The Android Open Source Project
4ba6af7180d585e12582746a4f410c4884e70af13Alex Light#
5ba6af7180d585e12582746a4f410c4884e70af13Alex Light# Licensed under the Apache License, Version 2.0 (the "License");
6ba6af7180d585e12582746a4f410c4884e70af13Alex Light# you may not use this file except in compliance with the License.
7ba6af7180d585e12582746a4f410c4884e70af13Alex Light# You may obtain a copy of the License at
8ba6af7180d585e12582746a4f410c4884e70af13Alex Light#
9ba6af7180d585e12582746a4f410c4884e70af13Alex Light#      http://www.apache.org/licenses/LICENSE-2.0
10ba6af7180d585e12582746a4f410c4884e70af13Alex Light#
11ba6af7180d585e12582746a4f410c4884e70af13Alex Light# Unless required by applicable law or agreed to in writing, software
12ba6af7180d585e12582746a4f410c4884e70af13Alex Light# distributed under the License is distributed on an "AS IS" BASIS,
13ba6af7180d585e12582746a4f410c4884e70af13Alex Light# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14ba6af7180d585e12582746a4f410c4884e70af13Alex Light# See the License for the specific language governing permissions and
15ba6af7180d585e12582746a4f410c4884e70af13Alex Light# limitations under the License.
16ba6af7180d585e12582746a4f410c4884e70af13Alex Light
17ba6af7180d585e12582746a4f410c4884e70af13Alex Light# Make us exit on a failure.
18ba6af7180d585e12582746a4f410c4884e70af13Alex Lightset -e
19ba6af7180d585e12582746a4f410c4884e70af13Alex Light
20ba6af7180d585e12582746a4f410c4884e70af13Alex Light# Hard-wired use of experimental jack.
21ba6af7180d585e12582746a4f410c4884e70af13Alex Light# TODO: fix this temporary work-around for lambdas, see b/19467889
22ba6af7180d585e12582746a4f410c4884e70af13Alex Lightexport USE_JACK=true
23ba6af7180d585e12582746a4f410c4884e70af13Alex Light
24ba6af7180d585e12582746a4f410c4884e70af13Alex Light./default-build "$@" --experimental default-methods
25