1 # 2 # Copyright (C) 2011 The Android Open Source Project 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 # 18 # These are the files that comprise the *Windows* SDK. 19 # 20 # The Windows SDK is based on the Linux one so in this file we 21 # need to remove Linux binaries and replace them by their 22 # Windows counterparts. 23 # 24 # This file only includes platform-dependent files. 25 # Tools-dependent files (and not tied to a specific platform) 26 # are controled by sdk/build/tools.windows.atree. 27 # 28 29 ############################################################################## 30 # Platform Tools Component 31 ############################################################################## 32 33 rm platform-tools/adb 34 rm platform-tools/fastboot 35 bin/adb.exe strip platform-tools/adb.exe 36 bin/fastboot.exe strip platform-tools/fastboot.exe 37 bin/AdbWinUsbApi.dll platform-tools/AdbWinUsbApi.dll 38 bin/AdbWinApi.dll platform-tools/AdbWinApi.dll 39 prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread-1.dll platform-tools/libwinpthread-1.dll 40 41 rm platform-tools/sqlite3 42 bin/sqlite3.exe strip platform-tools/sqlite3.exe 43 44 rm platform-tools/dmtracedump 45 bin/dmtracedump.exe strip platform-tools/dmtracedump.exe 46 47 rm platform-tools/hprof-conv 48 bin/hprof-conv.exe strip platform-tools/hprof-conv.exe 49 50 rm platform-tools/etc1tool 51 bin/etc1tool.exe strip platform-tools/etc1tool.exe 52 53 54 55 ############################################################################## 56 # Build Tools Component 57 ############################################################################## 58 # Note that the build-tools sub-folder uses the platform-name as a placeholder 59 # at build-time. Packaging will later change that to the actual build-tools 60 # revision as specified in the source.properties. 61 62 # Needed by all binaries compiled by mingw32-64 63 prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread-1.dll strip build-tools/${PLATFORM_NAME}/libwinpthread-1.dll 64 65 rm build-tools/${PLATFORM_NAME}/aapt 66 bin/aapt.exe strip build-tools/${PLATFORM_NAME}/aapt.exe 67 68 rm build-tools/${PLATFORM_NAME}/aapt2 69 bin/aapt2.exe strip build-tools/${PLATFORM_NAME}/aapt2.exe 70 71 rm build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.so 72 lib/libaapt2_jni.dll strip build-tools/${PLATFORM_NAME}/libaapt2_jni.dll 73 74 rm build-tools/${PLATFORM_NAME}/split-select 75 bin/split-select.exe strip build-tools/${PLATFORM_NAME}/split-select.exe 76 77 rm build-tools/${PLATFORM_NAME}/aidl 78 bin/aidl.exe strip build-tools/${PLATFORM_NAME}/aidl.exe 79 80 rm build-tools/${PLATFORM_NAME}/apksigner 81 tools/apksig/etc/apksigner.bat build-tools/${PLATFORM_NAME}/apksigner.bat 82 83 rm build-tools/${PLATFORM_NAME}/zipalign 84 bin/zipalign.exe strip build-tools/${PLATFORM_NAME}/zipalign.exe 85 86 rm build-tools/${PLATFORM_NAME}/dx 87 dalvik/dx/etc/dx.bat build-tools/${PLATFORM_NAME}/dx.bat 88 rm build-tools/${PLATFORM_NAME}/dexdump 89 bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe 90 91 rm build-tools/${PLATFORM_NAME}/llvm-rs-cc 92 bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe 93 94 # libc++.so not needed on Windows. 95 rm build-tools/${PLATFORM_NAME}/lib64/libc++.so 96 97 rm build-tools/${PLATFORM_NAME}/lib64/libLLVM.so 98 lib/libLLVM.dll strip build-tools/${PLATFORM_NAME}/libLLVM.dll 99 100 rm build-tools/${PLATFORM_NAME}/lib64/libclang.so 101 lib/libclang.dll strip build-tools/${PLATFORM_NAME}/libclang.dll 102 103 #bcc not yet compiled on windows 104 105 rm build-tools/${PLATFORM_NAME}/lib64/libbcc.so 106 lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll 107 108 rm build-tools/${PLATFORM_NAME}/lib64/libbcinfo.so 109 lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll 110 111 rm build-tools/${PLATFORM_NAME}/bcc_compat 112 bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe 113 114 rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld 115 prebuilts/sdk/tools/windows/bin/arm-linux-androideabi-ld.exe strip build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe 116 117 rm build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld 118 prebuilts/sdk/tools/windows/bin/aarch64-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld.exe 119 120 rm build-tools/${PLATFORM_NAME}/i686-linux-android-ld 121 prebuilts/sdk/tools/windows/bin/i686-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/i686-linux-android-ld.exe 122 123 rm build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld 124 prebuilts/sdk/tools/windows/bin/x86_64-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld.exe 125 126 rm build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld 127 prebuilts/sdk/tools/windows/bin/mipsel-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld.exe 128 129 dalvik/dx/etc/mainDexClasses.bat build-tools/${PLATFORM_NAME}/mainDexClasses.bat 130 131 132 ############################################################################## 133 # Docs Component 134 ############################################################################## 135 136 external/sonivox/docs/JET_Authoring_Guidelines.html docs/JetCreator/JET_Authoring_Guidelines.html 137 external/sonivox/docs/JET_Authoring_Guidelines_files docs/JetCreator/JET_Authoring_Guidelines_files 138 external/sonivox/docs/JET_Creator_User_Manual.html docs/JetCreator/JET_Creator_User_Manual.html 139 external/sonivox/docs/JET_Creator_User_Manual_files docs/JetCreator/JET_Creator_User_Manual_files 140