Home | History | Annotate | Download | only in build
      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 
     40 
     41 ##############################################################################
     42 # Build Tools Component
     43 ##############################################################################
     44 # Note that the build-tools sub-folder uses the platform-name as a placeholder
     45 # at build-time. Packaging will later change that to the actual build-tools
     46 # revision as specified in the source.properties.
     47 
     48 rm build-tools/${PLATFORM_NAME}/aapt
     49 bin/aapt.exe                            strip build-tools/${PLATFORM_NAME}/aapt.exe
     50 
     51 rm build-tools/${PLATFORM_NAME}/aidl
     52 bin/aidl.exe                            strip build-tools/${PLATFORM_NAME}/aidl.exe
     53 
     54 rm build-tools/${PLATFORM_NAME}/dx
     55 dalvik/dx/etc/dx.bat                          build-tools/${PLATFORM_NAME}/dx.bat
     56 rm build-tools/${PLATFORM_NAME}/dexdump
     57 bin/dexdump.exe                         strip build-tools/${PLATFORM_NAME}/dexdump.exe
     58 
     59 rm build-tools/${PLATFORM_NAME}/llvm-rs-cc
     60 bin/llvm-rs-cc.exe                      strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
     61 
     62 rm build-tools/${PLATFORM_NAME}/libLLVM.so
     63 lib/libLLVM.dll                         strip build-tools/${PLATFORM_NAME}/libLLVM.dll
     64 
     65 rm build-tools/${PLATFORM_NAME}/libclang.so
     66 lib/libclang.dll                        strip build-tools/${PLATFORM_NAME}/libclang.dll
     67 
     68 #bcc not yet compiled on windows
     69 
     70 rm build-tools/${PLATFORM_NAME}/libbcc.so
     71 lib/libbcc.dll                          strip build-tools/${PLATFORM_NAME}/libbcc.dll
     72 
     73 rm build-tools/${PLATFORM_NAME}/libbcinfo.so
     74 lib/libbcinfo.dll                       strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
     75 
     76 rm build-tools/${PLATFORM_NAME}/bcc_compat
     77 bin/bcc_compat.exe                      strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
     78 
     79 rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld
     80 prebuilts/sdk/tools/windows/arm-linux-androideabi-ld.exe   strip build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe
     81 
     82 rm build-tools/${PLATFORM_NAME}/i686-linux-android-ld
     83 prebuilts/sdk/tools/windows/i686-linux-android-ld.exe      strip build-tools/${PLATFORM_NAME}/i686-linux-android-ld.exe
     84 
     85 rm build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld
     86 prebuilts/sdk/tools/windows/mipsel-linux-android-ld.exe    strip build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld.exe
     87 
     88 
     89 ##############################################################################
     90 # Docs Component
     91 ##############################################################################
     92 
     93 external/sonivox/docs/JET_Authoring_Guidelines.html   docs/JetCreator/JET_Authoring_Guidelines.html
     94 external/sonivox/docs/JET_Authoring_Guidelines_files  docs/JetCreator/JET_Authoring_Guidelines_files
     95 external/sonivox/docs/JET_Creator_User_Manual.html    docs/JetCreator/JET_Creator_User_Manual.html
     96 external/sonivox/docs/JET_Creator_User_Manual_files   docs/JetCreator/JET_Creator_User_Manual_files
     97 
     98