Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / browser / installer / package-manifest.in
blob5f83b199b7afc89eb5bd2df0d35c443f702c6b59
1 ; This Source Code Form is subject to the terms of the Mozilla Public
2 ; License, v. 2.0. If a copy of the MPL was not distributed with this
3 ; file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 ; Package file for the Firefox build.
7 ; Packaging manifest is used to copy files from dist/bin
8 ; to the staging directory.
9 ; Some other files are built in the staging directory directly,
10 ; so they will be implicitly packaged too.
12 ; File format:
14 ; [] designates a toplevel component. Example: [xpcom]
15 ; - in front of a file specifies it to be removed from the destination
16 ; * wildcard support to recursively copy the entire directory
17 ; ; file comment
20 ; Due to Apple Mac OS X packaging requirements, files that are in the same
21 ; directory on other platforms must be located in different directories on
22 ; Mac OS X. The following defines allow specifying the Mac OS X bundle
23 ; location which also work on other platforms.
25 ; @BINPATH@
26 ; Equals Contents/MacOS/ on Mac OS X and is the path to the main binary on other
27 ; platforms.
29 ; @RESPATH@
30 ; Equals Contents/Resources/ on Mac OS X and is equivalent to @BINPATH@ on other
31 ; platforms.
33 #filter substitution
35 #ifdef XP_MACOSX
36 ; Mac bundle stuff
37 @APPNAME@/Contents/Info.plist
38 #ifdef MOZ_UPDATER
39 @APPNAME@/Contents/Library/LaunchServices
40 #endif
41 @APPNAME@/Contents/Frameworks
42 @APPNAME@/Contents/PkgInfo
43 @RESPATH@/firefox.icns
44 @RESPATH@/document.icns
45 @RESPATH@/@LPROJ_ROOT@.lproj/*
46 #endif
48 [@AB_CD@]
49 @RESPATH@/dictionaries/*
50 @RESPATH@/browser/localization/*
51 @RESPATH@/localization/*
52 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
53 @RESPATH@/fonts/*
54 #endif
55 @RESPATH@/hyphenation/*
56 @RESPATH@/browser/@PREF_DIR@/firefox-l10n.js
57 #ifdef HAVE_MAKENSISU
58 @BINPATH@/uninstall/helper.exe
59 #endif
60 #ifdef MOZ_UPDATER
61 @RESPATH@/update.locale
62 @RESPATH@/updater.ini
63 #endif
64 #if defined(MOZ_UPDATE_AGENT)
65 @RESPATH@/locale.ini
66 #endif
68 [xpcom]
69 @RESPATH@/dependentlibs.list
70 #ifdef MOZ_SHARED_MOZGLUE
71 @BINPATH@/@DLL_PREFIX@mozglue@DLL_SUFFIX@
72 #endif
73 #ifndef MOZ_STATIC_JS
74 @BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
75 #endif
76 #ifndef MOZ_SYSTEM_NSPR
77 #ifndef MOZ_FOLD_LIBS
78 @BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
79 @BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
80 @BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
81 #endif
82 #endif
83 #ifdef XP_MACOSX
84 @BINPATH@/XUL
85 #else
86 @BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
87 #endif
88 #ifdef XP_MACOSX
89 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
90 @BINPATH@/@MOZ_EME_PROCESS_NAME@.app/
91 #endif
92 #ifdef XP_WIN
93 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@
94 #if MOZ_PACKAGE_MSVC_DLLS
95 @BINPATH@/@MSVC_C_RUNTIME_DLL@
96 #ifdef MSVC_C_RUNTIME_1_DLL
97 @BINPATH@/@MSVC_C_RUNTIME_1_DLL@
98 #endif
99 @BINPATH@/@MSVC_CXX_RUNTIME_DLL@
100 #endif
101 #endif
102 #ifdef MOZ_GTK
103 @BINPATH@/glxtest
104 @BINPATH@/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
105 #ifdef MOZ_WAYLAND
106 @BINPATH@/@DLL_PREFIX@mozwayland@DLL_SUFFIX@
107 #endif
108 #ifdef MOZ_ENABLE_V4L2
109 @BINPATH@/v4l2test
110 #endif
111 #ifdef MOZ_ENABLE_VAAPI
112 @BINPATH@/vaapitest
113 #endif
114 #endif
116 ; We don't have a complete view of which dlls to expect when doing an artifact
117 ; build because we haven't run the relevant parts of configure, so we guess
118 ; here and trust what came from our source build.
119 #if defined(MOZ_ARTIFACT_BUILDS) && defined(XP_WIN)
120 @BINPATH@/vcruntime*.dll
121 @BINPATH@/msvcp*.dll
122 @BINPATH@/libEGL.dll
123 @BINPATH@/libGLESv2.dll
124 #endif
126 [browser]
127 ; [Base Browser Files]
128 #ifndef XP_UNIX
129 @BINPATH@/@MOZ_APP_NAME@.exe
130 @BINPATH@/firefox.VisualElementsManifest.xml
131 @BINPATH@/browser/VisualElements/VisualElements_150.png
132 @BINPATH@/browser/VisualElements/VisualElements_70.png
133 @BINPATH@/private_browsing.exe
134 @BINPATH@/private_browsing.VisualElementsManifest.xml
135 @BINPATH@/browser/VisualElements/PrivateBrowsing_150.png
136 @BINPATH@/browser/VisualElements/PrivateBrowsing_70.png
137 #else
138 #ifndef XP_MACOSX
139 @BINPATH@/@MOZ_APP_NAME@-bin
140 #endif
141 @BINPATH@/@MOZ_APP_NAME@
142 #endif
143 @RESPATH@/application.ini
144 #ifdef MOZ_UPDATER
145 # update-settings.ini has been removed on macOS.
146 #ifndef XP_MACOSX
147 @RESPATH@/update-settings.ini
148 #endif
149 #endif
150 @RESPATH@/platform.ini
151 #ifndef MOZ_FOLD_LIBS
152 @BINPATH@/@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
153 #endif
154 @BINPATH@/@DLL_PREFIX@lgpllibs@DLL_SUFFIX@
155 @BINPATH@/@DLL_PREFIX@gkcodecs@DLL_SUFFIX@
156 @BINPATH@/@DLL_PREFIX@mozavutil@DLL_SUFFIX@
157 @BINPATH@/@DLL_PREFIX@mozavcodec@DLL_SUFFIX@
159 ; [Components]
160 #ifdef ACCESSIBILITY
161 #ifdef XP_WIN
162 @BINPATH@/AccessibleMarshal.dll
163 #endif
164 #endif
166 ; JavaScript components
167 @RESPATH@/browser/components/BrowserComponents.manifest
168 @RESPATH@/components/extensions.manifest
169 #ifdef MOZ_UPDATER
170 @RESPATH@/components/nsUpdateService.manifest
171 #endif
172 @RESPATH@/components/ProcessSingleton.manifest
173 @RESPATH@/components/SyncComponents.manifest
174 @RESPATH@/components/servicesComponents.manifest
175 @RESPATH@/components/servicesSettings.manifest
176 @RESPATH@/components/cryptoComponents.manifest
177 @RESPATH@/components/TelemetryStartup.manifest
179 @RESPATH@/components/Push.manifest
181 @RESPATH@/components/antitracking.manifest
183 @RESPATH@/components/l10n-registry.manifest
184 @RESPATH@/browser/components/l10n-registry.manifest
186 ; WebDriver (Marionette, Remote Agent) remote protocols
187 #ifdef ENABLE_WEBDRIVER
188 @RESPATH@/chrome/remote@JAREXT@
189 @RESPATH@/chrome/remote.manifest
190 #endif
192 ; [Extensions]
193 @RESPATH@/components/extensions-toolkit.manifest
194 @RESPATH@/browser/components/extensions-browser.manifest
196 ; Modules
197 @RESPATH@/browser/modules/*
198 @RESPATH@/modules/*
199 @RESPATH@/browser/actors/*
200 @RESPATH@/actors/*
202 ; ANGLE GLES-on-D3D rendering library
203 #ifdef MOZ_ANGLE_RENDERER
204 @BINPATH@/libEGL.dll
205 @BINPATH@/libGLESv2.dll
206 #endif # MOZ_ANGLE_RENDERER
208 ; [Browser Chrome Files]
209 @RESPATH@/browser/chrome.manifest
210 @RESPATH@/browser/chrome/browser@JAREXT@
211 @RESPATH@/browser/chrome/browser.manifest
212 @RESPATH@/chrome/pdfjs.manifest
213 @RESPATH@/chrome/pdfjs/*
214 @RESPATH@/chrome/toolkit@JAREXT@
215 @RESPATH@/chrome/toolkit.manifest
216 #ifdef MOZ_GTK
217 @RESPATH@/browser/chrome/icons/default/default16.png
218 @RESPATH@/browser/chrome/icons/default/default32.png
219 @RESPATH@/browser/chrome/icons/default/default48.png
220 @RESPATH@/browser/chrome/icons/default/default64.png
221 @RESPATH@/browser/chrome/icons/default/default128.png
222 #endif
223 @RESPATH@/browser/features/*
225 ; [DevTools Startup Files]
226 @RESPATH@/browser/chrome/devtools-startup@JAREXT@
227 @RESPATH@/browser/chrome/devtools-startup.manifest
229 ; DevTools
230 @RESPATH@/browser/chrome/devtools@JAREXT@
231 @RESPATH@/browser/chrome/devtools.manifest
232 @RESPATH@/browser/@PREF_DIR@/debugger.js
234 ; shell icons
235 #ifdef XP_UNIX
236 #ifndef XP_MACOSX
237 #ifdef MOZ_UPDATER
238 ; updater icon
239 @RESPATH@/icons/updater.png
240 #endif
241 #endif
242 #endif
244 ; [Default Preferences]
245 ; All the pref files must be part of base to prevent migration bugs
246 @RESPATH@/browser/@PREF_DIR@/firefox.js
247 @RESPATH@/browser/@PREF_DIR@/firefox-branding.js
248 @RESPATH@/greprefs.js
249 @RESPATH@/defaults/autoconfig/prefcalls.js
250 @RESPATH@/browser/defaults/permissions
251 ; Remote Settings JSON dumps
252 @RESPATH@/browser/defaults/settings/last_modified.json
253 @RESPATH@/browser/defaults/settings/blocklists
254 @RESPATH@/browser/defaults/settings/main
255 @RESPATH@/browser/defaults/settings/security-state
257 # channel-prefs.js has been removed on macOS.
258 #ifndef XP_MACOSX
259 ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
260 ; Technically this is an app pref file, but we are keeping it in the original
261 ; gre location for now.
262 @RESPATH@/defaults/pref/channel-prefs.js
263 #endif
265 ; Background tasks-specific preferences.
266 ; These are in the GRE location since they apply to all tasks at this time.
267 #ifdef MOZ_BACKGROUNDTASKS
268 ; These are in the GRE location since they apply to all tasks at this time.
269 @RESPATH@/defaults/backgroundtasks/backgroundtasks.js
270 ; While these override browser-specific prefs in `firefox.js`.
271 @RESPATH@/browser/defaults/backgroundtasks/backgroundtasks_browser.js
272 #endif
274 ; [Layout Engine Resources]
275 ; Style Sheets, Graphics and other Resources used by the layout engine.
276 @RESPATH@/res/EditorOverride.css
277 @RESPATH@/res/contenteditable.css
278 @RESPATH@/res/designmode.css
279 @RESPATH@/res/table-add-column-after-active.gif
280 @RESPATH@/res/table-add-column-after-hover.gif
281 @RESPATH@/res/table-add-column-after.gif
282 @RESPATH@/res/table-add-column-before-active.gif
283 @RESPATH@/res/table-add-column-before-hover.gif
284 @RESPATH@/res/table-add-column-before.gif
285 @RESPATH@/res/table-add-row-after-active.gif
286 @RESPATH@/res/table-add-row-after-hover.gif
287 @RESPATH@/res/table-add-row-after.gif
288 @RESPATH@/res/table-add-row-before-active.gif
289 @RESPATH@/res/table-add-row-before-hover.gif
290 @RESPATH@/res/table-add-row-before.gif
291 @RESPATH@/res/table-remove-column-active.gif
292 @RESPATH@/res/table-remove-column-hover.gif
293 @RESPATH@/res/table-remove-column.gif
294 @RESPATH@/res/table-remove-row-active.gif
295 @RESPATH@/res/table-remove-row-hover.gif
296 @RESPATH@/res/table-remove-row.gif
297 @RESPATH@/res/grabber.gif
298 #ifdef XP_MACOSX
299 @RESPATH@/res/cursors/*
300 #endif
301 @RESPATH@/res/fonts/*
302 @RESPATH@/res/dtd/*
303 @RESPATH@/res/language.properties
304 @RESPATH@/res/locale/layout/HtmlForm.properties
305 @RESPATH@/res/locale/layout/MediaDocument.properties
306 @RESPATH@/res/locale/layout/xmlparser.properties
307 @RESPATH@/res/locale/dom/dom.properties
308 #ifdef XP_MACOSX
309 @RESPATH@/res/MainMenu.nib/
310 #endif
312 ; Content-accessible resources.
313 @RESPATH@/contentaccessible/*
315 ; svg
316 @RESPATH@/res/svg.css
318 ; [Layout Debugger]
319 #ifdef MOZ_LAYOUT_DEBUGGER
320 @RESPATH@/chrome/layoutdebug@JAREXT@
321 @RESPATH@/chrome/layoutdebug.manifest
322 #endif
324 ; [Personal Security Manager]
326 ; NSS libraries are signed in the staging directory,
327 ; meaning their .chk files are created there directly.
329 #ifndef MOZ_SYSTEM_NSS
330 #if defined(XP_LINUX) && !defined(ANDROID)
331 @BINPATH@/@DLL_PREFIX@freeblpriv3@DLL_SUFFIX@
332 #elif defined(XP_SOLARIS) && defined(SPARC64)
333 bin/libfreebl_64fpu_3.so
334 bin/libfreebl_64int_3.so
335 #else
336 @BINPATH@/@DLL_PREFIX@freebl3@DLL_SUFFIX@
337 #endif
338 @BINPATH@/@DLL_PREFIX@nss3@DLL_SUFFIX@
339 @BINPATH@/@DLL_PREFIX@nssckbi@DLL_SUFFIX@
340 #ifndef MOZ_FOLD_LIBS
341 @BINPATH@/@DLL_PREFIX@nssutil3@DLL_SUFFIX@
342 @BINPATH@/@DLL_PREFIX@smime3@DLL_SUFFIX@
343 @BINPATH@/@DLL_PREFIX@ssl3@DLL_SUFFIX@
344 #endif
345 @BINPATH@/@DLL_PREFIX@softokn3@DLL_SUFFIX@
346 #endif
347 @RESPATH@/chrome/pippki@JAREXT@
348 @RESPATH@/chrome/pippki.manifest
350 ; preprocessor.py doesn't handle parentheses, so while the following could be
351 ; expressed in a single line, it's more clear to break them up.
352 #if defined(XP_WIN) || defined(XP_MACOSX)
353 #if !defined(_ARM64_)
354 @BINPATH@/@DLL_PREFIX@osclientcerts@DLL_SUFFIX@
355 #endif
356 #endif
358 @BINPATH@/@DLL_PREFIX@ipcclientcerts@DLL_SUFFIX@
360 ; For process sandboxing
361 #if defined(MOZ_SANDBOX)
362 #if defined(XP_LINUX)
363 @BINPATH@/@DLL_PREFIX@mozsandbox@DLL_SUFFIX@
364 #endif
365 #endif
367 ; [Updater]
369 #ifdef MOZ_UPDATER
370 #ifdef XP_MACOSX
371 @BINPATH@/updater.app/
372 #else
373 @BINPATH@/updater@BIN_SUFFIX@
374 #endif
375 #endif
377 ; [MaintenanceService]
379 #ifdef MOZ_MAINTENANCE_SERVICE
380 @BINPATH@/maintenanceservice.exe
381 @BINPATH@/maintenanceservice_installer.exe
382 #endif
384 ; [Crash Reporter]
386 #ifdef MOZ_CRASHREPORTER
387 #ifdef XP_MACOSX
388 @BINPATH@/crashreporter.app/
389 #else
390 @BINPATH@/crashreporter@BIN_SUFFIX@
391 #if defined(XP_WIN)
392 @BINPATH@/@DLL_PREFIX@mozwer@DLL_SUFFIX@
393 #endif
394 #endif
395 #ifdef MOZ_CRASHREPORTER_INJECTOR
396 @BINPATH@/breakpadinjector.dll
397 #endif
398 #endif
400 ; [ minidump-analyzer ]
402 #ifdef MOZ_CRASHREPORTER
403 @BINPATH@/minidump-analyzer@BIN_SUFFIX@
404 #endif
406 ; [ Ping Sender ]
408 @BINPATH@/pingsender@BIN_SUFFIX@
410 ; [ Native Messaging Host Proxy ]
412 #if defined(XP_WIN) || defined(XP_MACOSX)
413 @BINPATH@/nmhproxy@BIN_SUFFIX@
414 #endif
416 ; [ Notification COM Server ]
418 #if defined(MOZ_NOTIFICATION_SERVER)
419 @BINPATH@/@DLL_PREFIX@notificationserver@DLL_SUFFIX@
420 #endif
422 ; Shutdown Terminator
423 @RESPATH@/components/terminator.manifest
425 #ifdef LLVM_SYMBOLIZER
426 @BINPATH@/@LLVM_SYMBOLIZER@
427 #endif
429 #ifdef MOZ_CLANG_RT_ASAN_LIB
430 @BINPATH@/@MOZ_CLANG_RT_ASAN_LIB@
431 #endif
433 ; media
434 @RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
435 @RESPATH@/gmp-clearkey/0.1/manifest.json
436 #if defined(MOZ_WMF_CDM) && defined(ENABLE_TESTS)
437 @BINPATH@/@DLL_PREFIX@wmfclearkey@DLL_SUFFIX@
438 #endif
440 #ifdef MOZ_DMD
441 ; DMD
442 @RESPATH@/dmd.py
443 @RESPATH@/fix_stacks.py
444 #endif
446 #ifdef PKG_LOCALE_MANIFEST
447 #include @PKG_LOCALE_MANIFEST@
448 #endif
450 #if defined(XP_WIN) && defined(MOZ_DEFAULT_BROWSER_AGENT)
451 @BINPATH@/default-browser-agent@BIN_SUFFIX@
452 #endif
454 #ifdef MOZ_ARTIFACT_BUILDS
455 ; Test workers unpack artifact build packages and need `jogfile.json`
456 @RESPATH@/jogfile.json
457 #endif