Source code

Revision control

Other Tools

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/.
4
5
; Package file for the Firefox build.
6
;
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.
11
;
12
; File format:
13
;
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
18
;
19
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.
24
;
25
; @BINPATH@
26
; Equals Contents/MacOS/ on Mac OS X and is the path to the main binary on other
27
; platforms.
28
;
29
; @RESPATH@
30
; Equals Contents/Resources/ on Mac OS X and is equivalent to @BINPATH@ on other
31
; platforms.
32
33
#filter substitution
34
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/PkgInfo
42
@RESPATH@/firefox.icns
43
@RESPATH@/document.icns
44
@RESPATH@/@LPROJ_ROOT@.lproj/*
45
#endif
46
47
[@AB_CD@]
48
@RESPATH@/dictionaries/*
49
@RESPATH@/browser/localization/*
50
@RESPATH@/localization/*
51
#if defined(XP_WIN) || defined(XP_LINUX)
52
@RESPATH@/fonts/*
53
#endif
54
@RESPATH@/hyphenation/*
55
@RESPATH@/browser/@PREF_DIR@/firefox-l10n.js
56
#ifdef HAVE_MAKENSISU
57
@BINPATH@/uninstall/helper.exe
58
#endif
59
#ifdef MOZ_UPDATER
60
@RESPATH@/update.locale
61
@RESPATH@/updater.ini
62
#endif
63
64
[xpcom]
65
@RESPATH@/dependentlibs.list
66
#ifdef MOZ_SHARED_MOZGLUE
67
@BINPATH@/@DLL_PREFIX@mozglue@DLL_SUFFIX@
68
#endif
69
#ifndef MOZ_STATIC_JS
70
@BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
71
#endif
72
#ifndef MOZ_SYSTEM_NSPR
73
#ifndef MOZ_FOLD_LIBS
74
@BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
75
@BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
76
@BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
77
#endif
78
#endif
79
#ifdef XP_MACOSX
80
@BINPATH@/XUL
81
#else
82
@BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
83
#endif
84
#ifdef XP_MACOSX
85
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
86
@BINPATH@/@DLL_PREFIX@plugin_child_interpose@DLL_SUFFIX@
87
#else
88
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@
89
#endif
90
#ifdef XP_WIN
91
@BINPATH@/plugin-hang-ui@BIN_SUFFIX@
92
#if MOZ_PACKAGE_MSVC_DLLS
93
@BINPATH@/@MSVC_C_RUNTIME_DLL@
94
@BINPATH@/@MSVC_CXX_RUNTIME_DLL@
95
#endif
96
#if MOZ_PACKAGE_WIN_UCRT_DLLS
97
@BINPATH@/api-ms-win-*.dll
98
@BINPATH@/ucrtbase.dll
99
#endif
100
#endif
101
#ifdef MOZ_GTK
102
@BINPATH@/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
103
@BINPATH@/gtk2/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
104
#ifdef MOZ_WAYLAND
105
@BINPATH@/@DLL_PREFIX@mozwayland@DLL_SUFFIX@
106
#endif
107
#endif
108
#ifdef MOZ_WASM_SANDBOXING_GRAPHITE
109
@BINPATH@/@DLL_PREFIX@graphitewasm@DLL_SUFFIX@
110
#endif
111
112
; We don't have a complete view of which dlls to expect when doing an artifact
113
; build because we haven't run the relevant parts of configure, so we guess
114
; here and trust what came from our source build.
115
#if defined(MOZ_ARTIFACT_BUILDS) && defined(XP_WIN)
116
@BINPATH@/api-ms-win-*.dll
117
@BINPATH@/ucrtbase.dll
118
@BINPATH@/vcruntime*.dll
119
@BINPATH@/msvcp*.dll
120
@BINPATH@/libEGL.dll
121
@BINPATH@/libGLESv2.dll
122
@BINPATH@/d3dcompiler_47.dll
123
#endif
124
125
[browser]
126
; [Base Browser Files]
127
#ifndef XP_UNIX
128
@BINPATH@/@MOZ_APP_NAME@.exe
129
@BINPATH@/firefox.VisualElementsManifest.xml
130
@BINPATH@/browser/VisualElements/VisualElements_150.png
131
@BINPATH@/browser/VisualElements/VisualElements_70.png
132
#else
133
@BINPATH@/@MOZ_APP_NAME@-bin
134
@BINPATH@/@MOZ_APP_NAME@
135
#endif
136
@RESPATH@/application.ini
137
#ifdef MOZ_UPDATER
138
@RESPATH@/update-settings.ini
139
#endif
140
@RESPATH@/platform.ini
141
#ifndef MOZ_SYSTEM_SQLITE
142
#ifndef MOZ_FOLD_LIBS
143
@BINPATH@/@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
144
#endif
145
#endif
146
@BINPATH@/@DLL_PREFIX@lgpllibs@DLL_SUFFIX@
147
#ifdef MOZ_FFVPX
148
@BINPATH@/@DLL_PREFIX@mozavutil@DLL_SUFFIX@
149
@BINPATH@/@DLL_PREFIX@mozavcodec@DLL_SUFFIX@
150
#endif
151
@RESPATH@/browser/blocklist.xml
152
#ifdef XP_WIN
153
#ifdef _AMD64_
154
@BINPATH@/@DLL_PREFIX@qipcap64@DLL_SUFFIX@
155
#else
156
@BINPATH@/@DLL_PREFIX@qipcap@DLL_SUFFIX@
157
#endif
158
#endif
159
160
; [Components]
161
#ifdef ACCESSIBILITY
162
#ifdef XP_WIN
163
@BINPATH@/Accessible.tlb
164
@BINPATH@/AccessibleHandler.dll
165
@BINPATH@/AccessibleMarshal.dll
166
@BINPATH@/IA2Marshal.dll
167
#endif
168
#endif
169
170
; JavaScript components
171
@RESPATH@/browser/components/BrowserComponents.manifest
172
@RESPATH@/components/EnterprisePolicies.js
173
@RESPATH@/components/EnterprisePoliciesContent.js
174
@RESPATH@/components/EnterprisePolicies.manifest
175
@RESPATH@/components/toolkitsearch.manifest
176
@RESPATH@/components/extensions.manifest
177
#ifdef MOZ_UPDATER
178
@RESPATH@/components/nsUpdateService.manifest
179
#endif
180
@RESPATH@/components/ProcessSingleton.manifest
181
@RESPATH@/components/HandlerService.manifest
182
@RESPATH@/components/HandlerService.js
183
#ifdef XP_MACOSX
184
@RESPATH@/browser/components/MacTouchBar.manifest
185
@RESPATH@/browser/components/MacTouchBar.js
186
#endif
187
@RESPATH@/components/SyncComponents.manifest
188
@RESPATH@/components/servicesComponents.manifest
189
@RESPATH@/components/servicesSettings.manifest
190
@RESPATH@/components/cryptoComponents.manifest
191
@RESPATH@/components/TelemetryStartup.manifest
192
193
@RESPATH@/components/Push.manifest
194
195
@RESPATH@/components/antitracking.manifest
196
197
@RESPATH@/components/l10n-registry.manifest
198
@RESPATH@/browser/components/l10n-registry.manifest
199
200
; CDP remote agent
201
#ifdef ENABLE_REMOTE_AGENT
202
@RESPATH@/chrome/remote@JAREXT@
203
@RESPATH@/chrome/remote.manifest
204
#endif
205
206
; Marionette remote control protocol
207
#ifdef ENABLE_MARIONETTE
208
@RESPATH@/chrome/marionette@JAREXT@
209
@RESPATH@/chrome/marionette.manifest
210
@RESPATH@/components/marionette.manifest
211
@RESPATH@/components/marionette.js
212
#endif
213
214
#if defined(ENABLE_TESTS) && defined(MOZ_DEBUG)
215
@RESPATH@/components/TestInterfaceJS.js
216
@RESPATH@/components/TestInterfaceJS.manifest
217
@RESPATH@/components/TestInterfaceJSMaplike.js
218
#endif
219
220
#if defined(MOZ_DEBUG) || defined(MOZ_DEV_EDITION) || defined(NIGHTLY_BUILD)
221
@RESPATH@/browser/components/testComponents.manifest
222
@RESPATH@/browser/components/startupRecorder.js
223
#endif
224
225
; [Extensions]
226
@RESPATH@/components/extensions-toolkit.manifest
227
@RESPATH@/browser/components/extensions-browser.manifest
228
229
; Modules
230
@RESPATH@/browser/modules/*
231
@RESPATH@/modules/*
232
@RESPATH@/browser/actors/*
233
@RESPATH@/actors/*
234
235
; ANGLE GLES-on-D3D rendering library
236
#ifdef MOZ_ANGLE_RENDERER
237
@BINPATH@/libEGL.dll
238
@BINPATH@/libGLESv2.dll
239
240
#ifdef MOZ_D3DCOMPILER_VISTA_DLL
241
@BINPATH@/@MOZ_D3DCOMPILER_VISTA_DLL@
242
#endif
243
#endif # MOZ_ANGLE_RENDERER
244
245
; [Browser Chrome Files]
246
@RESPATH@/browser/chrome.manifest
247
@RESPATH@/browser/chrome/browser@JAREXT@
248
@RESPATH@/browser/chrome/browser.manifest
249
@RESPATH@/browser/chrome/pdfjs.manifest
250
@RESPATH@/browser/chrome/pdfjs/*
251
@RESPATH@/chrome/toolkit@JAREXT@
252
@RESPATH@/chrome/toolkit.manifest
253
@RESPATH@/chrome/recording.manifest
254
@RESPATH@/chrome/recording/*
255
#ifdef MOZ_GTK
256
@RESPATH@/browser/chrome/icons/default/default16.png
257
@RESPATH@/browser/chrome/icons/default/default32.png
258
@RESPATH@/browser/chrome/icons/default/default48.png
259
@RESPATH@/browser/chrome/icons/default/default64.png
260
@RESPATH@/browser/chrome/icons/default/default128.png
261
#endif
262
@RESPATH@/browser/features/*
263
264
; [DevTools Startup Files]
265
@RESPATH@/browser/chrome/devtools-startup@JAREXT@
266
@RESPATH@/browser/chrome/devtools-startup.manifest
267
268
; DevTools
269
@RESPATH@/browser/chrome/devtools@JAREXT@
270
@RESPATH@/browser/chrome/devtools.manifest
271
@RESPATH@/browser/@PREF_DIR@/debugger.js
272
273
; shell icons
274
#ifdef XP_UNIX
275
#ifndef XP_MACOSX
276
#ifdef MOZ_UPDATER
277
; updater icon
278
@RESPATH@/icons/updater.png
279
#endif
280
#endif
281
#endif
282
283
; [Default Preferences]
284
; All the pref files must be part of base to prevent migration bugs
285
@RESPATH@/browser/@PREF_DIR@/firefox.js
286
@RESPATH@/browser/@PREF_DIR@/firefox-branding.js
287
@RESPATH@/greprefs.js
288
@RESPATH@/defaults/autoconfig/prefcalls.js
289
@RESPATH@/browser/defaults/permissions
290
; Remote Settings JSON dumps
291
@RESPATH@/browser/defaults/settings/blocklists
292
@RESPATH@/browser/defaults/settings/pinning
293
@RESPATH@/browser/defaults/settings/main
294
@RESPATH@/browser/defaults/settings/security-state
295
296
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
297
; Technically this is an app pref file, but we are keeping it in the original
298
; gre location for now.
299
@RESPATH@/defaults/pref/channel-prefs.js
300
301
; [Layout Engine Resources]
302
; Style Sheets, Graphics and other Resources used by the layout engine.
303
@RESPATH@/res/EditorOverride.css
304
@RESPATH@/res/contenteditable.css
305
@RESPATH@/res/designmode.css
306
@RESPATH@/res/table-add-column-after-active.gif
307
@RESPATH@/res/table-add-column-after-hover.gif
308
@RESPATH@/res/table-add-column-after.gif
309
@RESPATH@/res/table-add-column-before-active.gif
310
@RESPATH@/res/table-add-column-before-hover.gif
311
@RESPATH@/res/table-add-column-before.gif
312
@RESPATH@/res/table-add-row-after-active.gif
313
@RESPATH@/res/table-add-row-after-hover.gif
314
@RESPATH@/res/table-add-row-after.gif
315
@RESPATH@/res/table-add-row-before-active.gif
316
@RESPATH@/res/table-add-row-before-hover.gif
317
@RESPATH@/res/table-add-row-before.gif
318
@RESPATH@/res/table-remove-column-active.gif
319
@RESPATH@/res/table-remove-column-hover.gif
320
@RESPATH@/res/table-remove-column.gif
321
@RESPATH@/res/table-remove-row-active.gif
322
@RESPATH@/res/table-remove-row-hover.gif
323
@RESPATH@/res/table-remove-row.gif
324
@RESPATH@/res/grabber.gif
325
#ifdef XP_MACOSX
326
@RESPATH@/res/cursors/*
327
#endif
328
@RESPATH@/res/fonts/*
329
@RESPATH@/res/dtd/*
330
@RESPATH@/res/language.properties
331
@RESPATH@/res/locale/layout/HtmlForm.properties
332
@RESPATH@/res/locale/layout/MediaDocument.properties
333
@RESPATH@/res/locale/layout/xmlparser.properties
334
@RESPATH@/res/locale/dom/dom.properties
335
#ifdef XP_MACOSX
336
@RESPATH@/res/MainMenu.nib/
337
#endif
338
339
; Content-accessible resources.
340
@RESPATH@/contentaccessible/*
341
342
; svg
343
@RESPATH@/res/svg.css
344
345
; [Layout Debugger]
346
#ifdef MOZ_LAYOUT_DEBUGGER
347
@RESPATH@/chrome/layoutdebug@JAREXT@
348
@RESPATH@/chrome/layoutdebug.manifest
349
#endif
350
351
; [Personal Security Manager]
352
;
353
; NSS libraries are signed in the staging directory,
354
; meaning their .chk files are created there directly.
355
;
356
#ifndef MOZ_SYSTEM_NSS
357
#if defined(XP_LINUX) && !defined(ANDROID)
358
@BINPATH@/@DLL_PREFIX@freeblpriv3@DLL_SUFFIX@
359
#elif defined(XP_SOLARIS) && defined(SPARC64)
360
bin/libfreebl_64fpu_3.so
361
bin/libfreebl_64int_3.so
362
#else
363
@BINPATH@/@DLL_PREFIX@freebl3@DLL_SUFFIX@
364
#endif
365
@BINPATH@/@DLL_PREFIX@nss3@DLL_SUFFIX@
366
@BINPATH@/@DLL_PREFIX@nssckbi@DLL_SUFFIX@
367
#ifndef MOZ_FOLD_LIBS
368
@BINPATH@/@DLL_PREFIX@nssutil3@DLL_SUFFIX@
369
@BINPATH@/@DLL_PREFIX@smime3@DLL_SUFFIX@
370
@BINPATH@/@DLL_PREFIX@ssl3@DLL_SUFFIX@
371
#endif
372
@BINPATH@/@DLL_PREFIX@softokn3@DLL_SUFFIX@
373
#endif
374
@RESPATH@/chrome/pippki@JAREXT@
375
@RESPATH@/chrome/pippki.manifest
376
377
#if defined(XP_WIN) && !defined(_ARM64_)
378
@BINPATH@/@DLL_PREFIX@osclientcerts@DLL_SUFFIX@
379
#endif
380
381
; For process sandboxing
382
#if defined(MOZ_SANDBOX)
383
#if defined(XP_LINUX)
384
@BINPATH@/@DLL_PREFIX@mozsandbox@DLL_SUFFIX@
385
#endif
386
#endif
387
388
; [Updater]
389
;
390
#ifdef MOZ_UPDATER
391
#ifdef XP_MACOSX
392
@BINPATH@/updater.app/
393
#else
394
@BINPATH@/updater@BIN_SUFFIX@
395
#endif
396
#endif
397
398
; [MaintenanceService]
399
;
400
#ifdef MOZ_MAINTENANCE_SERVICE
401
@BINPATH@/maintenanceservice.exe
402
@BINPATH@/maintenanceservice_installer.exe
403
#endif
404
405
; [Crash Reporter]
406
;
407
#ifdef MOZ_CRASHREPORTER
408
#ifdef XP_MACOSX
409
@BINPATH@/crashreporter.app/
410
#else
411
@BINPATH@/crashreporter@BIN_SUFFIX@
412
@RESPATH@/crashreporter.ini
413
#ifdef XP_UNIX
414
@RESPATH@/Throbber-small.gif
415
#endif
416
#endif
417
@RESPATH@/browser/crashreporter-override.ini
418
#ifdef MOZ_CRASHREPORTER_INJECTOR
419
@BINPATH@/breakpadinjector.dll
420
#endif
421
#endif
422
423
; [ minidump-analyzer ]
424
;
425
#ifdef MOZ_CRASHREPORTER
426
@BINPATH@/minidump-analyzer@BIN_SUFFIX@
427
#endif
428
429
; [ Ping Sender ]
430
;
431
@BINPATH@/pingsender@BIN_SUFFIX@
432
433
; Shutdown Terminator
434
@RESPATH@/components/terminator.manifest
435
436
#ifdef LLVM_SYMBOLIZER
437
@BINPATH@/@LLVM_SYMBOLIZER@
438
; On Windows, llvm-symbolizer depends on the MS DIA library.
439
#ifdef WIN_DIA_SDK_BIN_DIR
440
@BINPATH@/msdia140.dll
441
#endif
442
#endif
443
444
#ifdef MOZ_CLANG_RT_ASAN_LIB
445
@BINPATH@/@MOZ_CLANG_RT_ASAN_LIB@
446
#endif
447
448
449
; media
450
@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
451
@RESPATH@/gmp-clearkey/0.1/manifest.json
452
453
#ifdef MOZ_DMD
454
; DMD
455
@RESPATH@/dmd.py
456
@RESPATH@/fix_stack_using_bpsyms.py
457
#ifdef XP_MACOSX
458
@RESPATH@/fix_macosx_stack.py
459
#endif
460
#ifdef XP_LINUX
461
@RESPATH@/fix_linux_stack.py
462
#endif
463
#endif
464
465
#ifdef PKG_LOCALE_MANIFEST
466
#include @PKG_LOCALE_MANIFEST@
467
#endif
468
469
#ifdef MOZ_EME_WIN32_ARTIFACT
470
i686/plugin-container.exe
471
i686/xul.dll
472
i686/nss3.dll
473
i686/mozglue.dll
474
i686/lgpllibs.dll
475
i686/msvcp140.dll
476
i686/vcruntime140.dll
477
i686/gmp-clearkey/0.1/clearkey.dll
478
[eme destdir="i686"]
479
; We assume the file we generate locally is the same as what was in the win32
480
; build, which, practically speaking, is the case.
481
@BINPATH@/gmp-clearkey/0.1/manifest.json
482
#endif