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 38 rm platform-tools/e2fsdroid 39 rm platform-tools/mke2fs 40 bin/mke2fs.exe strip platform-tools/mke2fs.exe 41 42 rm platform-tools/sload_f2fs 43 rm platform-tools/make_f2fs 44 bin/make_f2fs.exe strip platform-tools/make_f2fs.exe 45 46 lib/AdbWinUsbApi.dll platform-tools/AdbWinUsbApi.dll 47 lib/AdbWinApi.dll platform-tools/AdbWinApi.dll 48 prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread-1.dll platform-tools/libwinpthread-1.dll 49 50 rm platform-tools/sqlite3 51 bin/sqlite3.exe strip platform-tools/sqlite3.exe 52 53 rm platform-tools/dmtracedump 54 bin/dmtracedump.exe strip platform-tools/dmtracedump.exe 55 56 rm platform-tools/hprof-conv 57 bin/hprof-conv.exe strip platform-tools/hprof-conv.exe 58 59 rm platform-tools/etc1tool 60 bin/etc1tool.exe strip platform-tools/etc1tool.exe 61 62 63 64 ############################################################################## 65 # Build Tools Component 66 ############################################################################## 67 # Note that the build-tools sub-folder uses the platform-name as a placeholder 68 # at build-time. Packaging will later change that to the actual build-tools 69 # revision as specified in the source.properties. 70 71 # Needed by all binaries compiled by mingw32-64 72 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 73 74 rm build-tools/${PLATFORM_NAME}/aapt 75 bin/aapt.exe strip build-tools/${PLATFORM_NAME}/aapt.exe 76 77 rm build-tools/${PLATFORM_NAME}/aapt2 78 bin/aapt2.exe strip build-tools/${PLATFORM_NAME}/aapt2.exe 79 80 rm build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.so 81 lib/libaapt2_jni.dll strip build-tools/${PLATFORM_NAME}/libaapt2_jni.dll 82 83 rm build-tools/${PLATFORM_NAME}/split-select 84 bin/split-select.exe strip build-tools/${PLATFORM_NAME}/split-select.exe 85 86 rm build-tools/${PLATFORM_NAME}/aidl 87 bin/aidl.exe strip build-tools/${PLATFORM_NAME}/aidl.exe 88 89 rm build-tools/${PLATFORM_NAME}/apksigner 90 tools/apksig/etc/apksigner.bat build-tools/${PLATFORM_NAME}/apksigner.bat 91 92 rm build-tools/${PLATFORM_NAME}/zipalign 93 bin/zipalign.exe strip build-tools/${PLATFORM_NAME}/zipalign.exe 94 95 rm build-tools/${PLATFORM_NAME}/dx 96 dalvik/dx/etc/dx.bat build-tools/${PLATFORM_NAME}/dx.bat 97 rm build-tools/${PLATFORM_NAME}/dexdump 98 bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe 99 100 rm build-tools/${PLATFORM_NAME}/d8 101 prebuilts/r8/d8.bat build-tools/${PLATFORM_NAME}/d8.bat 102 103 rm build-tools/${PLATFORM_NAME}/llvm-rs-cc 104 bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe 105 106 # libc++.so not needed on Windows. 107 rm build-tools/${PLATFORM_NAME}/lib64/libc++.so 108 109 rm build-tools/${PLATFORM_NAME}/lib64/libLLVM_android.so 110 lib/libLLVM_android.dll strip build-tools/${PLATFORM_NAME}/libLLVM_android.dll 111 112 rm build-tools/${PLATFORM_NAME}/lib64/libclang_android.so 113 lib/libclang_android.dll strip build-tools/${PLATFORM_NAME}/libclang_android.dll 114 115 #bcc not yet compiled on windows 116 117 rm build-tools/${PLATFORM_NAME}/lib64/libbcc.so 118 lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll 119 120 rm build-tools/${PLATFORM_NAME}/lib64/libbcinfo.so 121 lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll 122 123 rm build-tools/${PLATFORM_NAME}/bcc_compat 124 bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe 125 126 rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld 127 prebuilts/sdk/tools/windows/bin/arm-linux-androideabi-ld.exe strip build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe 128 129 rm build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld 130 prebuilts/sdk/tools/windows/bin/aarch64-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld.exe 131 132 rm build-tools/${PLATFORM_NAME}/i686-linux-android-ld 133 prebuilts/sdk/tools/windows/bin/i686-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/i686-linux-android-ld.exe 134 135 rm build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld 136 prebuilts/sdk/tools/windows/bin/x86_64-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld.exe 137 138 rm build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld 139 prebuilts/sdk/tools/windows/bin/mipsel-linux-android-ld.exe strip build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld.exe 140 141 dalvik/dx/etc/mainDexClasses.bat build-tools/${PLATFORM_NAME}/mainDexClasses.bat 142 143 144 ############################################################################## 145 # Docs Component 146 ############################################################################## 147 148 external/sonivox/docs/JET_Authoring_Guidelines.html docs/JetCreator/JET_Authoring_Guidelines.html 149 external/sonivox/docs/JET_Authoring_Guidelines_files docs/JetCreator/JET_Authoring_Guidelines_files 150 external/sonivox/docs/JET_Creator_User_Manual.html docs/JetCreator/JET_Creator_User_Manual.html 151 external/sonivox/docs/JET_Creator_User_Manual_files docs/JetCreator/JET_Creator_User_Manual_files 152