summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-29 01:19:52 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-01-29 01:19:52 +0100
commit0d993f6c15a175c91e09065f83b8913fadc7688c (patch)
treebf89feaf0b6ad4f40ea3f4bf22b956b3356a17f5
parenta5bb76a8bf43f9a0a0c22c6c68df66d489d17d70 (diff)
downloadprebuilts_sdk-0d993f6c15a175c91e09065f83b8913fadc7688c.zip
prebuilts_sdk-0d993f6c15a175c91e09065f83b8913fadc7688c.tar.gz
prebuilts_sdk-0d993f6c15a175c91e09065f83b8913fadc7688c.tar.bz2
they are build from source Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--tools/Android.mk367
-rwxr-xr-xtools/darwin/bin/aaptbin1163796 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/acpbin22944 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/aidlbin282416 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/arm-linux-androideabi-ldbin5165344 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/bcc_compatbin38156 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/i686-linux-android-ldbin5165344 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/llvm-rs-ccbin693952 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/mipsel-linux-android-ldbin1938812 -> 0 bytes
-rwxr-xr-xtools/darwin/bin/zipalignbin98732 -> 0 bytes
-rwxr-xr-xtools/darwin/lib/libc++.dylibbin1464932 -> 0 bytes
-rwxr-xr-xtools/darwin/lib64/libLLVM.dylibbin31613512 -> 0 bytes
-rwxr-xr-xtools/darwin/lib64/libbcc.dylibbin389128 -> 0 bytes
-rwxr-xr-xtools/darwin/lib64/libbcinfo.dylibbin459840 -> 0 bytes
-rwxr-xr-xtools/darwin/lib64/libc++.dylibbin1496200 -> 0 bytes
-rwxr-xr-xtools/darwin/lib64/libclang.dylibbin21239160 -> 0 bytes
-rwxr-xr-xtools/dx89
-rwxr-xr-xtools/jack184
-rwxr-xr-xtools/jack-admin169
-rw-r--r--tools/jack-launcher.jarbin27766 -> 0 bytes
-rw-r--r--tools/jack.jarbin9448185 -> 0 bytes
-rw-r--r--tools/jill.jarbin3238087 -> 0 bytes
-rw-r--r--tools/lib/androidprefs.jarbin2507 -> 0 bytes
-rw-r--r--tools/lib/asm-4.0.jarbin46018 -> 0 bytes
-rw-r--r--tools/lib/asm-tree-4.0.jarbin21980 -> 0 bytes
-rw-r--r--tools/lib/common.jarbin39115 -> 0 bytes
-rw-r--r--tools/lib/dx.jarbin958047 -> 0 bytes
-rw-r--r--tools/lib/guava-10.0.1.jarbin1501575 -> 0 bytes
-rw-r--r--tools/lib/lint.jarbin1634561 -> 0 bytes
-rw-r--r--tools/lib/lint_api.jarbin1670952 -> 0 bytes
-rw-r--r--tools/lib/lint_checks.jarbin1780569 -> 0 bytes
-rw-r--r--tools/lib/lombok-ast-0.2.jarbin1056571 -> 0 bytes
-rw-r--r--tools/lib/shrinkedAndroid.jarbin29617 -> 0 bytes
-rw-r--r--tools/lib/signapk.jarbin1439002 -> 0 bytes
-rwxr-xr-xtools/lint72
-rwxr-xr-xtools/linux/bin/aaptbin1136921 -> 0 bytes
-rwxr-xr-xtools/linux/bin/acpbin29069 -> 0 bytes
-rwxr-xr-xtools/linux/bin/aidlbin250007 -> 0 bytes
-rwxr-xr-xtools/linux/bin/arm-linux-androideabi-ldbin3570836 -> 0 bytes
-rwxr-xr-xtools/linux/bin/bcc_compatbin31152 -> 0 bytes
-rwxr-xr-xtools/linux/bin/i686-linux-android-ldbin3570836 -> 0 bytes
-rwxr-xr-xtools/linux/bin/llvm-rs-ccbin1344848 -> 0 bytes
-rwxr-xr-xtools/linux/bin/mipsel-linux-android-ldbin1919720 -> 0 bytes
-rwxr-xr-xtools/linux/bin/zipalignbin92962 -> 0 bytes
-rwxr-xr-xtools/linux/lib/libc++.sobin976684 -> 0 bytes
-rwxr-xr-xtools/linux/lib64/libLLVM.sobin26597632 -> 0 bytes
-rwxr-xr-xtools/linux/lib64/libbcc.sobin330200 -> 0 bytes
-rwxr-xr-xtools/linux/lib64/libbcinfo.sobin936368 -> 0 bytes
-rwxr-xr-xtools/linux/lib64/libc++.sobin1030656 -> 0 bytes
-rwxr-xr-xtools/linux/lib64/libclang.sobin18233992 -> 0 bytes
-rwxr-xr-xtools/mainDexClasses158
-rw-r--r--tools/mainDexClasses.rules27
-rwxr-xr-xtools/windows/bin/aapt.exebin1449984 -> 0 bytes
-rwxr-xr-xtools/windows/bin/aidl.exebin321024 -> 0 bytes
-rwxr-xr-xtools/windows/bin/arm-linux-androideabi-ld.exebin3790336 -> 0 bytes
-rwxr-xr-xtools/windows/bin/dexdump.exebin233472 -> 0 bytes
-rwxr-xr-xtools/windows/bin/i686-linux-android-ld.exebin3790336 -> 0 bytes
-rwxr-xr-xtools/windows/bin/mipsel-linux-android-ld.exebin1841664 -> 0 bytes
-rwxr-xr-xtools/windows/bin/split-select.exebin1028608 -> 0 bytes
-rwxr-xr-xtools/windows/bin/zipalign.exebin209920 -> 0 bytes
60 files changed, 0 insertions, 1066 deletions
diff --git a/tools/Android.mk b/tools/Android.mk
deleted file mode 100644
index a0f0f0c..0000000
--- a/tools/Android.mk
+++ /dev/null
@@ -1,367 +0,0 @@
-#
-# Copyright (C) 2010 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.
-#
-
-LOCAL_PATH:= $(call my-dir)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := jack
-LOCAL_SRC_FILES := jack
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := jack$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-jack_script := $(LOCAL_INSTALLED_MODULE)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := jack-admin
-LOCAL_SRC_FILES := jack-admin
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := jack-admin$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-jack_admin_script := $(LOCAL_INSTALLED_MODULE)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := jack
-LOCAL_SRC_FILES := jack.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := jack$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_ADDITIONAL_DEPENDENCIES := $(JACK_LAUNCHER_JAR)
-LOCAL_POST_INSTALL_CMD := $(hide) $(JACK_SERVER_LOG_COMMAND) JACK_VM_COMMAND="$(JACK_VM) $(JAVA_TMPDIR_ARG) $(DEFAULT_JACK_VM_ARGS) -jar $(JACK_LAUNCHER_JAR) " JACK_JAR="$(JACK_JAR)" $(jack_admin_script) start-server
-
-include $(BUILD_PREBUILT)
-$(LOCAL_INSTALLED_MODULE): $(jack_script)
-# kill if stop failed, but ignore kill errors since jack-admin is reporting "no server running" as
-# an error.
-kill_server := $(intermediates)/kill_server.stamp
-$(kill_server) : $(LOCAL_BUILT_MODULE) $(jack_admin_script)
- $(hide) $(jack_admin_script) stop-server || $(jack_admin_script) kill-server || exit 0
- touch $@
-
-$(LOCAL_INSTALLED_MODULE): $(kill_server)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := jack-launcher
-LOCAL_SRC_FILES := jack-launcher.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := jack-launcher$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := jill
-LOCAL_SRC_FILES := jill.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := jill$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-ifneq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)))
-
-##################################
-include $(CLEAR_VARS)
-
-# We can't simple call $(BUILD_PREBUILT) here, because $(ACP) is not
-# available yet..
-
-LOCAL_MODULE := acp
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-
-$(ACP): $(LOCAL_PATH)/$(HOST_OS)/bin/acp$(HOST_EXECUTABLE_SUFFIX)
- @echo "Copy: acp ($@)"
- $(copy-file-to-target-with-cp)
- $(hide) chmod 755 $@
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := aidl
-LOCAL_SRC_FILES := $(HOST_OS)/bin/aidl$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := aidl$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_SHARED_LIBRARIES := libc++
-LOCAL_MULTILIB := 32
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := aapt
-LOCAL_SRC_FILES := $(HOST_OS)/bin/aapt$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := aapt$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_SHARED_LIBRARIES := libc++
-LOCAL_MULTILIB := 32
-
-include $(BUILD_PREBUILT)
-
-##################################
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := zipalign
-LOCAL_SRC_FILES := $(HOST_OS)/bin/zipalign$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := zipalign$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_SHARED_LIBRARIES := libc++
-LOCAL_MULTILIB := 32
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := signapk
-LOCAL_SRC_FILES := lib/signapk.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := signapk$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := dx
-LOCAL_SRC_FILES := lib/dx.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := dx$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-# We have to call copy-file-to-new-target instead of simply including
-# $(BUILD_PREBUILT) here, because we must put dx.jar as dependecy of dx.
-
-LOCAL_MODULE := dx
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-
-include $(BUILD_SYSTEM)/base_rules.mk
-
-$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/dx$(COMMON_JAVA_PACKAGE_SUFFIX)
-$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/dx | $(ACP)
- @echo "Copy: $(PRIVATE_MODULE) ($@)"
- $(copy-file-to-new-target)
- $(hide) chmod 755 $@
-
-##################################
-include $(CLEAR_VARS)
-
-# We have to call copy-file-to-new-target instead of simply including
-# $(BUILD_PREBUILT) here, because we must put dx.jar, shrinkedAndroid.jar and mainDexClasses.rules
-# as dependecy of mainDexClasses.
-
-LOCAL_MODULE := mainDexClasses
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-
-include $(BUILD_SYSTEM)/base_rules.mk
-
-$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/dx$(COMMON_JAVA_PACKAGE_SUFFIX)
-$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/shrinkedAndroid$(COMMON_JAVA_PACKAGE_SUFFIX)
-$(LOCAL_BUILT_MODULE): $(HOST_OUT_EXECUTABLES)/mainDexClasses.rules
-$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/mainDexClasses | $(ACP)
- @echo "Copy: $(PRIVATE_MODULE) ($@)"
- $(copy-file-to-new-target)
- $(hide) chmod 755 $@
-
-##################################
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := mainDexClasses.rules
-LOCAL_SRC_FILES := mainDexClasses.rules
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX :=
-LOCAL_BUILT_MODULE_STEM := mainDexClasses.rules
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := shrinkedAndroid
-LOCAL_SRC_FILES := lib/shrinkedAndroid.jar
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := dx$(COMMON_JAVA_PACKAGE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-
-include $(BUILD_PREBUILT)
-
-##################################
-
-endif # TARGET_BUILD_APPS or TARGET_BUILD_PDK
-
-# Only use these prebuilts in unbundled branches
-# Don't use prebuilts in PDK
-
-ifneq (,$(TARGET_BUILD_APPS))
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := llvm-rs-cc
-LOCAL_SRC_FILES := $(HOST_OS)/bin/llvm-rs-cc$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_SHARED_LIBRARIES := libLLVM libclang libc++
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := llvm-rs-cc$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := bcc_compat
-LOCAL_SRC_FILES := $(HOST_OS)/bin/$(LOCAL_MODULE)$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_MODULE_TAGS := optional
-LOCAL_SHARED_LIBRARIES := libbcc libbcinfo
-LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX)
-LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)$(HOST_EXECUTABLE_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libbcc
-LOCAL_SRC_FILES := $(HOST_OS)/lib64/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_SHLIB_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libbcinfo
-LOCAL_SRC_FILES := $(HOST_OS)/lib64/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_SHLIB_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libc++
-LOCAL_SRC_FILES_64 := $(HOST_OS)/lib64/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_SRC_FILES_32 := $(HOST_OS)/lib/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_SHLIB_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := both
-
-include $(BUILD_PREBUILT)
-
-##################################
-
-endif # TARGET_BUILD_APPS only
-
-# Only build Clang/LLVM components when forced to.
-ifneq (true,$(FORCE_BUILD_LLVM_COMPONENTS))
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libLLVM
-LOCAL_SRC_FILES := $(HOST_OS)/lib64/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_SHLIB_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-##################################
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := libclang
-LOCAL_SRC_FILES := $(HOST_OS)/lib64/$(LOCAL_MODULE)$(HOST_SHLIB_SUFFIX)
-LOCAL_MODULE_CLASS := SHARED_LIBRARIES
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_SUFFIX := $(HOST_SHLIB_SUFFIX)
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MULTILIB := 64
-
-include $(BUILD_PREBUILT)
-
-endif #!FORCE_BUILD_LLVM_COMPONENTS
diff --git a/tools/darwin/bin/aapt b/tools/darwin/bin/aapt
deleted file mode 100755
index d763634..0000000
--- a/tools/darwin/bin/aapt
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/acp b/tools/darwin/bin/acp
deleted file mode 100755
index 85949ad..0000000
--- a/tools/darwin/bin/acp
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/aidl b/tools/darwin/bin/aidl
deleted file mode 100755
index c4f01f3..0000000
--- a/tools/darwin/bin/aidl
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/arm-linux-androideabi-ld b/tools/darwin/bin/arm-linux-androideabi-ld
deleted file mode 100755
index f0a1d81..0000000
--- a/tools/darwin/bin/arm-linux-androideabi-ld
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/bcc_compat b/tools/darwin/bin/bcc_compat
deleted file mode 100755
index a8b2829..0000000
--- a/tools/darwin/bin/bcc_compat
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/i686-linux-android-ld b/tools/darwin/bin/i686-linux-android-ld
deleted file mode 100755
index 73d0b2a..0000000
--- a/tools/darwin/bin/i686-linux-android-ld
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/llvm-rs-cc b/tools/darwin/bin/llvm-rs-cc
deleted file mode 100755
index 8dbfe5a..0000000
--- a/tools/darwin/bin/llvm-rs-cc
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/mipsel-linux-android-ld b/tools/darwin/bin/mipsel-linux-android-ld
deleted file mode 100755
index ad950dc..0000000
--- a/tools/darwin/bin/mipsel-linux-android-ld
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/bin/zipalign b/tools/darwin/bin/zipalign
deleted file mode 100755
index 8d0e195..0000000
--- a/tools/darwin/bin/zipalign
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib/libc++.dylib b/tools/darwin/lib/libc++.dylib
deleted file mode 100755
index 631ae4a..0000000
--- a/tools/darwin/lib/libc++.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib64/libLLVM.dylib b/tools/darwin/lib64/libLLVM.dylib
deleted file mode 100755
index 2ec70d8..0000000
--- a/tools/darwin/lib64/libLLVM.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib64/libbcc.dylib b/tools/darwin/lib64/libbcc.dylib
deleted file mode 100755
index e3da6ff..0000000
--- a/tools/darwin/lib64/libbcc.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib64/libbcinfo.dylib b/tools/darwin/lib64/libbcinfo.dylib
deleted file mode 100755
index b66e9a9..0000000
--- a/tools/darwin/lib64/libbcinfo.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib64/libc++.dylib b/tools/darwin/lib64/libc++.dylib
deleted file mode 100755
index a119462..0000000
--- a/tools/darwin/lib64/libc++.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/darwin/lib64/libclang.dylib b/tools/darwin/lib64/libclang.dylib
deleted file mode 100755
index f8412f6..0000000
--- a/tools/darwin/lib64/libclang.dylib
+++ /dev/null
Binary files differ
diff --git a/tools/dx b/tools/dx
deleted file mode 100755
index 632af43..0000000
--- a/tools/dx
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2007 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=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"
- exit 1
-fi
-
-# By default, give dx 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 dx). 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"
- fi
- shift
-done
-
-if [ "${defaultMx}" != "no" ]; then
- javaOpts="${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 -jar "$jarpath" "$@"
diff --git a/tools/jack b/tools/jack
deleted file mode 100755
index ab59768..0000000
--- a/tools/jack
+++ /dev/null
@@ -1,184 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2015 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.
-#
-# Version: 1.1-mr2
-#
-set -o nounset
-umask 077
-
-#
-# Settings
-#
-LOCAL_SETTING="$HOME/.jack"
-TMPDIR=${TMPDIR:=/tmp}
-SERVER_DIR=$TMPDIR/jack-$USER
-
-#
-# Load local settings
-#
-source "$LOCAL_SETTING" 2>/dev/null
-
-#
-# Create or update local settings if needed
-#
-if [[ ! -f "$LOCAL_SETTING" || $SETTING_VERSION -lt 2 ]]; then
- echo "Writing local settings in" $LOCAL_SETTING
- cat >"$LOCAL_SETTING.$$" <<-EOT
- # Server settings
- SERVER=${SERVER:=true}
- SERVER_PORT_SERVICE=${SERVER_PORT_SERVICE:=8072}
- SERVER_PORT_ADMIN=${SERVER_PORT_ADMIN:=8073}
- SERVER_COUNT=${SERVER_COUNT:=1}
- SERVER_NB_COMPILE=${SERVER_NB_COMPILE:=4}
- SERVER_TIMEOUT=${SERVER_TIMEOUT:=60}
- SERVER_LOG=\${SERVER_LOG:=\$SERVER_DIR/jack-\$SERVER_PORT_SERVICE.log}
- JACK_VM_COMMAND=\${JACK_VM_COMMAND:=java}
- # Internal, do not touch
- SETTING_VERSION=2
-EOT
- ln -f "$LOCAL_SETTING.$$" "$LOCAL_SETTING"
- rm "$LOCAL_SETTING.$$"
- source "$LOCAL_SETTING"
-fi
-
-#
-# If not in server mode, exec jack
-#
-if [ "$SERVER" != "true" ]; then
- exec $JACK_VM_COMMAND -cp $JACK_JAR com.android.jack.Main "$@"
- echo "ERROR: Cannot succeed to launch Jack without Jack server" >&2
- exit 255
-fi
-
-#
-# Static setting
-#
-SERVER_PRG="$JACK_VM_COMMAND -cp $JACK_JAR com.android.jack.server.JackSimpleServer"
-
-#
-# Prepare compilation
-#
-JACK_DIR="$SERVER_DIR/jack-task-$$/"
-JACK_OUT="$JACK_DIR/out"
-JACK_ERR="$JACK_DIR/err"
-JACK_CLI="$JACK_DIR/cli"
-JACK_EXIT="$JACK_DIR/exit"
-JACK_PWD="$PWD"
-
-mkdir "$SERVER_DIR" 2>/dev/null
-
-# Cleanup
-trap 'rm -f "$JACK_OUT" "$JACK_ERR" "$JACK_CLI" "$JACK_EXIT" 2>>$SERVER_LOG; rmdir "$JACK_DIR" 2>>$SERVER_LOG' EXIT
-
-set -o errexit
-
-# Create fifos and files for a task
-rm -rf "$JACK_DIR"
-mkdir "$JACK_DIR"
-mkfifo "$JACK_OUT"
-mkfifo "$JACK_ERR"
-touch "$JACK_CLI" "$JACK_EXIT"
-
-# Try to cleanup if interrupted
-abort () { echo $(uptime) >>$SERVER_LOG; kill -9 $PID_OUT $PID_ERR 2>>$SERVER_LOG; wait $PID_OUT $PID_ERR 2>>$SERVER_LOG; exit 255; }
-trap 'abort' SIGHUP SIGINT SIGQUIT SIGTERM ERR
-
-# Redirect output and error
-cat <"$JACK_OUT" >&1 &
-PID_OUT=$!
-cat <"$JACK_ERR" >&2 &
-PID_ERR=$!
-
-# Prepare the working directory and command line
-echo -n \"$PWD\" "" >"$JACK_CLI"
-for i in "$@"; do
- echo -n \"$i\" "" >>"$JACK_CLI"
-done
-echo >>"$JACK_CLI"
-
-#
-# Launch the compilation
-#
-
-set +o errexit
-trap ERR
-
-RETRY_LAUNCH=1
-RETRY_SESSION=3
-DELAY_CONNECT=30
-
-
-# Launch compilation
-DATE_CONNECT=$(date +%s)
-while true; do
- CURL_TIME=$(date +%H:%M:%S)
- HTTP_CODE=$(curl --fail --silent --data @- --output "$JACK_EXIT" --write-out %{http_code} --connect-timeout 10 --no-proxy 127.0.0.1:$SERVER_PORT_SERVICE http://127.0.0.1:$SERVER_PORT_SERVICE/jack <<< "+ $JACK_OUT $JACK_ERR $JACK_CLI")
- CURL_CODE=$?
- JACK_CODE=$(cat "$JACK_EXIT")
- echo "CURL: $$ - $CURL_TIME - $CURL_CODE - $HTTP_CODE - $JACK_CODE" >>$SERVER_LOG
- if [ $CURL_CODE -eq 0 ]; then
- # No problem, let's go
- break;
- elif [ $CURL_CODE -eq 7 ]; then
- # Failed to connect
- if [ $(date +%s) -ge $DATE_CONNECT ]; then
- if [ $RETRY_LAUNCH -eq 0 ]; then
- echo "ERROR: Cannot launch Jack server" >&2
- abort
- else
- let RETRY_LAUNCH=RETRY_LAUNCH-1
- echo "Launching background server" $SERVER_PRG
- $SERVER_PRG $SERVER_PORT_SERVICE $SERVER_PORT_ADMIN $SERVER_COUNT $SERVER_NB_COMPILE $SERVER_TIMEOUT >>$SERVER_LOG 2>&1 &
- # New server, let's try a bit to connect
- let DATE_CONNECT=$(date +%s)+$DELAY_CONNECT;
- fi
- else
- sleep 0.2 2>/dev/null
- fi
- # Trying with a new connection, let's retry session 3 times max
- RETRY_SESSION=3
- elif [ $CURL_CODE -eq 22 ]; then
- # Http code not OK, let's decode and abort
- if [ $HTTP_CODE -eq 401 ]; then
- # 401: Unauthorized
- echo "ERROR: Security problem, see Jack server log ($SERVER_LOG)" >&2
- abort
- elif [ $HTTP_CODE -eq 400 ]; then
- # 400: Bad request
- echo "ERROR: Bad request, see Jack server log ($SERVER_LOG)" >&2
- abort
- else
- # Other
- echo "ERROR: Internal unknown error ($HTTP_CODE), try other ports in ~/.jack, or see Jack server log ($SERVER_LOG)" >&2
- abort
- fi
- else
- # In case of partial, timeout, empty respond, network error, let's retry
- if [ $RETRY_SESSION -eq 0 ]; then
- echo "ERROR: Communication error with Jack server ($CURL_CODE)" >&2
- abort
- else
- let RETRY_SESSION=RETRY_SESSION-1
- fi
- fi
-done
-
-# Wait for termination
-wait $PID_OUT
-wait $PID_ERR
-
-# Exit
-exit $JACK_CODE
diff --git a/tools/jack-admin b/tools/jack-admin
deleted file mode 100755
index a7c4e8e..0000000
--- a/tools/jack-admin
+++ /dev/null
@@ -1,169 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2015 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.
-#
-# Version: 1.1-mr2
-#
-set -o nounset
-umask 077
-
-#
-# Settings
-#
-LOCAL_SETTING="$HOME/.jack"
-TMPDIR=${TMPDIR:=/tmp}
-SERVER_DIR=$TMPDIR/jack-$USER
-
-#
-# Load local settings
-#
-source "$LOCAL_SETTING" 2>/dev/null
-
-#
-# Create or update local settings if needed
-#
-if [[ ! -f "$LOCAL_SETTING" || $SETTING_VERSION -lt 2 ]]; then
- echo "Writing local settings in" $LOCAL_SETTING
- cat >"$LOCAL_SETTING.$$" <<-EOT
- # Server settings
- SERVER=${SERVER:=true}
- SERVER_PORT_SERVICE=${SERVER_PORT_SERVICE:=8072}
- SERVER_PORT_ADMIN=${SERVER_PORT_ADMIN:=8073}
- SERVER_COUNT=${SERVER_COUNT:=1}
- SERVER_NB_COMPILE=${SERVER_NB_COMPILE:=4}
- SERVER_TIMEOUT=${SERVER_TIMEOUT:=60}
- SERVER_LOG=\${SERVER_LOG:=\$SERVER_DIR/jack-\$SERVER_PORT_SERVICE.log}
- JACK_VM_COMMAND=\${JACK_VM_COMMAND:=java}
- # Internal, do not touch
- SETTING_VERSION=2
-EOT
- ln -f "$LOCAL_SETTING.$$" "$LOCAL_SETTING"
- rm "$LOCAL_SETTING.$$"
- source "$LOCAL_SETTING"
-fi
-
-#
-# Static setting
-#
-mkdir "$SERVER_DIR" 2>/dev/null
-
-#
-# Decoding argument
-#
-
-if [ $# -ne 1 ]
-then
- echo "Usage : $0 [ start-server | stop-server | kill-server | list-server | server-log | server-stat ]"
- exit 255
-fi
-
-case $1 in
- stop-server)
- echo "Stopping background server"
- CMD="stop" ;;
- server-stat)
- echo "Getting statistic from background server"
- CMD="stat" ;;
- server-log)
- echo "Log location of background server:"
- echo $SERVER_LOG
- exit 0 ;;
- kill-server)
- echo "Killing background server"
- kill $(ps aux | grep JackSimpleServer | grep -v grep | awk '{print $2}') 2>/dev/null
- if [ $? -ne 0 ]; then
- echo "ERROR: No Jack server to kill" >&2
- exit 2
- else
- exit 0
- fi ;;
- list-server)
- ps aux | grep JackSimpleServer | grep -v grep
- exit $? ;;
- start-server)
- SERVER_PRG="$JACK_VM_COMMAND -cp $JACK_JAR com.android.jack.server.JackSimpleServer"
- echo "Launching Jack server" $SERVER_PRG
- $SERVER_PRG $SERVER_PORT_SERVICE $SERVER_PORT_ADMIN $SERVER_COUNT $SERVER_NB_COMPILE $SERVER_TIMEOUT >>$SERVER_LOG 2>&1 &
- exit 0 ;;
- *)
- echo "Usage : $0 [ start-server | stop-server | kill-server | list-server | server-log | server-stat ]"
- exit 255 ;;
-esac
-
-#
-# Send command
-#
-
-set +o errexit
-
-# Try to cleanup if interrupted
-# Cleanup
-JACK_EXIT="$SERVER_DIR/admin-$$"
-trap 'rm -f "$JACK_EXIT" 2>/dev/null;' EXIT
-
-RETRY_SESSION=3
-DELAY_CONNECT=3
-
-
-# Send command to Jack server
-DATE_CONNECT=$(date +%s)
-while true; do
- HTTP_CODE=$(curl --fail --silent --output $JACK_EXIT --write-out %{http_code} --connect-timeout 5 --no-proxy 127.0.0.1:$SERVER_PORT_ADMIN http://127.0.0.1:$SERVER_PORT_ADMIN/$CMD)
- CURL_CODE=$?
- if [ $CURL_CODE -eq 0 ]; then
- # No problem, let's go
- break;
- elif [ $CURL_CODE -eq 7 ]; then
- # Failed to connect
- if [ $(date +%s) -ge $DATE_CONNECT ]; then
- echo "ERROR: No Jack server running"
- exit 255
- else
- sleep 0.2 2>/dev/null
- fi
- # Trying with a new connection, let's retry session 3 times max
- RETRY_SESSION=3
- elif [ $CURL_CODE -eq 22 ]; then
- # Http code not OK, let's decode and abort
- if [ $HTTP_CODE -eq 401 ]; then
- # 401: Unauthorized
- echo "ERROR: Security problem, see Jack server log" >&2
- exit 255
- elif [ $HTTP_CODE -eq 400 ]; then
- # 400: Bad request
- echo "ERROR: Bad request, see Jack server log" >&2
- exit 255
- else
- # Other
- echo "ERROR: Internal unknown error ($HTTP_CODE), try other ports in ~/.jack, or see Jack server log" >&2
- exit 255
- fi
- else
- # In case of partial, timeout, empty respond, network error, let's retry
- if [ $RETRY_SESSION -eq 0 ]; then
- echo "ERROR: Communication error with Jack server ($CURL_CODE)" >&2
- exit 255
- else
- let RETRY_SESSION=RETRY_SESSION-1
- fi
- fi
-done
-
-# Exit
-if [ -r $JACK_EXIT ]; then
- cat <$JACK_EXIT 2>/dev/null
-fi
-
-exit 0
diff --git a/tools/jack-launcher.jar b/tools/jack-launcher.jar
deleted file mode 100644
index a7d9e61..0000000
--- a/tools/jack-launcher.jar
+++ /dev/null
Binary files differ
diff --git a/tools/jack.jar b/tools/jack.jar
deleted file mode 100644
index 47da02e..0000000
--- a/tools/jack.jar
+++ /dev/null
Binary files differ
diff --git a/tools/jill.jar b/tools/jill.jar
deleted file mode 100644
index f1146a5..0000000
--- a/tools/jill.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/androidprefs.jar b/tools/lib/androidprefs.jar
deleted file mode 100644
index 30cc1f5..0000000
--- a/tools/lib/androidprefs.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/asm-4.0.jar b/tools/lib/asm-4.0.jar
deleted file mode 100644
index 6d63075..0000000
--- a/tools/lib/asm-4.0.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/asm-tree-4.0.jar b/tools/lib/asm-tree-4.0.jar
deleted file mode 100644
index aa99d3a..0000000
--- a/tools/lib/asm-tree-4.0.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/common.jar b/tools/lib/common.jar
deleted file mode 100644
index b037f32..0000000
--- a/tools/lib/common.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/dx.jar b/tools/lib/dx.jar
deleted file mode 100644
index 8e7333c..0000000
--- a/tools/lib/dx.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/guava-10.0.1.jar b/tools/lib/guava-10.0.1.jar
deleted file mode 100644
index d107c0f..0000000
--- a/tools/lib/guava-10.0.1.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/lint.jar b/tools/lib/lint.jar
deleted file mode 100644
index 1ed1581..0000000
--- a/tools/lib/lint.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/lint_api.jar b/tools/lib/lint_api.jar
deleted file mode 100644
index 3757ce4..0000000
--- a/tools/lib/lint_api.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/lint_checks.jar b/tools/lib/lint_checks.jar
deleted file mode 100644
index e59f47f..0000000
--- a/tools/lib/lint_checks.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/lombok-ast-0.2.jar b/tools/lib/lombok-ast-0.2.jar
deleted file mode 100644
index 33c9d6f..0000000
--- a/tools/lib/lombok-ast-0.2.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/shrinkedAndroid.jar b/tools/lib/shrinkedAndroid.jar
deleted file mode 100644
index b485061..0000000
--- a/tools/lib/shrinkedAndroid.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lib/signapk.jar b/tools/lib/signapk.jar
deleted file mode 100644
index 2e71b94..0000000
--- a/tools/lib/signapk.jar
+++ /dev/null
Binary files differ
diff --git a/tools/lint b/tools/lint
deleted file mode 100755
index 2b53df6..0000000
--- a/tools/lint
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/bash
-# Copyright 2011, 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=lint.jar
-frameworkdir="$progdir"
-libdir="$progdir"
-if [ ! -r "$frameworkdir/$jarfile" ]
-then
- frameworkdir=`dirname "$progdir"`/tools/lib
- libdir=`dirname "$progdir"`/tools/lib
-fi
-if [ ! -r "$frameworkdir/$jarfile" ]
-then
- frameworkdir=`dirname "$progdir"`/framework
- libdir=`dirname "$progdir"`/lib
-fi
-if [ ! -r "$frameworkdir/$jarfile" ]
-then
- echo `basename "$prog"`": can't find $jarfile"
- exit 1
-fi
-
-# Check args.
-if [ debug = "$1" ]; then
- # add this in for debugging
- java_debug=-agentlib:jdwp=transport=dt_socket,server=y,address=8050,suspend=y
- shift 1
-else
- java_debug=
-fi
-
-javaCmd="java"
-
-jarpath="$frameworkdir/$jarfile"
-
-exec "$javaCmd" \
- -Xmx256M $os_opts $java_debug \
- -Dcom.android.tools.lint.bindir="$progdir" \
- -classpath "$jarpath" \
- com.android.tools.lint.Main "$@"
diff --git a/tools/linux/bin/aapt b/tools/linux/bin/aapt
deleted file mode 100755
index 982c850..0000000
--- a/tools/linux/bin/aapt
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/acp b/tools/linux/bin/acp
deleted file mode 100755
index 8dbb872..0000000
--- a/tools/linux/bin/acp
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/aidl b/tools/linux/bin/aidl
deleted file mode 100755
index 2e9aaa1..0000000
--- a/tools/linux/bin/aidl
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/arm-linux-androideabi-ld b/tools/linux/bin/arm-linux-androideabi-ld
deleted file mode 100755
index fec9a96..0000000
--- a/tools/linux/bin/arm-linux-androideabi-ld
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/bcc_compat b/tools/linux/bin/bcc_compat
deleted file mode 100755
index d9e408c..0000000
--- a/tools/linux/bin/bcc_compat
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/i686-linux-android-ld b/tools/linux/bin/i686-linux-android-ld
deleted file mode 100755
index 90407f7..0000000
--- a/tools/linux/bin/i686-linux-android-ld
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/llvm-rs-cc b/tools/linux/bin/llvm-rs-cc
deleted file mode 100755
index 540e6c8..0000000
--- a/tools/linux/bin/llvm-rs-cc
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/mipsel-linux-android-ld b/tools/linux/bin/mipsel-linux-android-ld
deleted file mode 100755
index d404bcc..0000000
--- a/tools/linux/bin/mipsel-linux-android-ld
+++ /dev/null
Binary files differ
diff --git a/tools/linux/bin/zipalign b/tools/linux/bin/zipalign
deleted file mode 100755
index cfe32b0..0000000
--- a/tools/linux/bin/zipalign
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib/libc++.so b/tools/linux/lib/libc++.so
deleted file mode 100755
index cb0d387..0000000
--- a/tools/linux/lib/libc++.so
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib64/libLLVM.so b/tools/linux/lib64/libLLVM.so
deleted file mode 100755
index eeaeaa0..0000000
--- a/tools/linux/lib64/libLLVM.so
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib64/libbcc.so b/tools/linux/lib64/libbcc.so
deleted file mode 100755
index 5ccd791..0000000
--- a/tools/linux/lib64/libbcc.so
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib64/libbcinfo.so b/tools/linux/lib64/libbcinfo.so
deleted file mode 100755
index a3d5644..0000000
--- a/tools/linux/lib64/libbcinfo.so
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib64/libc++.so b/tools/linux/lib64/libc++.so
deleted file mode 100755
index fe09e75..0000000
--- a/tools/linux/lib64/libc++.so
+++ /dev/null
Binary files differ
diff --git a/tools/linux/lib64/libclang.so b/tools/linux/lib64/libclang.so
deleted file mode 100755
index 0840096..0000000
--- a/tools/linux/lib64/libclang.so
+++ /dev/null
Binary files differ
diff --git a/tools/mainDexClasses b/tools/mainDexClasses
deleted file mode 100755
index 034d47e..0000000
--- a/tools/mainDexClasses
+++ /dev/null
@@ -1,158 +0,0 @@
-#!/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/tools/mainDexClasses.rules b/tools/mainDexClasses.rules
deleted file mode 100644
index af4085a..0000000
--- a/tools/mainDexClasses.rules
+++ /dev/null
@@ -1,27 +0,0 @@
- -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/tools/windows/bin/aapt.exe b/tools/windows/bin/aapt.exe
deleted file mode 100755
index 48b7c6a..0000000
--- a/tools/windows/bin/aapt.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/aidl.exe b/tools/windows/bin/aidl.exe
deleted file mode 100755
index 0f490e8..0000000
--- a/tools/windows/bin/aidl.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/arm-linux-androideabi-ld.exe b/tools/windows/bin/arm-linux-androideabi-ld.exe
deleted file mode 100755
index a068f41..0000000
--- a/tools/windows/bin/arm-linux-androideabi-ld.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/dexdump.exe b/tools/windows/bin/dexdump.exe
deleted file mode 100755
index 67beffa..0000000
--- a/tools/windows/bin/dexdump.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/i686-linux-android-ld.exe b/tools/windows/bin/i686-linux-android-ld.exe
deleted file mode 100755
index 831586c..0000000
--- a/tools/windows/bin/i686-linux-android-ld.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/mipsel-linux-android-ld.exe b/tools/windows/bin/mipsel-linux-android-ld.exe
deleted file mode 100755
index abe3a0e..0000000
--- a/tools/windows/bin/mipsel-linux-android-ld.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/split-select.exe b/tools/windows/bin/split-select.exe
deleted file mode 100755
index abdb081..0000000
--- a/tools/windows/bin/split-select.exe
+++ /dev/null
Binary files differ
diff --git a/tools/windows/bin/zipalign.exe b/tools/windows/bin/zipalign.exe
deleted file mode 100755
index fc59b32..0000000
--- a/tools/windows/bin/zipalign.exe
+++ /dev/null
Binary files differ