development
Revision | 0e2de35b07d086bba435cda6c112481c75a47521 (tree) |
---|---|
Time | 2011-02-03 04:52:47 |
Author | Raphael <raphael@goog...> |
Commiter | Raphael |
SDK: Strip llvm-rs-cc in Windows SDK.
SDK Bug: 3394374
Change-Id: I892afdde0672bd5803d25c99e202f2b0418b796d
@@ -85,12 +85,13 @@ $(WIN_SDK_ZIP): winsdk-tools sdk | ||
85 | 85 | $(hide) mkdir -p $(WIN_SDK_DIR) |
86 | 86 | $(hide) cp -rf $(LINUX_SDK_DIR)/$(LINUX_SDK_NAME) $(WIN_SDK_DIR)/$(WIN_SDK_NAME) |
87 | 87 | $(hide) USB_DRIVER_HOOK=$(USB_DRIVER_HOOK) \ |
88 | - $(TOPDIR)development/build/tools/patch_windows_sdk.sh \ | |
89 | - $(subst @,-q,$(hide)) \ | |
88 | + $(TOPDIR)development/build/tools/patch_windows_sdk.sh $(subst @,-q,$(hide)) \ | |
90 | 89 | $(WIN_SDK_DIR)/$(WIN_SDK_NAME) $(OUT_DIR) $(TOPDIR) |
91 | - $(hide) \ | |
92 | - $(TOPDIR)sdk/build/patch_windows_sdk.sh \ | |
93 | - $(subst @,-q,$(hide)) \ | |
90 | + # TODO remove test once llvm-rs-cc is merged | |
91 | + $(hide) if [ -f $(WIN_SDK_DIR)/$(WIN_SDK_NAME)/platform-tools/llvm-rs-cc.exe ]; then \ | |
92 | + strip --strip-all $(WIN_SDK_DIR)/$(WIN_SDK_NAME)/platform-tools/llvm-rs-cc.exe; \ | |
93 | + fi | |
94 | + $(hide) $(TOPDIR)sdk/build/patch_windows_sdk.sh $(subst @,-q,$(hide)) \ | |
94 | 95 | $(WIN_SDK_DIR)/$(WIN_SDK_NAME) $(OUT_DIR) $(TOPDIR) |
95 | 96 | $(hide) ( \ |
96 | 97 | cd $(WIN_SDK_DIR) && \ |