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