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