Skip to content

Commit 24f6249

Browse files
committed
cambios para compilacion local
1 parent b121ea5 commit 24f6249

File tree

11,257 files changed

+697653
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,257 files changed

+697653
-42
lines changed

step-to-sign-app/android_sdk/build-tools/34.0.0/NOTICE.txt

Lines changed: 20418 additions & 0 deletions
Large diffs are not rendered by default.
1.45 MB
Binary file not shown.
5.79 MB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This dummy file substitutes for an old linker that used to be at its location.
2+
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
3+
(which they would not if the file were removed).
4+
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
5+
but everything else should work.
4.53 MB
Binary file not shown.
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (C) 2016 The Android Open Source Project
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Set up prog to be the path of this script, including following symlinks,
18+
# and set up progdir to be the fully-qualified pathname of its directory.
19+
prog="$0"
20+
while [ -h "${prog}" ]; do
21+
newProg=`/bin/ls -ld "${prog}"`
22+
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23+
if expr "x${newProg}" : 'x/' >/dev/null; then
24+
prog="${newProg}"
25+
else
26+
progdir=`dirname "${prog}"`
27+
prog="${progdir}/${newProg}"
28+
fi
29+
done
30+
oldwd=`pwd`
31+
progdir=`dirname "${prog}"`
32+
cd "${progdir}"
33+
progdir=`pwd`
34+
prog="${progdir}"/`basename "${prog}"`
35+
cd "${oldwd}"
36+
37+
jarfile=apksigner.jar
38+
libdir="$progdir"
39+
40+
if [ ! -r "$libdir/$jarfile" ]; then
41+
# set apksigner.jar location for the SDK case
42+
libdir="$libdir/lib"
43+
fi
44+
45+
46+
if [ ! -r "$libdir/$jarfile" ]; then
47+
# set apksigner.jar location for the Android tree case
48+
libdir=`dirname "$progdir"`/framework
49+
# also include the library directory for any provider native libraries
50+
providerLibdir=`dirname "$progdir"`/lib64
51+
fi
52+
53+
if [ ! -r "$libdir/$jarfile" ]; then
54+
echo `basename "$prog"`": can't find $jarfile"
55+
exit 1
56+
fi
57+
58+
# By default, give apksigner a max heap size of 1 gig. This can be overridden
59+
# by using a "-J" option (see below).
60+
defaultMx="-Xmx1024M"
61+
62+
# The following will extract any initial parameters of the form
63+
# "-J<stuff>" from the command line and pass them to the Java
64+
# invocation (instead of to apksigner). This makes it possible for you to add
65+
# a command-line parameter such as "-JXmx256M" in your scripts, for
66+
# example. "java" (with no args) and "java -X" give a summary of
67+
# available options.
68+
69+
javaOpts=""
70+
71+
while expr "x$1" : 'x-J' >/dev/null; do
72+
opt=`expr "x$1" : 'x-J\(.*\)'`
73+
javaOpts="${javaOpts} -${opt}"
74+
if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
75+
defaultMx="no"
76+
elif expr "x${opt}" : "xDjava.library.path=" >/dev/null; then
77+
defaultLibdir="no"
78+
fi
79+
shift
80+
done
81+
82+
if [ "${defaultMx}" != "no" ]; then
83+
javaOpts="${javaOpts} ${defaultMx}"
84+
fi
85+
86+
if [ "${defaultLibdir}" != "no" ] && [ -n $providerLibdir ]; then
87+
javaOpts="${javaOpts} -Djava.library.path=$providerLibdir"
88+
fi
89+
90+
if [ "$OSTYPE" = "cygwin" ]; then
91+
# For Cygwin, convert the jarfile path into native Windows style.
92+
jarpath=`cygpath -w "$libdir/$jarfile"`
93+
else
94+
jarpath="$libdir/$jarfile"
95+
fi
96+
97+
exec java $javaOpts -jar "$jarpath" "$@"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This dummy file substitutes for an old linker that used to be at its location.
2+
The presence of this file ensures that old versions of AGP continue to trust build tools integrity
3+
(which they would not if the file were removed).
4+
Old versions of AGP will not be able to do compatibility mode RenderScript builds,
5+
but everything else should work.
37.9 KB
Binary file not shown.
Binary file not shown.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (C) 2017 The Android Open Source Project
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Set up prog to be the path of this script, including following symlinks,
18+
# and set up progdir to be the fully-qualified pathname of its directory.
19+
prog="$0"
20+
while [ -h "${prog}" ]; do
21+
newProg=`/bin/ls -ld "${prog}"`
22+
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23+
if expr "x${newProg}" : 'x/' >/dev/null; then
24+
prog="${newProg}"
25+
else
26+
progdir=`dirname "${prog}"`
27+
prog="${progdir}/${newProg}"
28+
fi
29+
done
30+
oldwd=`pwd`
31+
progdir=`dirname "${prog}"`
32+
cd "${progdir}"
33+
progdir=`pwd`
34+
prog="${progdir}"/`basename "${prog}"`
35+
cd "${oldwd}"
36+
37+
jarfile=d8.jar
38+
libdir="$progdir"
39+
mainClass="com.android.tools.r8.D8"
40+
41+
if [ ! -r "$libdir/$jarfile" ]; then
42+
# set d8.jar location for the SDK case
43+
libdir="$libdir/lib"
44+
fi
45+
46+
47+
if [ ! -r "$libdir/$jarfile" ]; then
48+
# set d8.jar location for the Android tree case
49+
libdir=`dirname "$progdir"`/framework
50+
mainClass="com.android.tools.r8wrappers.D8Wrapper"
51+
fi
52+
53+
if [ ! -r "$libdir/$jarfile" ]; then
54+
echo `basename "$prog"`": can't find $jarfile"
55+
exit 1
56+
fi
57+
58+
# By default, give d8 a max heap size of 2 gigs. This can be overridden
59+
# by using a "-J" option (see below).
60+
defaultMx="-Xmx2G"
61+
62+
# The following will extract any initial parameters of the form
63+
# "-J<stuff>" from the command line and pass them to the Java
64+
# invocation (instead of to d8). This makes it possible for you to add
65+
# a command-line parameter such as "-JXmx256M" in your scripts, for
66+
# example. "java" (with no args) and "java -X" give a summary of
67+
# available options.
68+
69+
declare -a javaOpts=()
70+
71+
while expr "x$1" : 'x-J' >/dev/null; do
72+
opt=`expr "x$1" : 'x-J\(.*\)'`
73+
javaOpts+=("-${opt}")
74+
if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
75+
defaultMx="no"
76+
fi
77+
shift
78+
done
79+
80+
if [ "${defaultMx}" != "no" ]; then
81+
javaOpts+=("${defaultMx}")
82+
fi
83+
84+
if [ "$OSTYPE" = "cygwin" ]; then
85+
# For Cygwin, convert the jarfile path into native Windows style.
86+
jarpath=`cygpath -w "$libdir/$jarfile"`
87+
else
88+
jarpath="$libdir/$jarfile"
89+
fi
90+
91+
exec java "${javaOpts[@]}" -cp "$jarpath" "$mainClass" "$@"

0 commit comments

Comments
 (0)