#! /bin/sh # Copyright (C) 2020 The Android Open Source Project
java.lang.NullPointerException # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at
java.lang.NullPointerException # http://www.apache.org/licenses/LICENSE-2.0
java.lang.NullPointerException # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License.
# This script is used on host and device. It uses a common subset # shell dialect that should work on the host (e.g. bash), and # Android (e.g. mksh). Try to switch to bash if the shebang above # has launched a pessimal shell on host. if [ -z "$KSH_VERSION" -a -z "$BASH_VERSION" -a -n "$(which bash)" ]; then
exec bash -c ". $0" -- "$@"
fi
# The purpose of this script is to invoke dex2oat with the right # boot classpath and bootclasspath locations.
# Follow all sym links to get the program name. if [[ -n "$BASH_SOURCE" ]]; then
PROG_NAME="$BASH_SOURCE" else
PROG_NAME="$0"
fi while [ -h "$PROG_NAME" ]; do # On Mac OS, readlink -f doesn't work.
PROG_NAME="$(readlink "$PROG_NAME")"
done
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.