package-manifest.in 13 KB
Newer Older
1
2
3
4
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.

5
; Package file for the Firefox build.
6
;
7
8
9
10
11
; Packaging manifest is used to copy files from dist/bin
; to the staging directory.
; Some other files are built in the staging directory directly,
; so they will be implicitly packaged too.
;
12
13
14
15
16
17
18
19
; File format:
;
; [] designates a toplevel component. Example: [xpcom]
; - in front of a file specifies it to be removed from the destination
; * wildcard support to recursively copy the entire directory
; ; file comment
;

20
21
22
23
24
25
26
27
28
29
30
31
32
; Due to Apple Mac OS X packaging requirements, files that are in the same
; directory on other platforms must be located in different directories on
; Mac OS X. The following defines allow specifying the Mac OS X bundle
; location which also work on other platforms.
;
; @BINPATH@
; Equals Contents/MacOS/ on Mac OS X and is the path to the main binary on other
; platforms.
;
; @RESPATH@
; Equals Contents/Resources/ on Mac OS X and is equivalent to @BINPATH@ on other
; platforms.

33
34
#filter substitution

35
#ifdef XP_MACOSX
36
37
; Mac bundle stuff
@APPNAME@/Contents/Info.plist
38
#ifdef MOZ_UPDATER
39
#ifndef TOR_BROWSER_UPDATE
40
@APPNAME@/Contents/Library/LaunchServices
41
#endif
42
#endif
43
@APPNAME@/Contents/PkgInfo
44
45
@RESPATH@/firefox.icns
@RESPATH@/document.icns
46
@RESPATH@/@LPROJ_ROOT@.lproj/*
47
#endif
48
49

[@AB_CD@]
50
@RESPATH@/dictionaries/*
51
@RESPATH@/browser/localization/*
52
@RESPATH@/localization/*
53
#if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
54
55
@RESPATH@/fonts/*
#endif
56
57
@RESPATH@/hyphenation/*
@RESPATH@/browser/@PREF_DIR@/firefox-l10n.js
58
#ifdef HAVE_MAKENSISU
59
@BINPATH@/uninstall/helper.exe
60
#endif
61
#ifdef MOZ_UPDATER
62
63
@RESPATH@/update.locale
@RESPATH@/updater.ini
64
#endif
65
66
#ifdef MOZ_DEFAULT_BROWSER_AGENT
@RESPATH@/defaultagent.ini
67
@RESPATH@/defaultagent_localized.ini
68
69
#endif
#if defined(MOZ_UPDATE_AGENT) || defined(MOZ_DEFAULT_BROWSER_AGENT)
70
71
@RESPATH@/locale.ini
#endif
72
73

[xpcom]
74
@RESPATH@/dependentlibs.list
75
76
77
#ifdef MOZ_SHARED_MOZGLUE
@BINPATH@/@DLL_PREFIX@mozglue@DLL_SUFFIX@
#endif
78
#ifndef MOZ_STATIC_JS
79
@BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
80
#endif
81
#ifndef MOZ_SYSTEM_NSPR
82
#ifndef MOZ_FOLD_LIBS
83
@BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
84
85
@BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
@BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
86
#endif
87
#endif
88
#ifdef XP_MACOSX
89
@BINPATH@/XUL
90
#else
91
@BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
92
#endif
93
#ifdef XP_MACOSX
94
95
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
@BINPATH@/@DLL_PREFIX@plugin_child_interpose@DLL_SUFFIX@
96
#else
97
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@
98
#endif
99
#ifdef XP_WIN
100
@BINPATH@/plugin-hang-ui@BIN_SUFFIX@
101
102
103
#if MOZ_PACKAGE_MSVC_DLLS
@BINPATH@/@MSVC_C_RUNTIME_DLL@
@BINPATH@/@MSVC_CXX_RUNTIME_DLL@
104
#endif
105
106
107
108
#if MOZ_PACKAGE_WIN_UCRT_DLLS
@BINPATH@/api-ms-win-*.dll
@BINPATH@/ucrtbase.dll
#endif
109
#endif
110
#ifdef MOZ_GTK
111
@BINPATH@/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
112
@BINPATH@/gtk2/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
113
114
115
#ifdef MOZ_WAYLAND
@BINPATH@/@DLL_PREFIX@mozwayland@DLL_SUFFIX@
#endif
116
#endif
117
118
119
#ifdef MOZ_WASM_SANDBOXING_GRAPHITE
@BINPATH@/@DLL_PREFIX@graphitewasm@DLL_SUFFIX@
#endif
120
121
122
#ifdef MOZ_WASM_SANDBOXING_OGG
@BINPATH@/@DLL_PREFIX@oggwasm@DLL_SUFFIX@
#endif
123

124
; We don't have a complete view of which dlls to expect when doing an artifact
125
126
; build because we haven't run the relevant parts of configure, so we guess
; here and trust what came from our source build.
127
#if defined(MOZ_ARTIFACT_BUILDS) && defined(XP_WIN)
128
129
130
131
132
133
@BINPATH@/api-ms-win-*.dll
@BINPATH@/ucrtbase.dll
@BINPATH@/vcruntime*.dll
@BINPATH@/msvcp*.dll
@BINPATH@/libEGL.dll
@BINPATH@/libGLESv2.dll
134
@BINPATH@/d3dcompiler_47.dll
135
136
#endif

137
138
[browser]
; [Base Browser Files]
139
#ifndef XP_UNIX
140
@BINPATH@/@MOZ_APP_NAME@.exe
141
142
143
@BINPATH@/firefox.VisualElementsManifest.xml
@BINPATH@/browser/VisualElements/VisualElements_150.png
@BINPATH@/browser/VisualElements/VisualElements_70.png
144
#else
145
@BINPATH@/@MOZ_APP_NAME@-bin
146
147
@BINPATH@/@MOZ_APP_NAME@
#endif
148
@RESPATH@/application.ini
149
#ifdef MOZ_UPDATER
150
@RESPATH@/update-settings.ini
151
#endif
152
@RESPATH@/platform.ini
153
#ifndef MOZ_FOLD_LIBS
154
@BINPATH@/@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
155
#endif
156
@BINPATH@/@DLL_PREFIX@lgpllibs@DLL_SUFFIX@
157
158
159
160
#ifdef MOZ_FFVPX
@BINPATH@/@DLL_PREFIX@mozavutil@DLL_SUFFIX@
@BINPATH@/@DLL_PREFIX@mozavcodec@DLL_SUFFIX@
#endif
161
162
163
164
165
166
167
#ifdef XP_WIN
#ifdef _AMD64_
@BINPATH@/@DLL_PREFIX@qipcap64@DLL_SUFFIX@
#else
@BINPATH@/@DLL_PREFIX@qipcap@DLL_SUFFIX@
#endif
#endif
168
169

; [Components]
170
#ifdef ACCESSIBILITY
171
#ifdef XP_WIN
172
@BINPATH@/Accessible.tlb
173
@BINPATH@/AccessibleHandler.dll
174
@BINPATH@/AccessibleMarshal.dll
175
@BINPATH@/IA2Marshal.dll
176
#endif
177
#endif
178

179
; JavaScript components
180
181
182
@RESPATH@/browser/components/BrowserComponents.manifest
@RESPATH@/components/toolkitsearch.manifest
@RESPATH@/components/extensions.manifest
183
#ifdef MOZ_UPDATER
184
185
186
@RESPATH@/components/nsUpdateService.manifest
#endif
@RESPATH@/components/ProcessSingleton.manifest
187
188
@RESPATH@/components/HandlerService.manifest
@RESPATH@/components/HandlerService.js
189
#ifdef XP_MACOSX
190
191
@RESPATH@/browser/components/MacTouchBar.manifest
@RESPATH@/browser/components/MacTouchBar.js
192
#endif
193
194
@RESPATH@/components/SyncComponents.manifest
@RESPATH@/components/servicesComponents.manifest
195
@RESPATH@/components/servicesSettings.manifest
196
@RESPATH@/components/cryptoComponents.manifest
197
@RESPATH@/components/TelemetryStartup.manifest
198

199
@RESPATH@/components/Push.manifest
200

201
202
@RESPATH@/components/antitracking.manifest

203
204
205
@RESPATH@/components/l10n-registry.manifest
@RESPATH@/browser/components/l10n-registry.manifest

206
207
; CDP remote agent
#ifdef ENABLE_REMOTE_AGENT
208
209
@RESPATH@/chrome/remote@JAREXT@
@RESPATH@/chrome/remote.manifest
210
211
212
#endif

; Marionette remote control protocol
213
#ifdef ENABLE_MARIONETTE
214
215
@RESPATH@/chrome/marionette@JAREXT@
@RESPATH@/chrome/marionette.manifest
216
217
@RESPATH@/components/marionette.manifest
@RESPATH@/components/marionette.js
218
#endif
219

220
#if defined(ENABLE_TESTS) && defined(MOZ_DEBUG)
221
222
@RESPATH@/components/TestInterfaceJS.js
@RESPATH@/components/TestInterfaceJS.manifest
223
@RESPATH@/components/TestInterfaceJSMaplike.js
Bobby Holley's avatar
Bobby Holley committed
224
225
#endif

226
#if defined(MOZ_DEBUG) || defined(MOZ_DEV_EDITION) || defined(NIGHTLY_BUILD)
227
228
229
230
@RESPATH@/browser/components/testComponents.manifest
@RESPATH@/browser/components/startupRecorder.js
#endif

231
232
233
234
; [Extensions]
@RESPATH@/components/extensions-toolkit.manifest
@RESPATH@/browser/components/extensions-browser.manifest

235
; Modules
236
237
@RESPATH@/browser/modules/*
@RESPATH@/modules/*
238
@RESPATH@/browser/actors/*
239
@RESPATH@/actors/*
240

241
; ANGLE GLES-on-D3D rendering library
242
#ifdef MOZ_ANGLE_RENDERER
243
244
@BINPATH@/libEGL.dll
@BINPATH@/libGLESv2.dll
245
246
247
248
249

#ifdef MOZ_D3DCOMPILER_VISTA_DLL
@BINPATH@/@MOZ_D3DCOMPILER_VISTA_DLL@
#endif
#endif # MOZ_ANGLE_RENDERER
250

251
; [Browser Chrome Files]
252
253
254
@RESPATH@/browser/chrome.manifest
@RESPATH@/browser/chrome/browser@JAREXT@
@RESPATH@/browser/chrome/browser.manifest
255
256
@RESPATH@/chrome/pdfjs.manifest
@RESPATH@/chrome/pdfjs/*
257
258
259
260
261
#ifndef TOR_BROWSER_DISABLE_TOR_LAUNCHER
@RESPATH@/browser/chrome/torlauncher.manifest
@RESPATH@/browser/chrome/torlauncher/*
@RESPATH@/browser/@PREF_DIR@/torlauncher-prefs.js
#endif
262
263
@RESPATH@/chrome/torbutton.manifest
@RESPATH@/chrome/torbutton/*
264
265
266
267
@RESPATH@/chrome/toolkit@JAREXT@
@RESPATH@/chrome/toolkit.manifest
@RESPATH@/chrome/recording.manifest
@RESPATH@/chrome/recording/*
268
#ifdef MOZ_GTK
269
270
271
@RESPATH@/browser/chrome/icons/default/default16.png
@RESPATH@/browser/chrome/icons/default/default32.png
@RESPATH@/browser/chrome/icons/default/default48.png
272
273
@RESPATH@/browser/chrome/icons/default/default64.png
@RESPATH@/browser/chrome/icons/default/default128.png
274
#endif
275

276
; [DevTools Startup Files]
277
278
@RESPATH@/browser/chrome/devtools-startup@JAREXT@
@RESPATH@/browser/chrome/devtools-startup.manifest
279

280
281
282
283
284
; DevTools
@RESPATH@/browser/chrome/devtools@JAREXT@
@RESPATH@/browser/chrome/devtools.manifest
@RESPATH@/browser/@PREF_DIR@/debugger.js

285
; shell icons
286
#ifdef XP_UNIX
287
#ifndef XP_MACOSX
288
#ifdef MOZ_UPDATER
289
; updater icon
290
@RESPATH@/icons/updater.png
291
#endif
292
#endif
293
#endif
294
295
296

; [Default Preferences]
; All the pref files must be part of base to prevent migration bugs
297
298
299
300
@RESPATH@/browser/@PREF_DIR@/firefox.js
@RESPATH@/browser/@PREF_DIR@/firefox-branding.js
@RESPATH@/greprefs.js
@RESPATH@/defaults/autoconfig/prefcalls.js
301
@RESPATH@/browser/defaults/permissions
302
; Remote Settings JSON dumps
303
304
305
@RESPATH@/browser/defaults/settings/blocklists
@RESPATH@/browser/defaults/settings/pinning
@RESPATH@/browser/defaults/settings/main
306
@RESPATH@/browser/defaults/settings/security-state
307
@RESPATH@/browser/@PREF_DIR@/000-tor-browser.js
308

309
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
310
311
; Technically this is an app pref file, but we are keeping it in the original
; gre location for now.
312
@RESPATH@/defaults/pref/channel-prefs.js
313

314
; [Layout Engine Resources]
315
; Style Sheets, Graphics and other Resources used by the layout engine.
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
@RESPATH@/res/EditorOverride.css
@RESPATH@/res/contenteditable.css
@RESPATH@/res/designmode.css
@RESPATH@/res/table-add-column-after-active.gif
@RESPATH@/res/table-add-column-after-hover.gif
@RESPATH@/res/table-add-column-after.gif
@RESPATH@/res/table-add-column-before-active.gif
@RESPATH@/res/table-add-column-before-hover.gif
@RESPATH@/res/table-add-column-before.gif
@RESPATH@/res/table-add-row-after-active.gif
@RESPATH@/res/table-add-row-after-hover.gif
@RESPATH@/res/table-add-row-after.gif
@RESPATH@/res/table-add-row-before-active.gif
@RESPATH@/res/table-add-row-before-hover.gif
@RESPATH@/res/table-add-row-before.gif
@RESPATH@/res/table-remove-column-active.gif
@RESPATH@/res/table-remove-column-hover.gif
@RESPATH@/res/table-remove-column.gif
@RESPATH@/res/table-remove-row-active.gif
@RESPATH@/res/table-remove-row-hover.gif
@RESPATH@/res/table-remove-row.gif
@RESPATH@/res/grabber.gif
338
#ifdef XP_MACOSX
339
340
341
342
343
@RESPATH@/res/cursors/*
#endif
@RESPATH@/res/fonts/*
@RESPATH@/res/dtd/*
@RESPATH@/res/language.properties
344
@RESPATH@/res/locale/layout/HtmlForm.properties
345
346
347
@RESPATH@/res/locale/layout/MediaDocument.properties
@RESPATH@/res/locale/layout/xmlparser.properties
@RESPATH@/res/locale/dom/dom.properties
348
#ifdef XP_MACOSX
349
@RESPATH@/res/MainMenu.nib/
350
#endif
351

352
353
354
; Content-accessible resources.
@RESPATH@/contentaccessible/*

355
; svg
356
@RESPATH@/res/svg.css
357

358
; [Layout Debugger]
359
#ifdef MOZ_LAYOUT_DEBUGGER
360
361
362
363
@RESPATH@/chrome/layoutdebug@JAREXT@
@RESPATH@/chrome/layoutdebug.manifest
#endif

364
365
; [Personal Security Manager]
;
366
367
368
; NSS libraries are signed in the staging directory,
; meaning their .chk files are created there directly.
;
369
#ifndef MOZ_SYSTEM_NSS
370
371
#if defined(XP_LINUX) && !defined(ANDROID)
@BINPATH@/@DLL_PREFIX@freeblpriv3@DLL_SUFFIX@
372
373
374
#elif defined(XP_SOLARIS) && defined(SPARC64)
bin/libfreebl_64fpu_3.so
bin/libfreebl_64int_3.so
375
#else
376
@BINPATH@/@DLL_PREFIX@freebl3@DLL_SUFFIX@
377
#endif
378
@BINPATH@/@DLL_PREFIX@nss3@DLL_SUFFIX@
379
@BINPATH@/@DLL_PREFIX@nssckbi@DLL_SUFFIX@
380
#ifndef MOZ_FOLD_LIBS
381
382
383
@BINPATH@/@DLL_PREFIX@nssutil3@DLL_SUFFIX@
@BINPATH@/@DLL_PREFIX@smime3@DLL_SUFFIX@
@BINPATH@/@DLL_PREFIX@ssl3@DLL_SUFFIX@
384
#endif
385
386
@BINPATH@/@DLL_PREFIX@softokn3@DLL_SUFFIX@
#endif
387
388
@RESPATH@/chrome/pippki@JAREXT@
@RESPATH@/chrome/pippki.manifest
389

390
391
392
393
; preprocessor.py doesn't handle parentheses, so while the following could be
; expressed in a single line, it's more clear to break them up.
#if defined(XP_WIN) || defined(XP_MACOSX)
#if !defined(_ARM64_)
394
395
@BINPATH@/@DLL_PREFIX@osclientcerts@DLL_SUFFIX@
#endif
396
#endif
397

398
; For process sandboxing
399
400
401
402
#if defined(MOZ_SANDBOX)
#if defined(XP_LINUX)
@BINPATH@/@DLL_PREFIX@mozsandbox@DLL_SUFFIX@
#endif
403
#endif
404

405
406
; [Updater]
;
407
#ifdef MOZ_UPDATER
408
#ifdef XP_MACOSX
409
@BINPATH@/updater.app/
410
411
412
#else
@BINPATH@/updater@BIN_SUFFIX@
#endif
413
#endif
414

415
416
417
418
419
420
421
; [MaintenanceService]
;
#ifdef MOZ_MAINTENANCE_SERVICE
@BINPATH@/maintenanceservice.exe
@BINPATH@/maintenanceservice_installer.exe
#endif

422
423
424
425
426
; [Background Update Agent]
#ifdef MOZ_UPDATE_AGENT
@BINPATH@/updateagent@BIN_SUFFIX@
#endif

427
428
; [Crash Reporter]
;
429
430
#ifdef MOZ_CRASHREPORTER
#ifdef XP_MACOSX
431
@BINPATH@/crashreporter.app/
432
433
#else
@BINPATH@/crashreporter@BIN_SUFFIX@
434
@RESPATH@/crashreporter.ini
435
#ifdef XP_UNIX
436
@RESPATH@/Throbber-small.gif
437
438
#endif
#endif
439
@RESPATH@/browser/crashreporter-override.ini
440
441
442
#ifdef MOZ_CRASHREPORTER_INJECTOR
@BINPATH@/breakpadinjector.dll
#endif
443
444
#endif

445
446
447
448
449
450
; [ minidump-analyzer ]
;
#ifdef MOZ_CRASHREPORTER
@BINPATH@/minidump-analyzer@BIN_SUFFIX@
#endif

451
; Shutdown Terminator
452
@RESPATH@/components/terminator.manifest
453

454
455
#ifdef LLVM_SYMBOLIZER
@BINPATH@/@LLVM_SYMBOLIZER@
456
457
458
459
; On Windows, llvm-symbolizer depends on the MS DIA library.
#ifdef WIN_DIA_SDK_BIN_DIR
@BINPATH@/msdia140.dll
#endif
460
#endif
461

462
463
#ifdef MOZ_CLANG_RT_ASAN_LIB
@BINPATH@/@MOZ_CLANG_RT_ASAN_LIB@
464
#endif
465
466

; media
467
468
;@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
;@RESPATH@/gmp-clearkey/0.1/manifest.json
469

470
471
472
#ifdef MOZ_DMD
; DMD
@RESPATH@/dmd.py
473
@RESPATH@/fix_stacks.py
474
#endif
475

476
477
478
#ifdef PKG_LOCALE_MANIFEST
#include @PKG_LOCALE_MANIFEST@
#endif
479

480
481
482
483
#if defined(XP_WIN) && defined(MOZ_DEFAULT_BROWSER_AGENT)
@BINPATH@/default-browser-agent@BIN_SUFFIX@
#endif

484
485
486
487
488
489
490
491
492
493
494
495
496
497
#ifdef MOZ_EME_WIN32_ARTIFACT
i686/plugin-container.exe
i686/xul.dll
i686/nss3.dll
i686/mozglue.dll
i686/lgpllibs.dll
i686/msvcp140.dll
i686/vcruntime140.dll
i686/gmp-clearkey/0.1/clearkey.dll
[eme destdir="i686"]
; We assume the file we generate locally is the same as what was in the win32
; build, which, practically speaking, is the case.
@BINPATH@/gmp-clearkey/0.1/manifest.json
#endif