Bug 1859954 - Use XP_DARWIN rather than XP_MACOS in PHC r=glandium
[gecko.git] / browser / installer / package-manifest.in
blobb3213b8c4498b0467d7863d53c5fc4240e4609be
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/PkgInfo
42 @RESPATH@/firefox.icns
43 @RESPATH@/document.icns
44 @RESPATH@/@LPROJ_ROOT@.lproj/*
45 #endif
47 [@AB_CD@]
48 @RESPATH@/dictionaries/*
49 @RESPATH@/browser/localization/*
50 @RESPATH@/localization/*
51 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
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 #ifdef MOZ_DEFAULT_BROWSER_AGENT
64 @RESPATH@/defaultagent.ini
65 #endif
66 #if defined(MOZ_UPDATE_AGENT) || defined(MOZ_DEFAULT_BROWSER_AGENT)
67 @RESPATH@/locale.ini
68 #endif
70 [xpcom]
71 @RESPATH@/dependentlibs.list
72 #ifdef MOZ_SHARED_MOZGLUE
73 @BINPATH@/@DLL_PREFIX@mozglue@DLL_SUFFIX@
74 #endif
75 #ifndef MOZ_STATIC_JS
76 @BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
77 #endif
78 #ifndef MOZ_SYSTEM_NSPR
79 #ifndef MOZ_FOLD_LIBS
80 @BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
81 @BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
82 @BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
83 #endif
84 #endif
85 #ifdef XP_MACOSX
86 @BINPATH@/XUL
87 #else
88 @BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
89 #endif
90 #ifdef XP_MACOSX
91 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
92 @BINPATH@/@MOZ_EME_PROCESS_NAME@.app/
93 #endif
94 #ifdef XP_WIN
95 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@
96 #if MOZ_PACKAGE_MSVC_DLLS
97 @BINPATH@/@MSVC_C_RUNTIME_DLL@
98 #ifdef MSVC_C_RUNTIME_1_DLL
99 @BINPATH@/@MSVC_C_RUNTIME_1_DLL@
100 #endif
101 @BINPATH@/@MSVC_CXX_RUNTIME_DLL@
102 #endif
103 #endif
104 #ifdef MOZ_GTK
105 @BINPATH@/glxtest
106 @BINPATH@/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
107 #ifdef MOZ_WAYLAND
108 @BINPATH@/@DLL_PREFIX@mozwayland@DLL_SUFFIX@
109 #endif
110 #ifdef MOZ_ENABLE_V4L2
111 @BINPATH@/v4l2test
112 #endif
113 #ifdef MOZ_ENABLE_VAAPI
114 @BINPATH@/vaapitest
115 #endif
116 #endif
118 ; We don't have a complete view of which dlls to expect when doing an artifact
119 ; build because we haven't run the relevant parts of configure, so we guess
120 ; here and trust what came from our source build.
121 #if defined(MOZ_ARTIFACT_BUILDS) && defined(XP_WIN)
122 @BINPATH@/vcruntime*.dll
123 @BINPATH@/msvcp*.dll
124 @BINPATH@/libEGL.dll
125 @BINPATH@/libGLESv2.dll
126 #endif
128 [browser]
129 ; [Base Browser Files]
130 #ifndef XP_UNIX
131 @BINPATH@/@MOZ_APP_NAME@.exe
132 @BINPATH@/firefox.VisualElementsManifest.xml
133 @BINPATH@/browser/VisualElements/VisualElements_150.png
134 @BINPATH@/browser/VisualElements/VisualElements_70.png
135 @BINPATH@/private_browsing.exe
136 @BINPATH@/private_browsing.VisualElementsManifest.xml
137 @BINPATH@/browser/VisualElements/PrivateBrowsing_150.png
138 @BINPATH@/browser/VisualElements/PrivateBrowsing_70.png
139 #else
140 @BINPATH@/@MOZ_APP_NAME@-bin
141 @BINPATH@/@MOZ_APP_NAME@
142 #endif
143 @RESPATH@/application.ini
144 #ifdef MOZ_UPDATER
145 @RESPATH@/update-settings.ini
146 #endif
147 @RESPATH@/platform.ini
148 #ifndef MOZ_FOLD_LIBS
149 @BINPATH@/@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
150 #endif
151 @BINPATH@/@DLL_PREFIX@lgpllibs@DLL_SUFFIX@
152 @BINPATH@/@DLL_PREFIX@gkcodecs@DLL_SUFFIX@
153 #ifdef MOZ_FFVPX
154 @BINPATH@/@DLL_PREFIX@mozavutil@DLL_SUFFIX@
155 @BINPATH@/@DLL_PREFIX@mozavcodec@DLL_SUFFIX@
156 #endif
157 #ifdef XP_WIN
158 #ifdef _AMD64_
159 @BINPATH@/@DLL_PREFIX@qipcap64@DLL_SUFFIX@
160 #else
161 @BINPATH@/@DLL_PREFIX@qipcap@DLL_SUFFIX@
162 #endif
163 #endif
165 ; [Components]
166 #ifdef ACCESSIBILITY
167 #ifdef XP_WIN
168 @BINPATH@/AccessibleMarshal.dll
169 #endif
170 #endif
172 ; JavaScript components
173 @RESPATH@/browser/components/BrowserComponents.manifest
174 @RESPATH@/components/extensions.manifest
175 #ifdef MOZ_UPDATER
176 @RESPATH@/components/nsUpdateService.manifest
177 #endif
178 @RESPATH@/components/ProcessSingleton.manifest
179 @RESPATH@/components/SyncComponents.manifest
180 @RESPATH@/components/servicesComponents.manifest
181 @RESPATH@/components/servicesSettings.manifest
182 @RESPATH@/components/cryptoComponents.manifest
183 @RESPATH@/components/TelemetryStartup.manifest
185 @RESPATH@/components/Push.manifest
187 @RESPATH@/components/antitracking.manifest
189 @RESPATH@/components/l10n-registry.manifest
190 @RESPATH@/browser/components/l10n-registry.manifest
192 ; WebDriver (Marionette, Remote Agent) remote protocols
193 #ifdef ENABLE_WEBDRIVER
194 @RESPATH@/chrome/remote@JAREXT@
195 @RESPATH@/chrome/remote.manifest
196 #endif
198 ; [Extensions]
199 @RESPATH@/components/extensions-toolkit.manifest
200 @RESPATH@/browser/components/extensions-browser.manifest
202 ; Modules
203 @RESPATH@/browser/modules/*
204 @RESPATH@/modules/*
205 @RESPATH@/browser/actors/*
206 @RESPATH@/actors/*
208 ; ANGLE GLES-on-D3D rendering library
209 #ifdef MOZ_ANGLE_RENDERER
210 @BINPATH@/libEGL.dll
211 @BINPATH@/libGLESv2.dll
212 #endif # MOZ_ANGLE_RENDERER
214 ; [Browser Chrome Files]
215 @RESPATH@/browser/chrome.manifest
216 @RESPATH@/browser/chrome/browser@JAREXT@
217 @RESPATH@/browser/chrome/browser.manifest
218 @RESPATH@/chrome/pdfjs.manifest
219 @RESPATH@/chrome/pdfjs/*
220 @RESPATH@/chrome/toolkit@JAREXT@
221 @RESPATH@/chrome/toolkit.manifest
222 #ifdef MOZ_GTK
223 @RESPATH@/browser/chrome/icons/default/default16.png
224 @RESPATH@/browser/chrome/icons/default/default32.png
225 @RESPATH@/browser/chrome/icons/default/default48.png
226 @RESPATH@/browser/chrome/icons/default/default64.png
227 @RESPATH@/browser/chrome/icons/default/default128.png
228 #endif
229 @RESPATH@/browser/features/*
231 ; [DevTools Startup Files]
232 @RESPATH@/browser/chrome/devtools-startup@JAREXT@
233 @RESPATH@/browser/chrome/devtools-startup.manifest
235 ; DevTools
236 @RESPATH@/browser/chrome/devtools@JAREXT@
237 @RESPATH@/browser/chrome/devtools.manifest
238 @RESPATH@/browser/@PREF_DIR@/debugger.js
240 ; shell icons
241 #ifdef XP_UNIX
242 #ifndef XP_MACOSX
243 #ifdef MOZ_UPDATER
244 ; updater icon
245 @RESPATH@/icons/updater.png
246 #endif
247 #endif
248 #endif
250 ; [Default Preferences]
251 ; All the pref files must be part of base to prevent migration bugs
252 @RESPATH@/browser/@PREF_DIR@/firefox.js
253 @RESPATH@/browser/@PREF_DIR@/firefox-branding.js
254 @RESPATH@/greprefs.js
255 @RESPATH@/defaults/autoconfig/prefcalls.js
256 @RESPATH@/browser/defaults/permissions
257 ; Remote Settings JSON dumps
258 @RESPATH@/browser/defaults/settings/last_modified.json
259 @RESPATH@/browser/defaults/settings/blocklists
260 @RESPATH@/browser/defaults/settings/main
261 @RESPATH@/browser/defaults/settings/security-state
263 ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
264 ; Technically this is an app pref file, but we are keeping it in the original
265 ; gre location for now.
266 @RESPATH@/defaults/pref/channel-prefs.js
268 ; Background tasks-specific preferences.
269 ; These are in the GRE location since they apply to all tasks at this time.
270 #ifdef MOZ_BACKGROUNDTASKS
271 ; These are in the GRE location since they apply to all tasks at this time.
272 @RESPATH@/defaults/backgroundtasks/backgroundtasks.js
273 ; While these override browser-specific prefs in `firefox.js`.
274 @RESPATH@/browser/defaults/backgroundtasks/backgroundtasks_browser.js
275 #endif
277 ; [Layout Engine Resources]
278 ; Style Sheets, Graphics and other Resources used by the layout engine.
279 @RESPATH@/res/EditorOverride.css
280 @RESPATH@/res/contenteditable.css
281 @RESPATH@/res/designmode.css
282 @RESPATH@/res/table-add-column-after-active.gif
283 @RESPATH@/res/table-add-column-after-hover.gif
284 @RESPATH@/res/table-add-column-after.gif
285 @RESPATH@/res/table-add-column-before-active.gif
286 @RESPATH@/res/table-add-column-before-hover.gif
287 @RESPATH@/res/table-add-column-before.gif
288 @RESPATH@/res/table-add-row-after-active.gif
289 @RESPATH@/res/table-add-row-after-hover.gif
290 @RESPATH@/res/table-add-row-after.gif
291 @RESPATH@/res/table-add-row-before-active.gif
292 @RESPATH@/res/table-add-row-before-hover.gif
293 @RESPATH@/res/table-add-row-before.gif
294 @RESPATH@/res/table-remove-column-active.gif
295 @RESPATH@/res/table-remove-column-hover.gif
296 @RESPATH@/res/table-remove-column.gif
297 @RESPATH@/res/table-remove-row-active.gif
298 @RESPATH@/res/table-remove-row-hover.gif
299 @RESPATH@/res/table-remove-row.gif
300 @RESPATH@/res/grabber.gif
301 #ifdef XP_MACOSX
302 @RESPATH@/res/cursors/*
303 #endif
304 @RESPATH@/res/fonts/*
305 @RESPATH@/res/dtd/*
306 @RESPATH@/res/language.properties
307 @RESPATH@/res/locale/layout/HtmlForm.properties
308 @RESPATH@/res/locale/layout/MediaDocument.properties
309 @RESPATH@/res/locale/layout/xmlparser.properties
310 @RESPATH@/res/locale/dom/dom.properties
311 #ifdef XP_MACOSX
312 @RESPATH@/res/MainMenu.nib/
313 #endif
315 ; Content-accessible resources.
316 @RESPATH@/contentaccessible/*
318 ; svg
319 @RESPATH@/res/svg.css
321 ; [Layout Debugger]
322 #ifdef MOZ_LAYOUT_DEBUGGER
323 @RESPATH@/chrome/layoutdebug@JAREXT@
324 @RESPATH@/chrome/layoutdebug.manifest
325 #endif
327 ; [Personal Security Manager]
329 ; NSS libraries are signed in the staging directory,
330 ; meaning their .chk files are created there directly.
332 #ifndef MOZ_SYSTEM_NSS
333 #if defined(XP_LINUX) && !defined(ANDROID)
334 @BINPATH@/@DLL_PREFIX@freeblpriv3@DLL_SUFFIX@
335 #elif defined(XP_SOLARIS) && defined(SPARC64)
336 bin/libfreebl_64fpu_3.so
337 bin/libfreebl_64int_3.so
338 #else
339 @BINPATH@/@DLL_PREFIX@freebl3@DLL_SUFFIX@
340 #endif
341 @BINPATH@/@DLL_PREFIX@nss3@DLL_SUFFIX@
342 @BINPATH@/@DLL_PREFIX@nssckbi@DLL_SUFFIX@
343 #ifndef MOZ_FOLD_LIBS
344 @BINPATH@/@DLL_PREFIX@nssutil3@DLL_SUFFIX@
345 @BINPATH@/@DLL_PREFIX@smime3@DLL_SUFFIX@
346 @BINPATH@/@DLL_PREFIX@ssl3@DLL_SUFFIX@
347 #endif
348 @BINPATH@/@DLL_PREFIX@softokn3@DLL_SUFFIX@
349 #endif
350 @RESPATH@/chrome/pippki@JAREXT@
351 @RESPATH@/chrome/pippki.manifest
353 ; preprocessor.py doesn't handle parentheses, so while the following could be
354 ; expressed in a single line, it's more clear to break them up.
355 #if defined(XP_WIN) || defined(XP_MACOSX)
356 #if !defined(_ARM64_)
357 @BINPATH@/@DLL_PREFIX@osclientcerts@DLL_SUFFIX@
358 #endif
359 #endif
361 @BINPATH@/@DLL_PREFIX@ipcclientcerts@DLL_SUFFIX@
363 ; For process sandboxing
364 #if defined(MOZ_SANDBOX)
365 #if defined(XP_LINUX)
366 @BINPATH@/@DLL_PREFIX@mozsandbox@DLL_SUFFIX@
367 #endif
368 #endif
370 ; [Updater]
372 #ifdef MOZ_UPDATER
373 #ifdef XP_MACOSX
374 @BINPATH@/updater.app/
375 #else
376 @BINPATH@/updater@BIN_SUFFIX@
377 #endif
378 #endif
380 ; [MaintenanceService]
382 #ifdef MOZ_MAINTENANCE_SERVICE
383 @BINPATH@/maintenanceservice.exe
384 @BINPATH@/maintenanceservice_installer.exe
385 #endif
387 ; [Crash Reporter]
389 #ifdef MOZ_CRASHREPORTER
390 #ifdef XP_MACOSX
391 @BINPATH@/crashreporter.app/
392 #else
393 @BINPATH@/crashreporter@BIN_SUFFIX@
394 @RESPATH@/crashreporter.ini
395 #ifdef XP_UNIX
396 @RESPATH@/Throbber-small.gif
397 #elif defined(XP_WIN)
398 @BINPATH@/@DLL_PREFIX@mozwer@DLL_SUFFIX@
399 #endif
400 #endif
401 @RESPATH@/browser/crashreporter-override.ini
402 #ifdef MOZ_CRASHREPORTER_INJECTOR
403 @BINPATH@/breakpadinjector.dll
404 #endif
405 #endif
407 ; [ minidump-analyzer ]
409 #ifdef MOZ_CRASHREPORTER
410 @BINPATH@/minidump-analyzer@BIN_SUFFIX@
411 #endif
413 ; [ Ping Sender ]
415 @BINPATH@/pingsender@BIN_SUFFIX@
417 ; [ Notification COM Server ]
419 #if defined(MOZ_NOTIFICATION_SERVER)
420 @BINPATH@/@DLL_PREFIX@notificationserver@DLL_SUFFIX@
421 #endif
423 ; Shutdown Terminator
424 @RESPATH@/components/terminator.manifest
426 #ifdef LLVM_SYMBOLIZER
427 @BINPATH@/@LLVM_SYMBOLIZER@
428 #endif
430 #ifdef MOZ_CLANG_RT_ASAN_LIB
431 @BINPATH@/@MOZ_CLANG_RT_ASAN_LIB@
432 #endif
434 ; media
435 @RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
436 @RESPATH@/gmp-clearkey/0.1/manifest.json
438 #ifdef MOZ_DMD
439 ; DMD
440 @RESPATH@/dmd.py
441 @RESPATH@/fix_stacks.py
442 #endif
444 #ifdef PKG_LOCALE_MANIFEST
445 #include @PKG_LOCALE_MANIFEST@
446 #endif
448 #if defined(XP_WIN) && defined(MOZ_DEFAULT_BROWSER_AGENT)
449 @BINPATH@/default-browser-agent@BIN_SUFFIX@
450 #endif
452 #ifdef MOZ_ARTIFACT_BUILDS
453 ; Test workers unpack artifact build packages and need `jogfile.json`
454 @RESPATH@/jogfile.json
455 #endif