summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiwen Zhao <zhao@google.com>2014-11-05 10:00:12 -0800
committerQiwen Zhao <zhao@google.com>2014-11-05 10:00:12 -0800
commitb6acbd7f466d0069250b075ccfc297487d291ab5 (patch)
tree5cd76377e236ebb103c88e7a8559d10cf96f81a2
parentc0e16104c505df89dec3c15088cb8f5084853210 (diff)
download22-linux-b6acbd7f466d0069250b075ccfc297487d291ab5.tar.gz
Import L Build Tools from git_lmp-mr1-release build 1566079
http://android-build/builds/git_lmp-mr1-release-linux-sdk_phone_x86-sdk/1566079/sdk-repo-linux-build-tools-1566079.zip source.properties has been modified to make this appear as API 22
-rwxr-xr-xaaptbin1242198 -> 1249680 bytes
-rwxr-xr-xbcc_compatbin33826 -> 33826 bytes
-rwxr-xr-xdexdumpbin473808 -> 473808 bytes
-rw-r--r--jack.jarbin0 -> 8640458 bytes
-rw-r--r--jill.jarbin0 -> 2948594 bytes
-rw-r--r--lib/++.sobin1311060 -> 1311060 bytes
-rw-r--r--lib/LVM.sobin22195804 -> 22195804 bytes
-rw-r--r--lib/cc.sobin298985 -> 303373 bytes
-rw-r--r--lib/cinfo.sobin802678 -> 802678 bytes
-rw-r--r--lib/dx.jarbin958047 -> 958047 bytes
-rw-r--r--lib/lang.sobin15699200 -> 15699200 bytes
-rw-r--r--lib/shrinkedAndroid.jarbin0 -> 29617 bytes
-rwxr-xr-xlibLLVM.sobin22195804 -> 22195804 bytes
-rwxr-xr-xlibbcc.sobin298985 -> 303373 bytes
-rwxr-xr-xlibbcinfo.sobin802678 -> 802678 bytes
-rw-r--r--libc++.sobin1311060 -> 1311060 bytes
-rwxr-xr-xlibclang.sobin15699200 -> 15699200 bytes
-rwxr-xr-xllvm-rs-ccbin1838262 -> 1838262 bytes
-rw-r--r--mainDexClasses158
-rw-r--r--mainDexClasses.rules27
-rw-r--r--renderscript/include/rs_allocation.rsh7
-rw-r--r--renderscript/lib/bc/armeabi-v7a/libclcore.bcbin235932 -> 237372 bytes
-rw-r--r--renderscript/lib/bc/mips/libclcore.bcbin235932 -> 237372 bytes
-rw-r--r--renderscript/lib/bc/x86/libclcore.bcbin232168 -> 233608 bytes
-rw-r--r--renderscript/lib/intermediates/armeabi-v7a/libc.sobin601616 -> 601616 bytes
-rw-r--r--renderscript/lib/intermediates/armeabi-v7a/libm.sobin95504 -> 95504 bytes
-rw-r--r--renderscript/lib/intermediates/mips/libc.sobin930771 -> 930767 bytes
-rw-r--r--renderscript/lib/intermediates/mips/libm.sobin145140 -> 145140 bytes
-rw-r--r--renderscript/lib/intermediates/x86/libc.sobin995537 -> 995537 bytes
-rw-r--r--renderscript/lib/intermediates/x86/libm.sobin132360 -> 132360 bytes
-rw-r--r--renderscript/lib/packaged/armeabi-v7a/libRSSupport.sobin415936 -> 420320 bytes
-rw-r--r--renderscript/lib/packaged/armeabi-v7a/librsjni.sobin18560 -> 18560 bytes
-rw-r--r--renderscript/lib/packaged/mips/libRSSupport.sobin583320 -> 583608 bytes
-rw-r--r--renderscript/lib/packaged/mips/librsjni.sobin71924 -> 71924 bytes
-rw-r--r--renderscript/lib/packaged/x86/libRSSupport.sobin514128 -> 518512 bytes
-rw-r--r--renderscript/lib/packaged/x86/librsjni.sobin26636 -> 26636 bytes
-rw-r--r--renderscript/lib/renderscript-v8.jarbin146272 -> 146272 bytes
-rw-r--r--source.properties2
-rwxr-xr-xzipalignbin98040 -> 98040 bytes
39 files changed, 190 insertions, 4 deletions
diff --git a/aapt b/aapt
index 5455a88..9862b71 100755
--- a/aapt
+++ b/aapt
Binary files differ
diff --git a/bcc_compat b/bcc_compat
index 5dd8193..6a3b566 100755
--- a/bcc_compat
+++ b/bcc_compat
Binary files differ
diff --git a/dexdump b/dexdump
index a1fa5ee..b2abc20 100755
--- a/dexdump
+++ b/dexdump
Binary files differ
diff --git a/jack.jar b/jack.jar
new file mode 100644
index 0000000..add4278
--- /dev/null
+++ b/jack.jar
Binary files differ
diff --git a/jill.jar b/jill.jar
new file mode 100644
index 0000000..80ff255
--- /dev/null
+++ b/jill.jar
Binary files differ
diff --git a/lib/++.so b/lib/++.so
index 447d84f..8849346 100644
--- a/lib/++.so
+++ b/lib/++.so
Binary files differ
diff --git a/lib/LVM.so b/lib/LVM.so
index cea59fc..e08357c 100644
--- a/lib/LVM.so
+++ b/lib/LVM.so
Binary files differ
diff --git a/lib/cc.so b/lib/cc.so
index 611ca00..424490f 100644
--- a/lib/cc.so
+++ b/lib/cc.so
Binary files differ
diff --git a/lib/cinfo.so b/lib/cinfo.so
index fc207b1..63d2a9a 100644
--- a/lib/cinfo.so
+++ b/lib/cinfo.so
Binary files differ
diff --git a/lib/dx.jar b/lib/dx.jar
index 0c7f80d..0d11b19 100644
--- a/lib/dx.jar
+++ b/lib/dx.jar
Binary files differ
diff --git a/lib/lang.so b/lib/lang.so
index a225c6b..9505128 100644
--- a/lib/lang.so
+++ b/lib/lang.so
Binary files differ
diff --git a/lib/shrinkedAndroid.jar b/lib/shrinkedAndroid.jar
new file mode 100644
index 0000000..b485061
--- /dev/null
+++ b/lib/shrinkedAndroid.jar
Binary files differ
diff --git a/libLLVM.so b/libLLVM.so
index cea59fc..e08357c 100755
--- a/libLLVM.so
+++ b/libLLVM.so
Binary files differ
diff --git a/libbcc.so b/libbcc.so
index 611ca00..424490f 100755
--- a/libbcc.so
+++ b/libbcc.so
Binary files differ
diff --git a/libbcinfo.so b/libbcinfo.so
index fc207b1..63d2a9a 100755
--- a/libbcinfo.so
+++ b/libbcinfo.so
Binary files differ
diff --git a/libc++.so b/libc++.so
index 447d84f..8849346 100644
--- a/libc++.so
+++ b/libc++.so
Binary files differ
diff --git a/libclang.so b/libclang.so
index a225c6b..9505128 100755
--- a/libclang.so
+++ b/libclang.so
Binary files differ
diff --git a/llvm-rs-cc b/llvm-rs-cc
index 8671e2b..fa53124 100755
--- a/llvm-rs-cc
+++ b/llvm-rs-cc
Binary files differ
diff --git a/mainDexClasses b/mainDexClasses
new file mode 100644
index 0000000..034d47e
--- /dev/null
+++ b/mainDexClasses
@@ -0,0 +1,158 @@
+#!/bin/bash
+#
+# Copyright (C) 2013 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.
+
+function makeTempJar ()
+{
+ local tempDir=/tmp
+ if [ ! -e "${tempDir}" ]; then
+ tempDir=.
+ fi
+ local tempfile="${tempDir}/mainDexClasses-$$.tmp.jar"
+ if [ -e "${tempfile}" ]; then
+ echo "Failed to create temporary file" >2
+ exit 6
+ fi
+ echo "${tempfile}"
+}
+
+function cleanTmp ()
+{
+ if [ -e "${tmpOut}" ] ; then
+ rm "${tmpOut}"
+ fi
+}
+
+
+# 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}"
+
+baserules="${progdir}"/mainDexClasses.rules
+if [ ! -r ${baserules} ]; then
+ echo `basename "$prog"`": can't find mainDexClasses.rules" 1>&2
+ exit 1
+fi
+
+jarfile=dx.jar
+libdir="$progdir"
+
+if [ ! -r "$libdir/$jarfile" ]; then
+ # set dx.jar location for the SDK case
+ libdir="$libdir/lib"
+fi
+
+
+if [ ! -r "$libdir/$jarfile" ]; then
+ # set dx.jar location for the Android tree case
+ libdir=`dirname "$progdir"`/framework
+fi
+
+if [ ! -r "$libdir/$jarfile" ]; then
+ echo `basename "$prog"`": can't find $jarfile" 1>&2
+ exit 1
+fi
+
+proguardExec="proguard.sh"
+proguard=${PROGUARD_HOME}/bin/${proguardExec}
+
+if [ ! -r "${proguard}" ]; then
+ # set proguard location for the SDK case
+ proguardBaseDir=`dirname "$progdir"`
+ # "${progdir}"/../..
+ proguardBaseDir=`dirname "$proguardBaseDir"`
+ proguard="${proguardBaseDir}"/tools/proguard/bin/${proguardExec}
+fi
+
+if [ ! -r "${proguard}" ]; then
+ # set proguard location for the Android tree case
+ proguardBaseDir=`dirname "$proguardBaseDir"`
+ # "${progdir}"/../../../..
+ proguardBaseDir=`dirname "$proguardBaseDir"`
+ proguard="${proguardBaseDir}"/external/proguard/bin/${proguardExec}
+fi
+
+if [ ! -r "${proguard}" ]; then
+ proguard="`which proguard`"
+fi
+
+if [ -z "${proguard}" -o ! -r "${proguard}" ]; then
+ proguard="`which ${proguardExec}`"
+fi
+
+if [ -z "${proguard}" -o ! -r "${proguard}" ]; then
+ echo `basename "$prog"`": can't find ${proguardExec}" 1>&2
+ exit 1
+fi
+
+shrinkedAndroidJar="${SHRINKED_ANDROID_JAR}"
+if [ -z "${shrinkedAndroidJar}" ]; then
+ shrinkedAndroidJar=shrinkedAndroid.jar
+fi
+
+if [ ! -r "${shrinkedAndroidJar}" ]; then
+ shrinkedAndroidJar=${libdir}/${shrinkedAndroidJar}
+fi
+
+if [ ! -r "${shrinkedAndroidJar}" ]; then
+ echo `basename "$prog"`": can't find shrinkedAndroid.jar" 1>&2
+ exit 1
+fi
+
+if [ "$OSTYPE" = "cygwin" ]; then
+ # For Cygwin, convert the jarfile path into native Windows style.
+ jarpath=`cygpath -w "$libdir/$jarfile"`
+ proguard=`cygpath -w "${proguard}"`
+ shrinkedAndroidJar=`cygpath -w "${shrinkedAndroidJar}"`
+else
+ jarpath="$libdir/$jarfile"
+fi
+
+if expr "x$1" : 'x--output' >/dev/null; then
+ exec 1>$2
+ shift 2
+fi
+
+if [ $# -ne 1 ]; then
+ echo "Usage : $0 [--output <output file>] <application path>" 1>&2
+ exit 2
+fi
+
+tmpOut=`makeTempJar`
+
+trap cleanTmp 0
+
+${proguard} -injars ${@} -dontwarn -forceprocessing -outjars ${tmpOut} \
+ -libraryjars "${shrinkedAndroidJar}" -dontoptimize -dontobfuscate -dontpreverify \
+ -include "${baserules}" 1>/dev/null || exit 10
+
+java -cp "$jarpath" com.android.multidex.ClassReferenceListBuilder "${tmpOut}" ${@} || exit 11
diff --git a/mainDexClasses.rules b/mainDexClasses.rules
new file mode 100644
index 0000000..af4085a
--- /dev/null
+++ b/mainDexClasses.rules
@@ -0,0 +1,27 @@
+ -keep public class * extends android.app.Instrumentation {
+ <init>();
+ }
+ -keep public class * extends android.app.Application {
+ <init>();
+ void attachBaseContext(android.content.Context);
+ }
+ -keep public class * extends android.app.Activity {
+ <init>();
+ }
+ -keep public class * extends android.app.Service {
+ <init>();
+ }
+ -keep public class * extends android.content.ContentProvider {
+ <init>();
+ }
+ -keep public class * extends android.content.BroadcastReceiver {
+ <init>();
+ }
+ -keep public class * extends android.app.backup.BackupAgent {
+ <init>();
+ }
+# We need to keep all annotation classes because proguard does not trace annotation attribute
+# it just filter the annotation attributes according to annotation classes it already kept.
+ -keep public class * extends java.lang.annotation.Annotation {
+ *;
+ }
diff --git a/renderscript/include/rs_allocation.rsh b/renderscript/include/rs_allocation.rsh
index 6f3f8d9..cdf64e8 100644
--- a/renderscript/include/rs_allocation.rsh
+++ b/renderscript/include/rs_allocation.rsh
@@ -374,8 +374,8 @@ extern const uchar __attribute__((overloadable))
#endif // (defined(RS_VERSION) && (RS_VERSION >= 18))
-
-#if (defined(RS_VERSION) && (RS_VERSION >= 999))
+// FIXME: this needs to be set to 22
+#if (defined(RS_VERSION) && (RS_VERSION >= 21))
#define VOP(T) \
extern T __attribute__((overloadable)) \
@@ -424,7 +424,8 @@ VOP(double4)
#undef VOP
-#endif //(defined(RS_VERSION) && (RS_VERSION >= 999))
+// FIXME
+#endif //(defined(RS_VERSION) && (RS_VERSION >= 21))
#endif
diff --git a/renderscript/lib/bc/armeabi-v7a/libclcore.bc b/renderscript/lib/bc/armeabi-v7a/libclcore.bc
index 34cbe63..ddb5263 100644
--- a/renderscript/lib/bc/armeabi-v7a/libclcore.bc
+++ b/renderscript/lib/bc/armeabi-v7a/libclcore.bc
Binary files differ
diff --git a/renderscript/lib/bc/mips/libclcore.bc b/renderscript/lib/bc/mips/libclcore.bc
index 34cbe63..ddb5263 100644
--- a/renderscript/lib/bc/mips/libclcore.bc
+++ b/renderscript/lib/bc/mips/libclcore.bc
Binary files differ
diff --git a/renderscript/lib/bc/x86/libclcore.bc b/renderscript/lib/bc/x86/libclcore.bc
index 76ebb47..6aa69ee 100644
--- a/renderscript/lib/bc/x86/libclcore.bc
+++ b/renderscript/lib/bc/x86/libclcore.bc
Binary files differ
diff --git a/renderscript/lib/intermediates/armeabi-v7a/libc.so b/renderscript/lib/intermediates/armeabi-v7a/libc.so
index 04aee46..03c346e 100644
--- a/renderscript/lib/intermediates/armeabi-v7a/libc.so
+++ b/renderscript/lib/intermediates/armeabi-v7a/libc.so
Binary files differ
diff --git a/renderscript/lib/intermediates/armeabi-v7a/libm.so b/renderscript/lib/intermediates/armeabi-v7a/libm.so
index 01d9d4f..96b9091 100644
--- a/renderscript/lib/intermediates/armeabi-v7a/libm.so
+++ b/renderscript/lib/intermediates/armeabi-v7a/libm.so
Binary files differ
diff --git a/renderscript/lib/intermediates/mips/libc.so b/renderscript/lib/intermediates/mips/libc.so
index e3613f6..c611d69 100644
--- a/renderscript/lib/intermediates/mips/libc.so
+++ b/renderscript/lib/intermediates/mips/libc.so
Binary files differ
diff --git a/renderscript/lib/intermediates/mips/libm.so b/renderscript/lib/intermediates/mips/libm.so
index 2d989a2..e07fe68 100644
--- a/renderscript/lib/intermediates/mips/libm.so
+++ b/renderscript/lib/intermediates/mips/libm.so
Binary files differ
diff --git a/renderscript/lib/intermediates/x86/libc.so b/renderscript/lib/intermediates/x86/libc.so
index fb51f4f..3f08c08 100644
--- a/renderscript/lib/intermediates/x86/libc.so
+++ b/renderscript/lib/intermediates/x86/libc.so
Binary files differ
diff --git a/renderscript/lib/intermediates/x86/libm.so b/renderscript/lib/intermediates/x86/libm.so
index 3b4c732..0ef13e2 100644
--- a/renderscript/lib/intermediates/x86/libm.so
+++ b/renderscript/lib/intermediates/x86/libm.so
Binary files differ
diff --git a/renderscript/lib/packaged/armeabi-v7a/libRSSupport.so b/renderscript/lib/packaged/armeabi-v7a/libRSSupport.so
index c12750f..619f5d0 100644
--- a/renderscript/lib/packaged/armeabi-v7a/libRSSupport.so
+++ b/renderscript/lib/packaged/armeabi-v7a/libRSSupport.so
Binary files differ
diff --git a/renderscript/lib/packaged/armeabi-v7a/librsjni.so b/renderscript/lib/packaged/armeabi-v7a/librsjni.so
index f376df6..4b578ee 100644
--- a/renderscript/lib/packaged/armeabi-v7a/librsjni.so
+++ b/renderscript/lib/packaged/armeabi-v7a/librsjni.so
Binary files differ
diff --git a/renderscript/lib/packaged/mips/libRSSupport.so b/renderscript/lib/packaged/mips/libRSSupport.so
index d195cb7..e59849f 100644
--- a/renderscript/lib/packaged/mips/libRSSupport.so
+++ b/renderscript/lib/packaged/mips/libRSSupport.so
Binary files differ
diff --git a/renderscript/lib/packaged/mips/librsjni.so b/renderscript/lib/packaged/mips/librsjni.so
index 54e0e11..99c8af7 100644
--- a/renderscript/lib/packaged/mips/librsjni.so
+++ b/renderscript/lib/packaged/mips/librsjni.so
Binary files differ
diff --git a/renderscript/lib/packaged/x86/libRSSupport.so b/renderscript/lib/packaged/x86/libRSSupport.so
index a50fbd9..db3bfe4 100644
--- a/renderscript/lib/packaged/x86/libRSSupport.so
+++ b/renderscript/lib/packaged/x86/libRSSupport.so
Binary files differ
diff --git a/renderscript/lib/packaged/x86/librsjni.so b/renderscript/lib/packaged/x86/librsjni.so
index 5a5bb7f..31e8f35 100644
--- a/renderscript/lib/packaged/x86/librsjni.so
+++ b/renderscript/lib/packaged/x86/librsjni.so
Binary files differ
diff --git a/renderscript/lib/renderscript-v8.jar b/renderscript/lib/renderscript-v8.jar
index 47a085c..2775a13 100644
--- a/renderscript/lib/renderscript-v8.jar
+++ b/renderscript/lib/renderscript-v8.jar
Binary files differ
diff --git a/source.properties b/source.properties
index 1701228..8e459d7 100644
--- a/source.properties
+++ b/source.properties
@@ -1,5 +1,5 @@
Pkg.UserSrc=false
-//Pkg.Revision=21.0.0
+//Pkg.Revision=22.1.1
Archive.Os=LINUX
Pkg.Revision=22.0.0
diff --git a/zipalign b/zipalign
index 8c6173f..f38d980 100755
--- a/zipalign
+++ b/zipalign
Binary files differ