Merge "Add llvm-rs-cc to the SDK (all platforms)" into honeycomb
This commit is contained in:
@@ -41,6 +41,7 @@ frameworks/base/docs/docs-redirect.html documentation.html
|
||||
bin/adb platform-tools/adb
|
||||
bin/aapt platform-tools/aapt
|
||||
bin/aidl platform-tools/aidl
|
||||
bin/llvm-rs-cc platform-tools/llvm-rs-cc
|
||||
# dx
|
||||
bin/dx platform-tools/dx
|
||||
bin/dexdump platform-tools/dexdump
|
||||
|
||||
@@ -56,11 +56,13 @@ LIB=$TEMP_SDK_DIR/tools/lib
|
||||
rm $V $TOOLS/{dmtracedump,etc1tool,hprof-conv,sqlite3,zipalign}
|
||||
rm $V $TOOLS/proguard/bin/*.sh
|
||||
rm $V $LIB/*/swt.jar
|
||||
rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump}
|
||||
rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump,llvm-rs-cc}
|
||||
|
||||
# Copy all the new stuff in tools
|
||||
# Note: some tools are first copied here and then moved in platforms/<name>/tools/
|
||||
cp $V $WIN_OUT_DIR/host/windows-x86/bin/*.{exe,dll} $TOOLS/
|
||||
# Remove some tools we don't want to take in the SDK
|
||||
rm $V -f $TOOLS/{fastboot.exe,rs-spec-gen.exe,tblgen.exe}
|
||||
mkdir -pv $LIB/x86
|
||||
cp $V ${TOPDIR}prebuilt/windows/swt/swt.jar $LIB/x86/
|
||||
mkdir -pv $LIB/x86_64
|
||||
@@ -94,7 +96,9 @@ cp -r $V ${TOPDIR}external/sonivox/docs/JET_Creator_User_Manual_files $JETDOC/
|
||||
|
||||
# Copy or move platform specific tools to the default platform.
|
||||
cp $V ${TOPDIR}dalvik/dx/etc/dx.bat $PLATFORM_TOOLS/
|
||||
mv $V $TOOLS/{adb.exe,aapt.exe,aidl.exe,dexdump.exe} $TOOLS/Adb*.dll $PLATFORM_TOOLS/
|
||||
mv $V $TOOLS/{adb.exe,aapt.exe,aidl.exe,dexdump.exe} $PLATFORM_TOOLS/
|
||||
mv $V $TOOLS/llvm-rs-cc.exe $PLATFORM_TOOLS/
|
||||
mv $V $TOOLS/Adb*.dll $PLATFORM_TOOLS/
|
||||
|
||||
# Fix EOL chars to make window users happy - fix all files at the top level
|
||||
# as well as all batch files including those in platforms/<name>/tools/
|
||||
|
||||
@@ -24,17 +24,28 @@ endif
|
||||
|
||||
include $(TOPDIR)sdk/build/windows_sdk_tools.mk
|
||||
|
||||
# This is the list of target that we want to generate as
|
||||
# Windows executables.
|
||||
WIN_TARGETS := \
|
||||
aapt adb aidl \
|
||||
etc1tool \
|
||||
dexdump dmtracedump \
|
||||
fastboot \
|
||||
hprof-conv \
|
||||
llvm-rs-cc \
|
||||
prebuilt \
|
||||
sqlite3 \
|
||||
zipalign \
|
||||
$(WIN_SDK_TARGETS)
|
||||
|
||||
# This is the list of *Linux* build tools that we need
|
||||
# in order to be able to make the WIN_TARGETS. They are
|
||||
# build prerequisites.
|
||||
WIN_BUILD_PREREQ := \
|
||||
acp \
|
||||
llvm-rs-cc
|
||||
|
||||
|
||||
# LINUX_SDK_NAME/DIR is set in build/core/Makefile
|
||||
WIN_SDK_NAME := $(subst $(HOST_OS)-$(HOST_ARCH),windows,$(LINUX_SDK_NAME))
|
||||
WIN_SDK_DIR := $(subst $(HOST_OS)-$(HOST_ARCH),windows,$(LINUX_SDK_DIR))
|
||||
@@ -63,7 +74,7 @@ endef
|
||||
win_sdk: $(WIN_SDK_ZIP)
|
||||
$(call winsdk-banner,Done)
|
||||
|
||||
winsdk-tools: acp
|
||||
winsdk-tools: $(WIN_BUILD_PREREQ)
|
||||
$(call winsdk-banner,Build Windows Tools)
|
||||
$(hide) USE_MINGW=1 $(MAKE) PRODUCT-$(TARGET_PRODUCT)-$(strip $(WIN_TARGETS))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user