From 0d993f6c15a175c91e09065f83b8913fadc7688c Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Fri, 29 Jan 2016 01:19:52 +0100 Subject: remove tools they are build from source Signed-off-by: Wolfgang Wiedmeyer --- tools/Android.mk | 367 ------------------------- tools/darwin/bin/aapt | Bin 1163796 -> 0 bytes tools/darwin/bin/acp | Bin 22944 -> 0 bytes tools/darwin/bin/aidl | Bin 282416 -> 0 bytes tools/darwin/bin/arm-linux-androideabi-ld | Bin 5165344 -> 0 bytes tools/darwin/bin/bcc_compat | Bin 38156 -> 0 bytes tools/darwin/bin/i686-linux-android-ld | Bin 5165344 -> 0 bytes tools/darwin/bin/llvm-rs-cc | Bin 693952 -> 0 bytes tools/darwin/bin/mipsel-linux-android-ld | Bin 1938812 -> 0 bytes tools/darwin/bin/zipalign | Bin 98732 -> 0 bytes tools/darwin/lib/libc++.dylib | Bin 1464932 -> 0 bytes tools/darwin/lib64/libLLVM.dylib | Bin 31613512 -> 0 bytes tools/darwin/lib64/libbcc.dylib | Bin 389128 -> 0 bytes tools/darwin/lib64/libbcinfo.dylib | Bin 459840 -> 0 bytes tools/darwin/lib64/libc++.dylib | Bin 1496200 -> 0 bytes tools/darwin/lib64/libclang.dylib | Bin 21239160 -> 0 bytes tools/dx | 89 ------ tools/jack | 184 ------------- tools/jack-admin | 169 ------------ tools/jack-launcher.jar | Bin 27766 -> 0 bytes tools/jack.jar | Bin 9448185 -> 0 bytes tools/jill.jar | Bin 3238087 -> 0 bytes tools/lib/androidprefs.jar | Bin 2507 -> 0 bytes tools/lib/asm-4.0.jar | Bin 46018 -> 0 bytes tools/lib/asm-tree-4.0.jar | Bin 21980 -> 0 bytes tools/lib/common.jar | Bin 39115 -> 0 bytes tools/lib/dx.jar | Bin 958047 -> 0 bytes tools/lib/guava-10.0.1.jar | Bin 1501575 -> 0 bytes tools/lib/lint.jar | Bin 1634561 -> 0 bytes tools/lib/lint_api.jar | Bin 1670952 -> 0 bytes tools/lib/lint_checks.jar | Bin 1780569 -> 0 bytes tools/lib/lombok-ast-0.2.jar | Bin 1056571 -> 0 bytes tools/lib/shrinkedAndroid.jar | Bin 29617 -> 0 bytes tools/lib/signapk.jar | Bin 1439002 -> 0 bytes tools/lint | 72 ----- tools/linux/bin/aapt | Bin 1136921 -> 0 bytes tools/linux/bin/acp | Bin 29069 -> 0 bytes tools/linux/bin/aidl | Bin 250007 -> 0 bytes tools/linux/bin/arm-linux-androideabi-ld | Bin 3570836 -> 0 bytes tools/linux/bin/bcc_compat | Bin 31152 -> 0 bytes tools/linux/bin/i686-linux-android-ld | Bin 3570836 -> 0 bytes tools/linux/bin/llvm-rs-cc | Bin 1344848 -> 0 bytes tools/linux/bin/mipsel-linux-android-ld | Bin 1919720 -> 0 bytes tools/linux/bin/zipalign | Bin 92962 -> 0 bytes tools/linux/lib/libc++.so | Bin 976684 -> 0 bytes tools/linux/lib64/libLLVM.so | Bin 26597632 -> 0 bytes tools/linux/lib64/libbcc.so | Bin 330200 -> 0 bytes tools/linux/lib64/libbcinfo.so | Bin 936368 -> 0 bytes tools/linux/lib64/libc++.so | Bin 1030656 -> 0 bytes tools/linux/lib64/libclang.so | Bin 18233992 -> 0 bytes tools/mainDexClasses | 158 ----------- tools/mainDexClasses.rules | 27 -- tools/windows/bin/aapt.exe | Bin 1449984 -> 0 bytes tools/windows/bin/aidl.exe | Bin 321024 -> 0 bytes tools/windows/bin/arm-linux-androideabi-ld.exe | Bin 3790336 -> 0 bytes tools/windows/bin/dexdump.exe | Bin 233472 -> 0 bytes tools/windows/bin/i686-linux-android-ld.exe | Bin 3790336 -> 0 bytes tools/windows/bin/mipsel-linux-android-ld.exe | Bin 1841664 -> 0 bytes tools/windows/bin/split-select.exe | Bin 1028608 -> 0 bytes tools/windows/bin/zipalign.exe | Bin 209920 -> 0 bytes 60 files changed, 1066 deletions(-) delete mode 100644 tools/Android.mk delete mode 100755 tools/darwin/bin/aapt delete mode 100755 tools/darwin/bin/acp delete mode 100755 tools/darwin/bin/aidl delete mode 100755 tools/darwin/bin/arm-linux-androideabi-ld delete mode 100755 tools/darwin/bin/bcc_compat delete mode 100755 tools/darwin/bin/i686-linux-android-ld delete mode 100755 tools/darwin/bin/llvm-rs-cc delete mode 100755 tools/darwin/bin/mipsel-linux-android-ld delete mode 100755 tools/darwin/bin/zipalign delete mode 100755 tools/darwin/lib/libc++.dylib delete mode 100755 tools/darwin/lib64/libLLVM.dylib delete mode 100755 tools/darwin/lib64/libbcc.dylib delete mode 100755 tools/darwin/lib64/libbcinfo.dylib delete mode 100755 tools/darwin/lib64/libc++.dylib delete mode 100755 tools/darwin/lib64/libclang.dylib delete mode 100755 tools/dx delete mode 100755 tools/jack delete mode 100755 tools/jack-admin delete mode 100644 tools/jack-launcher.jar delete mode 100644 tools/jack.jar delete mode 100644 tools/jill.jar delete mode 100644 tools/lib/androidprefs.jar delete mode 100644 tools/lib/asm-4.0.jar delete mode 100644 tools/lib/asm-tree-4.0.jar delete mode 100644 tools/lib/common.jar delete mode 100644 tools/lib/dx.jar delete mode 100644 tools/lib/guava-10.0.1.jar delete mode 100644 tools/lib/lint.jar delete mode 100644 tools/lib/lint_api.jar delete mode 100644 tools/lib/lint_checks.jar delete mode 100644 tools/lib/lombok-ast-0.2.jar delete mode 100644 tools/lib/shrinkedAndroid.jar delete mode 100644 tools/lib/signapk.jar delete mode 100755 tools/lint delete mode 100755 tools/linux/bin/aapt delete mode 100755 tools/linux/bin/acp delete mode 100755 tools/linux/bin/aidl delete mode 100755 tools/linux/bin/arm-linux-androideabi-ld delete mode 100755 tools/linux/bin/bcc_compat delete mode 100755 tools/linux/bin/i686-linux-android-ld delete mode 100755 tools/linux/bin/llvm-rs-cc delete mode 100755 tools/linux/bin/mipsel-linux-android-ld delete mode 100755 tools/linux/bin/zipalign delete mode 100755 tools/linux/lib/libc++.so delete mode 100755 tools/linux/lib64/libLLVM.so delete mode 100755 tools/linux/lib64/libbcc.so delete mode 100755 tools/linux/lib64/libbcinfo.so delete mode 100755 tools/linux/lib64/libc++.so delete mode 100755 tools/linux/lib64/libclang.so delete mode 100755 tools/mainDexClasses delete mode 100644 tools/mainDexClasses.rules delete mode 100755 tools/windows/bin/aapt.exe delete mode 100755 tools/windows/bin/aidl.exe delete mode 100755 tools/windows/bin/arm-linux-androideabi-ld.exe delete mode 100755 tools/windows/bin/dexdump.exe delete mode 100755 tools/windows/bin/i686-linux-android-ld.exe delete mode 100755 tools/windows/bin/mipsel-linux-android-ld.exe delete mode 100755 tools/windows/bin/split-select.exe delete mode 100755 tools/windows/bin/zipalign.exe 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 Binary files a/tools/darwin/bin/aapt and /dev/null differ diff --git a/tools/darwin/bin/acp b/tools/darwin/bin/acp deleted file mode 100755 index 85949ad..0000000 Binary files a/tools/darwin/bin/acp and /dev/null differ diff --git a/tools/darwin/bin/aidl b/tools/darwin/bin/aidl deleted file mode 100755 index c4f01f3..0000000 Binary files a/tools/darwin/bin/aidl and /dev/null 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 Binary files a/tools/darwin/bin/arm-linux-androideabi-ld and /dev/null differ diff --git a/tools/darwin/bin/bcc_compat b/tools/darwin/bin/bcc_compat deleted file mode 100755 index a8b2829..0000000 Binary files a/tools/darwin/bin/bcc_compat and /dev/null 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 Binary files a/tools/darwin/bin/i686-linux-android-ld and /dev/null differ diff --git a/tools/darwin/bin/llvm-rs-cc b/tools/darwin/bin/llvm-rs-cc deleted file mode 100755 index 8dbfe5a..0000000 Binary files a/tools/darwin/bin/llvm-rs-cc and /dev/null 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 Binary files a/tools/darwin/bin/mipsel-linux-android-ld and /dev/null differ diff --git a/tools/darwin/bin/zipalign b/tools/darwin/bin/zipalign deleted file mode 100755 index 8d0e195..0000000 Binary files a/tools/darwin/bin/zipalign and /dev/null differ diff --git a/tools/darwin/lib/libc++.dylib b/tools/darwin/lib/libc++.dylib deleted file mode 100755 index 631ae4a..0000000 Binary files a/tools/darwin/lib/libc++.dylib and /dev/null differ diff --git a/tools/darwin/lib64/libLLVM.dylib b/tools/darwin/lib64/libLLVM.dylib deleted file mode 100755 index 2ec70d8..0000000 Binary files a/tools/darwin/lib64/libLLVM.dylib and /dev/null differ diff --git a/tools/darwin/lib64/libbcc.dylib b/tools/darwin/lib64/libbcc.dylib deleted file mode 100755 index e3da6ff..0000000 Binary files a/tools/darwin/lib64/libbcc.dylib and /dev/null differ diff --git a/tools/darwin/lib64/libbcinfo.dylib b/tools/darwin/lib64/libbcinfo.dylib deleted file mode 100755 index b66e9a9..0000000 Binary files a/tools/darwin/lib64/libbcinfo.dylib and /dev/null differ diff --git a/tools/darwin/lib64/libc++.dylib b/tools/darwin/lib64/libc++.dylib deleted file mode 100755 index a119462..0000000 Binary files a/tools/darwin/lib64/libc++.dylib and /dev/null differ diff --git a/tools/darwin/lib64/libclang.dylib b/tools/darwin/lib64/libclang.dylib deleted file mode 100755 index f8412f6..0000000 Binary files a/tools/darwin/lib64/libclang.dylib and /dev/null 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" 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 Binary files a/tools/jack-launcher.jar and /dev/null differ diff --git a/tools/jack.jar b/tools/jack.jar deleted file mode 100644 index 47da02e..0000000 Binary files a/tools/jack.jar and /dev/null differ diff --git a/tools/jill.jar b/tools/jill.jar deleted file mode 100644 index f1146a5..0000000 Binary files a/tools/jill.jar and /dev/null differ diff --git a/tools/lib/androidprefs.jar b/tools/lib/androidprefs.jar deleted file mode 100644 index 30cc1f5..0000000 Binary files a/tools/lib/androidprefs.jar and /dev/null differ diff --git a/tools/lib/asm-4.0.jar b/tools/lib/asm-4.0.jar deleted file mode 100644 index 6d63075..0000000 Binary files a/tools/lib/asm-4.0.jar and /dev/null 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 Binary files a/tools/lib/asm-tree-4.0.jar and /dev/null differ diff --git a/tools/lib/common.jar b/tools/lib/common.jar deleted file mode 100644 index b037f32..0000000 Binary files a/tools/lib/common.jar and /dev/null differ diff --git a/tools/lib/dx.jar b/tools/lib/dx.jar deleted file mode 100644 index 8e7333c..0000000 Binary files a/tools/lib/dx.jar and /dev/null 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 Binary files a/tools/lib/guava-10.0.1.jar and /dev/null differ diff --git a/tools/lib/lint.jar b/tools/lib/lint.jar deleted file mode 100644 index 1ed1581..0000000 Binary files a/tools/lib/lint.jar and /dev/null differ diff --git a/tools/lib/lint_api.jar b/tools/lib/lint_api.jar deleted file mode 100644 index 3757ce4..0000000 Binary files a/tools/lib/lint_api.jar and /dev/null differ diff --git a/tools/lib/lint_checks.jar b/tools/lib/lint_checks.jar deleted file mode 100644 index e59f47f..0000000 Binary files a/tools/lib/lint_checks.jar and /dev/null 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 Binary files a/tools/lib/lombok-ast-0.2.jar and /dev/null differ diff --git a/tools/lib/shrinkedAndroid.jar b/tools/lib/shrinkedAndroid.jar deleted file mode 100644 index b485061..0000000 Binary files a/tools/lib/shrinkedAndroid.jar and /dev/null differ diff --git a/tools/lib/signapk.jar b/tools/lib/signapk.jar deleted file mode 100644 index 2e71b94..0000000 Binary files a/tools/lib/signapk.jar and /dev/null 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 Binary files a/tools/linux/bin/aapt and /dev/null differ diff --git a/tools/linux/bin/acp b/tools/linux/bin/acp deleted file mode 100755 index 8dbb872..0000000 Binary files a/tools/linux/bin/acp and /dev/null differ diff --git a/tools/linux/bin/aidl b/tools/linux/bin/aidl deleted file mode 100755 index 2e9aaa1..0000000 Binary files a/tools/linux/bin/aidl and /dev/null 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 Binary files a/tools/linux/bin/arm-linux-androideabi-ld and /dev/null differ diff --git a/tools/linux/bin/bcc_compat b/tools/linux/bin/bcc_compat deleted file mode 100755 index d9e408c..0000000 Binary files a/tools/linux/bin/bcc_compat and /dev/null 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 Binary files a/tools/linux/bin/i686-linux-android-ld and /dev/null differ diff --git a/tools/linux/bin/llvm-rs-cc b/tools/linux/bin/llvm-rs-cc deleted file mode 100755 index 540e6c8..0000000 Binary files a/tools/linux/bin/llvm-rs-cc and /dev/null 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 Binary files a/tools/linux/bin/mipsel-linux-android-ld and /dev/null differ diff --git a/tools/linux/bin/zipalign b/tools/linux/bin/zipalign deleted file mode 100755 index cfe32b0..0000000 Binary files a/tools/linux/bin/zipalign and /dev/null differ diff --git a/tools/linux/lib/libc++.so b/tools/linux/lib/libc++.so deleted file mode 100755 index cb0d387..0000000 Binary files a/tools/linux/lib/libc++.so and /dev/null differ diff --git a/tools/linux/lib64/libLLVM.so b/tools/linux/lib64/libLLVM.so deleted file mode 100755 index eeaeaa0..0000000 Binary files a/tools/linux/lib64/libLLVM.so and /dev/null differ diff --git a/tools/linux/lib64/libbcc.so b/tools/linux/lib64/libbcc.so deleted file mode 100755 index 5ccd791..0000000 Binary files a/tools/linux/lib64/libbcc.so and /dev/null differ diff --git a/tools/linux/lib64/libbcinfo.so b/tools/linux/lib64/libbcinfo.so deleted file mode 100755 index a3d5644..0000000 Binary files a/tools/linux/lib64/libbcinfo.so and /dev/null differ diff --git a/tools/linux/lib64/libc++.so b/tools/linux/lib64/libc++.so deleted file mode 100755 index fe09e75..0000000 Binary files a/tools/linux/lib64/libc++.so and /dev/null differ diff --git a/tools/linux/lib64/libclang.so b/tools/linux/lib64/libclang.so deleted file mode 100755 index 0840096..0000000 Binary files a/tools/linux/lib64/libclang.so and /dev/null 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 ] " 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 { - (); - } - -keep public class * extends android.app.Application { - (); - void attachBaseContext(android.content.Context); - } - -keep public class * extends android.app.Activity { - (); - } - -keep public class * extends android.app.Service { - (); - } - -keep public class * extends android.content.ContentProvider { - (); - } - -keep public class * extends android.content.BroadcastReceiver { - (); - } - -keep public class * extends android.app.backup.BackupAgent { - (); - } -# 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 Binary files a/tools/windows/bin/aapt.exe and /dev/null differ diff --git a/tools/windows/bin/aidl.exe b/tools/windows/bin/aidl.exe deleted file mode 100755 index 0f490e8..0000000 Binary files a/tools/windows/bin/aidl.exe and /dev/null 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 Binary files a/tools/windows/bin/arm-linux-androideabi-ld.exe and /dev/null differ diff --git a/tools/windows/bin/dexdump.exe b/tools/windows/bin/dexdump.exe deleted file mode 100755 index 67beffa..0000000 Binary files a/tools/windows/bin/dexdump.exe and /dev/null 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 Binary files a/tools/windows/bin/i686-linux-android-ld.exe and /dev/null 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 Binary files a/tools/windows/bin/mipsel-linux-android-ld.exe and /dev/null differ diff --git a/tools/windows/bin/split-select.exe b/tools/windows/bin/split-select.exe deleted file mode 100755 index abdb081..0000000 Binary files a/tools/windows/bin/split-select.exe and /dev/null differ diff --git a/tools/windows/bin/zipalign.exe b/tools/windows/bin/zipalign.exe deleted file mode 100755 index fc59b32..0000000 Binary files a/tools/windows/bin/zipalign.exe and /dev/null differ -- cgit v1.1