blob: 043ae1a2b2ccc04aa5072fa5ae177863112479b2 [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
44bin/make_f2fs.exe strip platform-tools/make_f2fs.exe
45
Josh Gao610418d2018-01-02 12:02:57 -080046lib/AdbWinUsbApi.dll platform-tools/AdbWinUsbApi.dll
47lib/AdbWinApi.dll platform-tools/AdbWinApi.dll
Josh Gaoa920f752017-03-09 16:00:52 -080048prebuilts/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 -070049
Xavier Ducrohet4049f602014-06-17 22:01:07 -070050rm platform-tools/sqlite3
Xavier Ducrohetac219502014-06-21 14:55:52 -070051bin/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
Xavier Ducrohet0f0b7862014-06-17 20:25:57 -070062
Raphaelbc162202011-09-14 21:12:15 -070063
Raphael Moll9ca69cf2013-02-12 13:48:39 -080064##############################################################################
65# Build Tools Component
66##############################################################################
Xavier Ducrohetafda1d32013-07-25 10:40:54 -070067# 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.
Raphaelbc162202011-09-14 21:12:15 -070070
Adam Lesinskie2a83792017-03-29 19:46:18 -070071# 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
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070074rm build-tools/${PLATFORM_NAME}/aapt
75bin/aapt.exe strip build-tools/${PLATFORM_NAME}/aapt.exe
Raphaelbc162202011-09-14 21:12:15 -070076
Adam Lesinski09611852016-04-19 10:35:53 -070077rm build-tools/${PLATFORM_NAME}/aapt2
78bin/aapt2.exe strip build-tools/${PLATFORM_NAME}/aapt2.exe
79
Adam Lesinski8bb66e62016-11-08 11:39:47 -080080rm build-tools/${PLATFORM_NAME}/lib64/libaapt2_jni.so
81lib/libaapt2_jni.dll strip build-tools/${PLATFORM_NAME}/libaapt2_jni.dll
82
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070083rm build-tools/${PLATFORM_NAME}/split-select
84bin/split-select.exe strip build-tools/${PLATFORM_NAME}/split-select.exe
Adam Lesinskid155da92014-11-04 14:10:51 -080085
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070086rm build-tools/${PLATFORM_NAME}/aidl
87bin/aidl.exe strip build-tools/${PLATFORM_NAME}/aidl.exe
Raphaelbc162202011-09-14 21:12:15 -070088
Alex Klyubin9022cd42016-09-15 14:38:00 -070089rm build-tools/${PLATFORM_NAME}/apksigner
90tools/apksig/etc/apksigner.bat build-tools/${PLATFORM_NAME}/apksigner.bat
91
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070092rm build-tools/${PLATFORM_NAME}/zipalign
93bin/zipalign.exe strip build-tools/${PLATFORM_NAME}/zipalign.exe
Xavier Ducrohet76510e22014-04-02 18:13:35 -070094
Raphael Moll9ca69cf2013-02-12 13:48:39 -080095rm build-tools/${PLATFORM_NAME}/dx
96dalvik/dx/etc/dx.bat build-tools/${PLATFORM_NAME}/dx.bat
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -070097rm build-tools/${PLATFORM_NAME}/dexdump
98bin/dexdump.exe strip build-tools/${PLATFORM_NAME}/dexdump.exe
Raphael Moll9ca69cf2013-02-12 13:48:39 -080099
Ivan Gavrilovice05b47b2018-05-17 10:34:31 +0100100rm build-tools/${PLATFORM_NAME}/d8
101prebuilts/r8/d8.bat build-tools/${PLATFORM_NAME}/d8.bat
102
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700103rm build-tools/${PLATFORM_NAME}/llvm-rs-cc
104bin/llvm-rs-cc.exe strip build-tools/${PLATFORM_NAME}/llvm-rs-cc.exe
Stephen Hines3f2caae2014-09-29 18:06:39 -0700105
Miao Wangafe2d242015-10-13 13:03:42 -0700106# libc++.so not needed on Windows.
Miao Wang050c66a2015-10-13 18:02:44 -0700107rm build-tools/${PLATFORM_NAME}/lib64/libc++.so
Miao Wangafe2d242015-10-13 13:03:42 -0700108
Pirama Arumuga Nainar29c7b8f2017-11-09 15:38:47 -0800109rm build-tools/${PLATFORM_NAME}/lib64/libLLVM_android.so
110lib/libLLVM_android.dll strip build-tools/${PLATFORM_NAME}/libLLVM_android.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700111
Pirama Arumuga Nainar29c7b8f2017-11-09 15:38:47 -0800112rm build-tools/${PLATFORM_NAME}/lib64/libclang_android.so
113lib/libclang_android.dll strip build-tools/${PLATFORM_NAME}/libclang_android.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700114
115#bcc not yet compiled on windows
116
Ying Wang896afb02015-08-03 11:36:50 -0700117rm build-tools/${PLATFORM_NAME}/lib64/libbcc.so
Miao Wangafe2d242015-10-13 13:03:42 -0700118lib/libbcc.dll strip build-tools/${PLATFORM_NAME}/libbcc.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700119
Ying Wang896afb02015-08-03 11:36:50 -0700120rm build-tools/${PLATFORM_NAME}/lib64/libbcinfo.so
Miao Wangafe2d242015-10-13 13:03:42 -0700121lib/libbcinfo.dll strip build-tools/${PLATFORM_NAME}/libbcinfo.dll
Stephen Hines3f2caae2014-09-29 18:06:39 -0700122
Xavier Ducrohetf4c73da2015-06-02 10:20:16 -0700123rm build-tools/${PLATFORM_NAME}/bcc_compat
124bin/bcc_compat.exe strip build-tools/${PLATFORM_NAME}/bcc_compat.exe
Xavier Ducrohetebacf022014-06-17 21:36:30 -0700125
David Gross94075722020-04-29 14:26:10 -0700126rm build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld
127prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/arm-linux-androideabi-ld.exe
128
129rm build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld
130prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/aarch64-linux-android-ld.exe
131
132rm build-tools/${PLATFORM_NAME}/i686-linux-android-ld
133prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/i686-linux-android-ld.exe
134
135rm build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld
136prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/x86_64-linux-android-ld.exe
137
138rm build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld
139prebuilts/sdk/tools/lld-dummy build-tools/${PLATFORM_NAME}/mipsel-linux-android-ld.exe
140
David Grosse9351e52020-02-27 15:11:36 -0800141rm build-tools/${PLATFORM_NAME}/lib64/libc++.so.1
142
David Grossc22ed0e2019-11-27 17:20:54 -0800143rm build-tools/${PLATFORM_NAME}/lld
David Grosse9351e52020-02-27 15:11:36 -0800144rm build-tools/${PLATFORM_NAME}/lld-bin/lld
David Gross24e52952020-03-02 17:40:16 -0800145
146# lld linker trampoline (invokes actual lld linker at lld-bin/lld.exe)
147bin/lld.exe strip build-tools/${PLATFORM_NAME}/lld.exe
148
149# actual lld linker, and dependent library
Colin Cross359ef3d2020-03-17 16:23:55 -0700150prebuilts/sdk/tools/windows/lld-bin/lld.exe strip build-tools/${PLATFORM_NAME}/lld-bin/lld.exe
151prebuilts/sdk/tools/windows/lld-bin/libwinpthread-1.dll strip build-tools/${PLATFORM_NAME}/lld-bin/libwinpthread-1.dll
David Grossc22ed0e2019-11-27 17:20:54 -0800152
Xavier Ducrohet8641d4d2014-10-31 13:47:47 -0700153dalvik/dx/etc/mainDexClasses.bat build-tools/${PLATFORM_NAME}/mainDexClasses.bat
Xavier Ducrohet8361bb02014-10-29 09:49:40 -0700154
Raphael Moll9ca69cf2013-02-12 13:48:39 -0800155
156##############################################################################
157# Docs Component
158##############################################################################
Raphaelbc162202011-09-14 21:12:15 -0700159
Raphaelbc162202011-09-14 21:12:15 -0700160external/sonivox/docs/JET_Authoring_Guidelines.html docs/JetCreator/JET_Authoring_Guidelines.html
161external/sonivox/docs/JET_Authoring_Guidelines_files docs/JetCreator/JET_Authoring_Guidelines_files
162external/sonivox/docs/JET_Creator_User_Manual.html docs/JetCreator/JET_Creator_User_Manual.html
163external/sonivox/docs/JET_Creator_User_Manual_files docs/JetCreator/JET_Creator_User_Manual_files