• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

Revisionc3035696a2f7d5d2ea9aa1c5ef376b0ee962d60c (tree)
Time2011-01-15 03:16:59
AuthorRaphael <raphael@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge "Add llvm-rs-cc to the SDK (all platforms)" into honeycomb

Change Summary

Incremental Difference

--- a/build/sdk.atree
+++ b/build/sdk.atree
@@ -41,6 +41,7 @@ frameworks/base/docs/docs-redirect.html documentation.html
4141 bin/adb platform-tools/adb
4242 bin/aapt platform-tools/aapt
4343 bin/aidl platform-tools/aidl
44+bin/llvm-rs-cc platform-tools/llvm-rs-cc
4445 # dx
4546 bin/dx platform-tools/dx
4647 bin/dexdump platform-tools/dexdump
--- a/build/tools/patch_windows_sdk.sh
+++ b/build/tools/patch_windows_sdk.sh
@@ -56,11 +56,13 @@ LIB=$TEMP_SDK_DIR/tools/lib
5656 rm $V $TOOLS/{dmtracedump,etc1tool,hprof-conv,sqlite3,zipalign}
5757 rm $V $TOOLS/proguard/bin/*.sh
5858 rm $V $LIB/*/swt.jar
59-rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump}
59+rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump,llvm-rs-cc}
6060
6161 # Copy all the new stuff in tools
6262 # Note: some tools are first copied here and then moved in platforms/<name>/tools/
6363 cp $V $WIN_OUT_DIR/host/windows-x86/bin/*.{exe,dll} $TOOLS/
64+# Remove some tools we don't want to take in the SDK
65+rm $V -f $TOOLS/{fastboot.exe,rs-spec-gen.exe,tblgen.exe}
6466 mkdir -pv $LIB/x86
6567 cp $V ${TOPDIR}prebuilt/windows/swt/swt.jar $LIB/x86/
6668 mkdir -pv $LIB/x86_64
@@ -94,7 +96,9 @@ cp -r $V ${TOPDIR}external/sonivox/docs/JET_Creator_User_Manual_files $JETDOC/
9496
9597 # Copy or move platform specific tools to the default platform.
9698 cp $V ${TOPDIR}dalvik/dx/etc/dx.bat $PLATFORM_TOOLS/
97-mv $V $TOOLS/{adb.exe,aapt.exe,aidl.exe,dexdump.exe} $TOOLS/Adb*.dll $PLATFORM_TOOLS/
99+mv $V $TOOLS/{adb.exe,aapt.exe,aidl.exe,dexdump.exe} $PLATFORM_TOOLS/
100+mv $V $TOOLS/llvm-rs-cc.exe $PLATFORM_TOOLS/
101+mv $V $TOOLS/Adb*.dll $PLATFORM_TOOLS/
98102
99103 # Fix EOL chars to make window users happy - fix all files at the top level
100104 # as well as all batch files including those in platforms/<name>/tools/
--- a/build/tools/windows_sdk.mk
+++ b/build/tools/windows_sdk.mk
@@ -24,17 +24,28 @@ endif
2424
2525 include $(TOPDIR)sdk/build/windows_sdk_tools.mk
2626
27+# This is the list of target that we want to generate as
28+# Windows executables.
2729 WIN_TARGETS := \
2830 aapt adb aidl \
2931 etc1tool \
3032 dexdump dmtracedump \
3133 fastboot \
3234 hprof-conv \
35+ llvm-rs-cc \
3336 prebuilt \
3437 sqlite3 \
3538 zipalign \
3639 $(WIN_SDK_TARGETS)
3740
41+# This is the list of *Linux* build tools that we need
42+# in order to be able to make the WIN_TARGETS. They are
43+# build prerequisites.
44+WIN_BUILD_PREREQ := \
45+ acp \
46+ llvm-rs-cc
47+
48+
3849 # LINUX_SDK_NAME/DIR is set in build/core/Makefile
3950 WIN_SDK_NAME := $(subst $(HOST_OS)-$(HOST_ARCH),windows,$(LINUX_SDK_NAME))
4051 WIN_SDK_DIR := $(subst $(HOST_OS)-$(HOST_ARCH),windows,$(LINUX_SDK_DIR))
@@ -63,7 +74,7 @@ endef
6374 win_sdk: $(WIN_SDK_ZIP)
6475 $(call winsdk-banner,Done)
6576
66-winsdk-tools: acp
77+winsdk-tools: $(WIN_BUILD_PREREQ)
6778 $(call winsdk-banner,Build Windows Tools)
6879 $(hide) USE_MINGW=1 $(MAKE) PRODUCT-$(TARGET_PRODUCT)-$(strip $(WIN_TARGETS))
6980