blob: f59ec34a0e86fb634f69f13636560f08e6473e71 [file] [log] [blame]
Raphaelbc162202011-09-14 21:12:15 -07001#
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
Raphael Moll9ca69cf2013-02-12 13:48:39 -080029##############################################################################
30# Platform Tools Component
31##############################################################################
32
Raphaelbc162202011-09-14 21:12:15 -070033rm platform-tools/adb
Raphael476edba2011-10-22 23:41:13 -070034rm platform-tools/fastboot
Raphaelbc162202011-09-14 21:12:15 -070035bin/adb.exe strip platform-tools/adb.exe
Raphael476edba2011-10-22 23:41:13 -070036bin/fastboot.exe strip platform-tools/fastboot.exe
Josh Gao35959de2017-09-05 11:30:29 -070037
Jin Qian144a26e2017-09-07 11:00:53 -070038rm platform-tools/e2fsdroid
Josh Gao35959de2017-09-05 11:30:29 -070039rm platform-tools/mke2fs
40bin/mke2fs.exe strip platform-tools/mke2fs.exe
41
Jaegeuk Kima91b4092017-12-06 11:15:11 -080042rm platform-tools/sload_f2fs
43rm platform-tools/make_f2fs
Jaegeuk Kim111f8732020-07-17 20:21:46 -070044rm platform-tools/make_f2fs_casefold
Joe Baker-Maloned2ce5492020-10-15 22:17:56 +000045
46# libc++.so not needed on Windows, and that's the only thing here
47rm platform-tools/lib64
48
Jaegeuk Kima91b4092017-12-06 11:15:11 -080049bin/make_f2fs.exe strip platform-tools/make_f2fs.exe
Jaegeuk Kim111f8732020-07-17 20:21:46 -070050bin/make_f2fs_casefold.exe strip platform-tools/make_f2fs_casefold.exe
Jaegeuk Kima91b4092017-12-06 11:15:11 -080051
Josh Gao610418d2018-01-02 12:02:57 -080052lib/AdbWinUsbApi.dll platform-tools/AdbWinUsbApi.dll
53lib/AdbWinApi.dll platform-tools/AdbWinApi.dll
Josh Gaoa920f752017-03-09 16:00:52 -080054prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libwinpthread-1.dll platform-tools/libwinpthread-1.dll
Raphaelbc162202011-09-14 21:12:15 -070055
Xavier Ducrohet4049f602014-06-17 22:01:07 -070056rm platform-tools/sqlite3
Xavier Ducrohetac219502014-06-21 14:55:52 -070057bin/sqlite3.exe strip platform-tools/sqlite3.exe
58
59rm platform-tools/dmtracedump
60bin/dmtracedump.exe strip platform-tools/dmtracedump.exe
61
62rm platform-tools/hprof-conv
63bin/hprof-conv.exe strip platform-tools/hprof-conv.exe
64
65rm platform-tools/etc1tool
66bin/etc1tool.exe strip platform-tools/etc1tool.exe
67
Xavier Ducrohet0f0b7862014-06-17 20:25:57 -070068
Raphaelbc162202011-09-14 21:12:15 -070069
Raphael Moll9ca69cf2013-02-12 13:48:39 -080070##############################################################################
71# Build Tools Component
72##############################################################################
Xavier Ducrohetafda1d32013-07-25 10:40:54 -070073# Note that the build-tools sub-folder uses the platform-name as a placeholder
74# at build-time. Packaging will later change that to the actual build-tools
75# revision as specified in the source.properties.
Raphaelbc162202011-09-14 21:12:15 -070076
Adam Lesinskie2a83792017-03-29 19:46:18 -070077# Needed by all binaries compiled by mingw32-64
78prebuilts/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
79
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070080rm build-tools/${PLATFORM_NAME}/aapt
81bin/aapt.exe strip build-tools/${PLATFORM_NAME}/aapt.exe
Raphaelbc162202011-09-14 21:12:15 -070082
Adam Lesinski09611852016-04-19 10:35:53 -070083rm build-tools/${PLATFORM_NAME}/aapt2
84bin/aapt2.exe strip build-tools/${PLATFORM_NAME}/aapt2.exe
85
Adam Lesinski8bb66e62016-11-08 11:39:47 -080086rm build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.so
87lib/libaapt2_jni.dll strip build-tools/${PLATFORM_NAME}/libaapt2_jni.dll
88
Colin Crossb9d10f82020-12-02 14:38:27 -080089# Also include a 64-bit version of libaapt2_jni.dll for use by 64-bit JVMs.
90lib64/libaapt2_jni.dll strip build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.dll
91
92# Also include the 64-bit libwinpthread-1.dll needed by libaapt2_jni.dll.
93prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/bin/libwinpthread-1.dll strip build-tools/${PLATFORM_NAME}/lib64/libwinpthread-1.dll
94
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070095rm build-tools/${PLATFORM_NAME}/split-select
96bin/split-select.exe strip build-tools/${PLATFORM_NAME}/split-select.exe
Adam Lesinskid155da92014-11-04 14:10:51 -080097
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070098rm build-tools/${PLATFORM_NAME}/aidl
99bin/aidl.exe strip build-tools/${PLATFORM_NAME}/aidl.exe
Raphaelbc162202011-09-14 21:12:15 -0700100
Alex Klyubin9022cd42016-09-15 14:38:00 -0700101rm build-tools/${PLATFORM_NAME}/apksigner
102tools/apksig/etc/apksigner.bat build-tools/${PLATFORM_NAME}/apksigner.bat
103
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700104rm build-tools/${PLATFORM_NAME}/zipalign
105bin/zipalign.exe strip build-tools/${PLATFORM_NAME}/zipalign.exe
Xavier Ducrohet76510e22014-04-02 18:13:35 -0700106
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700107rm build-tools/${PLATFORM_NAME}/dexdump
108bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe
Raphael Moll9ca69cf2013-02-12 13:48:39 -0800109
Ivan Gavrilovice05b47b2018-05-17 10:34:31 +0100110rm build-tools/${PLATFORM_NAME}/d8
111prebuilts/r8/d8.bat build-tools/${PLATFORM_NAME}/d8.bat
112
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700113rm build-tools/${PLATFORM_NAME}/llvm-rs-cc
114bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
Stephen Hines3f2caae2014-09-29 18:06:39 -0700115
Miao Wangafe2d242015-10-13 13:03:42 -0700116# libc++.so not needed on Windows.
Miao Wang050c66a2015-10-13 18:02:44 -0700117rm build-tools/${PLATFORM_NAME}/lib64/libc++.so
Miao Wangafe2d242015-10-13 13:03:42 -0700118
Pirama Arumuga Nainar29c7b8f2017-11-09 15:38:47 -0800119rm build-tools/${PLATFORM_NAME}/lib64/libLLVM_android.so
120lib/libLLVM_android.dll strip build-tools/${PLATFORM_NAME}/libLLVM_android.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700121
Pirama Arumuga Nainar29c7b8f2017-11-09 15:38:47 -0800122rm build-tools/${PLATFORM_NAME}/lib64/libclang_android.so
123lib/libclang_android.dll strip build-tools/${PLATFORM_NAME}/libclang_android.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700124
125#bcc not yet compiled on windows
126
Ying Wang896afb02015-08-03 11:36:50 -0700127rm build-tools/${PLATFORM_NAME}/lib64/libbcc.so
Miao Wangafe2d242015-10-13 13:03:42 -0700128lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700129
Ying Wang896afb02015-08-03 11:36:50 -0700130rm build-tools/${PLATFORM_NAME}/lib64/libbcinfo.so
Miao Wangafe2d242015-10-13 13:03:42 -0700131lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700132
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700133rm build-tools/${PLATFORM_NAME}/bcc_compat
134bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
Xavier Ducrohetebacf022014-06-17 21:36:30 -0700135
David Gross94075722020-04-29 14:26:10 -0700136rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld
137prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe
138
139rm build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld
140prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld.exe
141
142rm build-tools/${PLATFORM_NAME}/i686-linux-android-ld
143prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/i686-linux-android-ld.exe
144
145rm build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld
146prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld.exe
147
148rm build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld
149prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld.exe
150
David Gross47225772020-02-27 15:11:36 -0800151rm build-tools/${PLATFORM_NAME}/lib64/libc++.so.1
152
David Gross00be4d02019-11-27 17:20:54 -0800153rm build-tools/${PLATFORM_NAME}/lld
David Gross47225772020-02-27 15:11:36 -0800154rm build-tools/${PLATFORM_NAME}/lld-bin/lld
David Grossa893a3f2020-03-02 17:40:16 -0800155
156# lld linker trampoline (invokes actual lld linker at lld-bin/lld.exe)
157bin/lld.exe strip build-tools/${PLATFORM_NAME}/lld.exe
158
159# actual lld linker, and dependent library
Colin Cross359ef3d2020-03-17 16:23:55 -0700160prebuilts/sdk/tools/windows/lld-bin/lld.exe strip build-tools/${PLATFORM_NAME}/lld-bin/lld.exe
161prebuilts/sdk/tools/windows/lld-bin/libwinpthread-1.dll strip build-tools/${PLATFORM_NAME}/lld-bin/libwinpthread-1.dll
David Gross00be4d02019-11-27 17:20:54 -0800162
Xavier Ducrohet8641d4d2014-10-31 13:47:47 -0700163dalvik/dx/etc/mainDexClasses.bat build-tools/${PLATFORM_NAME}/mainDexClasses.bat
Xavier Ducrohet8361bb02014-10-29 09:49:40 -0700164
Raphael Moll9ca69cf2013-02-12 13:48:39 -0800165
166##############################################################################
167# Docs Component
168##############################################################################
Raphaelbc162202011-09-14 21:12:15 -0700169
Raphaelbc162202011-09-14 21:12:15 -0700170external/sonivox/docs/JET_Authoring_Guidelines.html docs/JetCreator/JET_Authoring_Guidelines.html
171external/sonivox/docs/JET_Authoring_Guidelines_files docs/JetCreator/JET_Authoring_Guidelines_files
172external/sonivox/docs/JET_Creator_User_Manual.html docs/JetCreator/JET_Creator_User_Manual.html
173external/sonivox/docs/JET_Creator_User_Manual_files docs/JetCreator/JET_Creator_User_Manual_files