Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions android-sdk/.knownPackages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/���cV5l�!�5���
20,418 changes: 20,418 additions & 0 deletions android-sdk/build-tools/34.0.0/NOTICE.txt

Large diffs are not rendered by default.

Binary file added android-sdk/build-tools/34.0.0/aapt
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/aapt2
Binary file not shown.
5 changes: 5 additions & 0 deletions android-sdk/build-tools/34.0.0/aarch64-linux-android-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This dummy file substitutes for an old linker that used to be at its location.
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
(which they would not if the file were removed).
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
but everything else should work.
Binary file added android-sdk/build-tools/34.0.0/aidl
Binary file not shown.
97 changes: 97 additions & 0 deletions android-sdk/build-tools/34.0.0/apksigner
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
#!/bin/bash
#
# Copyright (C) 2016 The Android Open Source Project
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

# Set up prog to be the path of this script, including following symlinks,
# and set up progdir to be the fully-qualified pathname of its directory.
prog="$0"
while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"`
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
if expr "x${newProg}" : 'x/' >/dev/null; then
prog="${newProg}"
else
progdir=`dirname "${prog}"`
prog="${progdir}/${newProg}"
fi
done
oldwd=`pwd`
progdir=`dirname "${prog}"`
cd "${progdir}"
progdir=`pwd`
prog="${progdir}"/`basename "${prog}"`
cd "${oldwd}"

jarfile=apksigner.jar
libdir="$progdir"

if [ ! -r "$libdir/$jarfile" ]; then
# set apksigner.jar location for the SDK case
libdir="$libdir/lib"
fi


if [ ! -r "$libdir/$jarfile" ]; then
# set apksigner.jar location for the Android tree case
libdir=`dirname "$progdir"`/framework
# also include the library directory for any provider native libraries
providerLibdir=`dirname "$progdir"`/lib64
fi

if [ ! -r "$libdir/$jarfile" ]; then
echo `basename "$prog"`": can't find $jarfile"
exit 1
fi

# By default, give apksigner a max heap size of 1 gig. This can be overridden
# by using a "-J" option (see below).
defaultMx="-Xmx1024M"

# The following will extract any initial parameters of the form
# "-J<stuff>" from the command line and pass them to the Java
# invocation (instead of to apksigner). This makes it possible for you to add
# a command-line parameter such as "-JXmx256M" in your scripts, for
# example. "java" (with no args) and "java -X" give a summary of
# available options.

javaOpts=""

while expr "x$1" : 'x-J' >/dev/null; do
opt=`expr "x$1" : 'x-J\(.*\)'`
javaOpts="${javaOpts} -${opt}"
if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
defaultMx="no"
elif expr "x${opt}" : "xDjava.library.path=" >/dev/null; then
defaultLibdir="no"
fi
shift
done

if [ "${defaultMx}" != "no" ]; then
javaOpts="${javaOpts} ${defaultMx}"
fi

if [ "${defaultLibdir}" != "no" ] && [ -n $providerLibdir ]; then
javaOpts="${javaOpts} -Djava.library.path=$providerLibdir"
fi

if [ "$OSTYPE" = "cygwin" ]; then
# For Cygwin, convert the jarfile path into native Windows style.
jarpath=`cygpath -w "$libdir/$jarfile"`
else
jarpath="$libdir/$jarfile"
fi

exec java $javaOpts -jar "$jarpath" "$@"
5 changes: 5 additions & 0 deletions android-sdk/build-tools/34.0.0/arm-linux-androideabi-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This dummy file substitutes for an old linker that used to be at its location.
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
(which they would not if the file were removed).
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
but everything else should work.
Binary file added android-sdk/build-tools/34.0.0/bcc_compat
Binary file not shown.
Binary file not shown.
91 changes: 91 additions & 0 deletions android-sdk/build-tools/34.0.0/d8
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
#!/bin/bash
#
# Copyright (C) 2017 The Android Open Source Project
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

# Set up prog to be the path of this script, including following symlinks,
# and set up progdir to be the fully-qualified pathname of its directory.
prog="$0"
while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"`
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
if expr "x${newProg}" : 'x/' >/dev/null; then
prog="${newProg}"
else
progdir=`dirname "${prog}"`
prog="${progdir}/${newProg}"
fi
done
oldwd=`pwd`
progdir=`dirname "${prog}"`
cd "${progdir}"
progdir=`pwd`
prog="${progdir}"/`basename "${prog}"`
cd "${oldwd}"

jarfile=d8.jar
libdir="$progdir"
mainClass="com.android.tools.r8.D8"

if [ ! -r "$libdir/$jarfile" ]; then
# set d8.jar location for the SDK case
libdir="$libdir/lib"
fi


if [ ! -r "$libdir/$jarfile" ]; then
# set d8.jar location for the Android tree case
libdir=`dirname "$progdir"`/framework
mainClass="com.android.tools.r8wrappers.D8Wrapper"
fi

if [ ! -r "$libdir/$jarfile" ]; then
echo `basename "$prog"`": can't find $jarfile"
exit 1
fi

# By default, give d8 a max heap size of 2 gigs. This can be overridden
# by using a "-J" option (see below).
defaultMx="-Xmx2G"

# The following will extract any initial parameters of the form
# "-J<stuff>" from the command line and pass them to the Java
# invocation (instead of to d8). This makes it possible for you to add
# a command-line parameter such as "-JXmx256M" in your scripts, for
# example. "java" (with no args) and "java -X" give a summary of
# available options.

declare -a javaOpts=()

while expr "x$1" : 'x-J' >/dev/null; do
opt=`expr "x$1" : 'x-J\(.*\)'`
javaOpts+=("-${opt}")
if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
defaultMx="no"
fi
shift
done

if [ "${defaultMx}" != "no" ]; then
javaOpts+=("${defaultMx}")
fi

if [ "$OSTYPE" = "cygwin" ]; then
# For Cygwin, convert the jarfile path into native Windows style.
jarpath=`cygpath -w "$libdir/$jarfile"`
else
jarpath="$libdir/$jarfile"
fi

exec java "${javaOpts[@]}" -cp "$jarpath" "$mainClass" "$@"
Binary file added android-sdk/build-tools/34.0.0/dexdump
Binary file not shown.
5 changes: 5 additions & 0 deletions android-sdk/build-tools/34.0.0/i686-linux-android-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This dummy file substitutes for an old linker that used to be at its location.
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
(which they would not if the file were removed).
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
but everything else should work.
Binary file added android-sdk/build-tools/34.0.0/lib/apksigner.jar
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/lib/d8.jar
Binary file not shown.
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/lib64/libbcc.so
Binary file not shown.
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/lib64/libc++.so
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/lib64/libc++.so.1
Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 17 additions & 0 deletions android-sdk/build-tools/34.0.0/lld
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
#
# Copyright (C) 2020 The Android Open Source Project
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

$(dirname "$0")/lld-bin/lld "$@"
Binary file added android-sdk/build-tools/34.0.0/lld-bin/lld
Binary file not shown.
Binary file added android-sdk/build-tools/34.0.0/llvm-rs-cc
Binary file not shown.
5 changes: 5 additions & 0 deletions android-sdk/build-tools/34.0.0/mipsel-linux-android-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This dummy file substitutes for an old linker that used to be at its location.
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
(which they would not if the file were removed).
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
but everything else should work.
Loading