124e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler#!/bin/bash 224e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# 324e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# Copyright (C) 2014 The Android Open Source Project 424e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# 524e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# Licensed under the Apache License, Version 2.0 (the "License"); 624e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# you may not use this file except in compliance with the License. 724e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# You may obtain a copy of the License at 824e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# 924e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# http://www.apache.org/licenses/LICENSE-2.0 1024e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# 1124e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# Unless required by applicable law or agreed to in writing, software 1224e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# distributed under the License is distributed on an "AS IS" BASIS, 1324e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1424e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# See the License for the specific language governing permissions and 1524e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# limitations under the License. 1624e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler 1724e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beylerflags="${@}" 1824e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler 1924e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler# Make sure we cannot run without an oat file without fallback. 2024e04aa68c575d349eac0d9d09aab9bd3106ef94Jean Christophe Beyler${RUN} ${flags} --runtime-option -Xnodex2oat --runtime-option -Xno-dex-file-fallback 21