• 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

Révision0221f2d8a084798d279ae8de9bb3a59d934b030f (tree)
l'heure2011-06-23 11:03:40
AuteurRaphael <raphael@goog...>
CommiterAndroid Git Automerger

Message de Log

am 320d10ef: Package the 2 llvm-rs-cc versions in the Windows SDK.

* commit '320d10ef623c04f3a2fa44af8823fa711a2e6573':

Package the 2 llvm-rs-cc versions in the Windows SDK.

Change Summary

Modification

--- a/build/tools/patch_windows_sdk.sh
+++ b/build/tools/patch_windows_sdk.sh
@@ -6,7 +6,7 @@
66 # platform-dependent folders and files.
77 # - sdk/build/patch_windows_sdk.sh to process folder and files which
88 # depend on the sdk.git repo. This file is invoked by the makefile
9-# at development/tools/build/windows_sdk.mk.
9+# at development/build/tools/windows_sdk.mk.
1010 #
1111 # Input arguments:
1212 # -q = Optional arg to make this silent. Must be given first.
@@ -59,10 +59,10 @@ PLATFORM_TOOLS=$TEMP_SDK_DIR/platform-tools
5959 LIB=$TEMP_SDK_DIR/tools/lib
6060 rm $V $TOOLS/{dmtracedump,etc1tool,hprof-conv,sqlite3,zipalign}
6161 rm $V $LIB/*/swt.jar
62-rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump,llvm-rs-cc}
62+rm $V $PLATFORM_TOOLS/{adb,aapt,aidl,dx,dexdump,llvm-rs-cc,llvm-rs-cc-2}
6363
6464 # Copy all the new stuff in tools
65-# Note: some tools are first copied here and then moved in platforms/<name>/tools/
65+# Note: some tools are first copied here and then moved in platform-tools
6666 cp $V $WIN_OUT_DIR/host/windows-x86/bin/*.{exe,dll} $TOOLS/
6767 # Remove some tools we don't want to take in the SDK
6868 rm $V -f $TOOLS/{fastboot.exe,rs-spec-gen.exe,tblgen.exe}
@@ -100,11 +100,14 @@ cp -r $V ${TOPDIR}external/sonivox/docs/JET_Creator_User_Manual_files $JETDOC/
100100 # Copy or move platform specific tools to the default platform.
101101 cp $V ${TOPDIR}dalvik/dx/etc/dx.bat $PLATFORM_TOOLS/
102102 mv $V $TOOLS/{adb.exe,aapt.exe,aidl.exe,dexdump.exe} $PLATFORM_TOOLS/
103-mv $V $TOOLS/llvm-rs-cc.exe $PLATFORM_TOOLS/
104103 mv $V $TOOLS/Adb*.dll $PLATFORM_TOOLS/
104+# The platform actually produces llvm-rs-cc-2 (via sdk.atree), whereas
105+# the original version 1 (just named llvm-rs-cc) is stored in the prebuilts.
106+cp $V ${TOPDIR}prebuilt/windows/llvm-rs-cc/llvm-rs-cc.exe $PLATFORM_TOOLS/llvm-rs-cc.exe
107+mv $V $TOOLS/llvm-rs-cc.exe $PLATFORM_TOOLS/llvm-rs-cc-2.exe
105108
106109 # Fix EOL chars to make window users happy - fix all files at the top level
107-# as well as all batch files including those in platforms/<name>/tools/
110+# as well as all batch files including those in platform-tools/
108111 if [[ -x $UNIX2DOS ]]; then
109112 find $TEMP_SDK_DIR -maxdepth 1 -name "*.[ht]*" -type f -print0 | xargs -0 $UNIX2DOS
110113 find $TEMP_SDK_DIR -maxdepth 3 -name "*.bat" -type f -print0 | xargs -0 $UNIX2DOS
--- a/build/tools/windows_sdk.mk
+++ b/build/tools/windows_sdk.mk
@@ -85,6 +85,7 @@ $(WIN_SDK_ZIP): winsdk-tools sdk
8585 $(TOPDIR)development/build/tools/patch_windows_sdk.sh $(subst @,-q,$(hide)) \
8686 $(WIN_SDK_DIR)/$(WIN_SDK_NAME) $(OUT_DIR) $(TOPDIR)
8787 $(hide) strip --strip-all $(WIN_SDK_DIR)/$(WIN_SDK_NAME)/platform-tools/llvm-rs-cc.exe
88+ $(hide) strip --strip-all $(WIN_SDK_DIR)/$(WIN_SDK_NAME)/platform-tools/llvm-rs-cc-2.exe
8889 $(hide) $(TOPDIR)sdk/build/patch_windows_sdk.sh $(subst @,-q,$(hide)) \
8990 $(WIN_SDK_DIR)/$(WIN_SDK_NAME) $(OUT_DIR) $(TOPDIR)
9091 $(hide) ( \