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
33rm platform-tools/adb
34rm platform-tools/fastboot
35bin/adb.exe                             strip platform-tools/adb.exe
36bin/fastboot.exe                        strip platform-tools/fastboot.exe
37
38rm platform-tools/e2fsdroid
39rm platform-tools/mke2fs
40bin/mke2fs.exe                          strip platform-tools/mke2fs.exe
41
42rm platform-tools/sload_f2fs
43rm platform-tools/make_f2fs
44bin/make_f2fs.exe                       strip platform-tools/make_f2fs.exe
45
46lib/AdbWinUsbApi.dll                          platform-tools/AdbWinUsbApi.dll
47lib/AdbWinApi.dll                             platform-tools/AdbWinApi.dll
48prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread-1.dll platform-tools/libwinpthread-1.dll
49
50rm platform-tools/sqlite3
51bin/sqlite3.exe                        strip platform-tools/sqlite3.exe
52
53rm platform-tools/dmtracedump
54bin/dmtracedump.exe                    strip platform-tools/dmtracedump.exe
55
56rm platform-tools/hprof-conv
57bin/hprof-conv.exe                     strip platform-tools/hprof-conv.exe
58
59rm platform-tools/etc1tool
60bin/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
72prebuilts/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
74rm build-tools/${PLATFORM_NAME}/aapt
75bin/aapt.exe                            strip build-tools/${PLATFORM_NAME}/aapt.exe
76
77rm build-tools/${PLATFORM_NAME}/aapt2
78bin/aapt2.exe                           strip build-tools/${PLATFORM_NAME}/aapt2.exe
79
80rm build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.so
81lib/libaapt2_jni.dll                    strip build-tools/${PLATFORM_NAME}/libaapt2_jni.dll
82
83rm build-tools/${PLATFORM_NAME}/split-select
84bin/split-select.exe                    strip build-tools/${PLATFORM_NAME}/split-select.exe
85
86rm build-tools/${PLATFORM_NAME}/aidl
87bin/aidl.exe                            strip build-tools/${PLATFORM_NAME}/aidl.exe
88
89rm build-tools/${PLATFORM_NAME}/apksigner
90tools/apksig/etc/apksigner.bat                build-tools/${PLATFORM_NAME}/apksigner.bat
91
92rm build-tools/${PLATFORM_NAME}/zipalign
93bin/zipalign.exe                        strip build-tools/${PLATFORM_NAME}/zipalign.exe
94
95rm build-tools/${PLATFORM_NAME}/dx
96dalvik/dx/etc/dx.bat                          build-tools/${PLATFORM_NAME}/dx.bat
97rm build-tools/${PLATFORM_NAME}/dexdump
98bin/dexdump.exe                         strip build-tools/${PLATFORM_NAME}/dexdump.exe
99
100rm build-tools/${PLATFORM_NAME}/d8
101prebuilts/r8/d8.bat build-tools/${PLATFORM_NAME}/d8.bat
102
103rm build-tools/${PLATFORM_NAME}/llvm-rs-cc
104bin/llvm-rs-cc.exe                      strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
105
106# libc++.so not needed on Windows.
107rm build-tools/${PLATFORM_NAME}/lib64/libc++.so
108
109rm build-tools/${PLATFORM_NAME}/lib64/libLLVM_android.so
110lib/libLLVM_android.dll                 strip build-tools/${PLATFORM_NAME}/libLLVM_android.dll
111
112rm build-tools/${PLATFORM_NAME}/lib64/libclang_android.so
113lib/libclang_android.dll                strip build-tools/${PLATFORM_NAME}/libclang_android.dll
114
115#bcc not yet compiled on windows
116
117rm build-tools/${PLATFORM_NAME}/lib64/libbcc.so
118lib/libbcc.dll                          strip build-tools/${PLATFORM_NAME}/libbcc.dll
119
120rm build-tools/${PLATFORM_NAME}/lib64/libbcinfo.so
121lib/libbcinfo.dll                       strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
122
123rm build-tools/${PLATFORM_NAME}/bcc_compat
124bin/bcc_compat.exe                      strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
125
126rm build-tools/${PLATFORM_NAME}/lib64/libc++.so.1
127
128rm build-tools/${PLATFORM_NAME}/lld
129rm build-tools/${PLATFORM_NAME}/lld-bin/lld
130
131# lld linker trampoline (invokes actual lld linker at lld-bin/lld.exe)
132bin/lld.exe                                                 strip build-tools/${PLATFORM_NAME}/lld.exe
133
134# actual lld linker, and dependent library
135prebuilts/sdk/tools/windows/bin/lld.exe                     strip build-tools/${PLATFORM_NAME}/lld-bin/lld.exe
136prebuilts/sdk/tools/windows/bin/lib64/libwinpthread-1.dll   strip build-tools/${PLATFORM_NAME}/lld-bin/libwinpthread-1.dll
137
138dalvik/dx/etc/mainDexClasses.bat             build-tools/${PLATFORM_NAME}/mainDexClasses.bat
139
140
141##############################################################################
142# Docs Component
143##############################################################################
144
145external/sonivox/docs/JET_Authoring_Guidelines.html   docs/JetCreator/JET_Authoring_Guidelines.html
146external/sonivox/docs/JET_Authoring_Guidelines_files  docs/JetCreator/JET_Authoring_Guidelines_files
147external/sonivox/docs/JET_Creator_User_Manual.html    docs/JetCreator/JET_Creator_User_Manual.html
148external/sonivox/docs/JET_Creator_User_Manual_files   docs/JetCreator/JET_Creator_User_Manual_files
149