tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

package-manifest.in (12549B)


      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 #ifndef BASE_BROWSER_UPDATE
     40 @APPNAME@/Contents/Library/LaunchServices
     41 #endif
     42 #endif
     43 @APPNAME@/Contents/Frameworks
     44 @APPNAME@/Contents/PkgInfo
     45 @RESPATH@/firefox.icns
     46 @RESPATH@/document.icns
     47 @RESPATH@/@LPROJ_ROOT@.lproj/*
     48 #endif
     49 
     50 [@AB_CD@]
     51 @RESPATH@/dictionaries/*
     52 @RESPATH@/browser/localization/*
     53 @RESPATH@/localization/*
     54 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
     55 @RESPATH@/fonts/*
     56 #endif
     57 @RESPATH@/hyphenation/*
     58 @RESPATH@/browser/@PREF_DIR@/firefox-l10n.js
     59 #ifdef HAVE_MAKENSISU
     60 @BINPATH@/uninstall/helper.exe
     61 #endif
     62 @RESPATH@/default.locale
     63 #ifdef MOZ_UPDATER
     64 @RESPATH@/updater.ini
     65 #endif
     66 
     67 [xpcom]
     68 @RESPATH@/dependentlibs.list
     69 #ifdef MOZ_SHARED_MOZGLUE
     70 @BINPATH@/@DLL_PREFIX@mozglue@DLL_SUFFIX@
     71 #endif
     72 #ifndef MOZ_STATIC_JS
     73 @BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
     74 #endif
     75 #ifndef MOZ_SYSTEM_NSPR
     76 #ifndef MOZ_FOLD_LIBS
     77 @BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
     78 @BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
     79 @BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
     80 #endif
     81 #endif
     82 #ifdef XP_MACOSX
     83 @BINPATH@/XUL
     84 #else
     85 @BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
     86 #endif
     87 #ifdef XP_MACOSX
     88 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
     89 @BINPATH@/@MOZ_EME_PROCESS_NAME@.app/
     90 @BINPATH@/@MOZ_GPU_PROCESS_NAME@.app/
     91 #endif
     92 #ifdef XP_WIN
     93 @BINPATH@/@MOZ_CHILD_PROCESS_NAME@
     94 @BINPATH@/@DLL_PREFIX@InstallationDirLayout@DLL_SUFFIX@
     95 @BINPATH@/installation_dir_layout/versioned/@DLL_PREFIX@InstallationDirLayout@DLL_SUFFIX@
     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 @BINPATH@/@MSVC_CXX_RUNTIME_ATOMIC_WAIT_DLL@
    103 #endif
    104 ; Windows App SDK DLLs
    105 @BINPATH@/@DLL_PREFIX@CoreMessagingXP@DLL_SUFFIX@
    106 @BINPATH@/@DLL_PREFIX@marshal@DLL_SUFFIX@
    107 @BINPATH@/@DLL_PREFIX@Microsoft.InputStateManager@DLL_SUFFIX@
    108 @BINPATH@/@DLL_PREFIX@Microsoft.Internal.FrameworkUdk@DLL_SUFFIX@
    109 @BINPATH@/@DLL_PREFIX@Microsoft.UI.Composition.OSSupport@DLL_SUFFIX@
    110 @BINPATH@/@DLL_PREFIX@Microsoft.UI.Input@DLL_SUFFIX@
    111 @BINPATH@/@DLL_PREFIX@Microsoft.UI.Windowing.Core@DLL_SUFFIX@
    112 @BINPATH@/@DLL_PREFIX@Microsoft.UI.Windowing@DLL_SUFFIX@
    113 #endif
    114 #ifdef MOZ_GTK
    115 ; This is a standalone binary launched by Firefox on Linux to verify
    116 ; the system's graphics capabilities and behavior.
    117 ; It is separate because it may crash, and handling this within Firefox
    118 ; itself would be more challenging.
    119 @BINPATH@/glxtest
    120 @BINPATH@/@DLL_PREFIX@mozgtk@DLL_SUFFIX@
    121 #ifdef MOZ_WAYLAND
    122 @BINPATH@/@DLL_PREFIX@mozwayland@DLL_SUFFIX@
    123 #endif
    124 #ifdef MOZ_ENABLE_V4L2
    125 ; Similar to glxtest, this tests the hardware decoding for Video for Linux.
    126 ; Currently, it doesn't ship for Firefox targeting typical Intel CPU (or compatible).
    127 @BINPATH@/v4l2test
    128 #endif
    129 #ifdef MOZ_ENABLE_VAAPI
    130 ; Similar to glxtest, this tests the capabilities of the Video Acceleration API (VA-API).
    131 @BINPATH@/vaapitest
    132 #endif
    133 #endif
    134 
    135 ; We don't have a complete view of which dlls to expect when doing an artifact
    136 ; build because we haven't run the relevant parts of configure, so we guess
    137 ; here and trust what came from our source build.
    138 #if defined(MOZ_ARTIFACT_BUILDS) && defined(XP_WIN)
    139 @BINPATH@/vcruntime*.dll
    140 @BINPATH@/msvcp*.dll
    141 @BINPATH@/libEGL.dll
    142 @BINPATH@/libGLESv2.dll
    143 #endif
    144 
    145 #ifdef ONNX_RUNTIME
    146 @BINPATH@/@DLL_PREFIX@onnxruntime@DLL_SUFFIX@
    147 #endif
    148 
    149 [browser]
    150 ; [Base Browser Files]
    151 #ifndef XP_UNIX
    152 @BINPATH@/@MOZ_APP_NAME@.exe
    153 @BINPATH@/firefox.VisualElementsManifest.xml
    154 @BINPATH@/browser/VisualElements/VisualElements_150.png
    155 @BINPATH@/browser/VisualElements/VisualElements_70.png
    156 ; @BINPATH@/private_browsing.exe
    157 ; @BINPATH@/private_browsing.VisualElementsManifest.xml
    158 ; @BINPATH@/browser/VisualElements/PrivateBrowsing_150.png
    159 ; @BINPATH@/browser/VisualElements/PrivateBrowsing_70.png
    160 #else
    161 #ifndef XP_MACOSX
    162 @BINPATH@/@MOZ_APP_NAME@-bin
    163 #endif
    164 @BINPATH@/@MOZ_APP_NAME@
    165 #endif
    166 @RESPATH@/application.ini
    167 #ifdef MOZ_UPDATER
    168 # update-settings.ini has been removed on macOS.
    169 #ifndef XP_MACOSX
    170 @RESPATH@/update-settings.ini
    171 #endif
    172 #endif
    173 @RESPATH@/platform.ini
    174 #ifndef MOZ_FOLD_LIBS
    175 @BINPATH@/@DLL_PREFIX@mozsqlite3@DLL_SUFFIX@
    176 #endif
    177 @BINPATH@/@DLL_PREFIX@lgpllibs@DLL_SUFFIX@
    178 @BINPATH@/@DLL_PREFIX@gkcodecs@DLL_SUFFIX@
    179 @BINPATH@/@DLL_PREFIX@mozavutil@DLL_SUFFIX@
    180 @BINPATH@/@DLL_PREFIX@mozavcodec@DLL_SUFFIX@
    181 
    182 ; [Components]
    183 #ifdef ACCESSIBILITY
    184 #ifdef XP_WIN
    185 @BINPATH@/AccessibleMarshal.dll
    186 #endif
    187 #endif
    188 
    189 ; JavaScript components
    190 @RESPATH@/browser/components/*.manifest
    191 @RESPATH@/components/*.manifest
    192 
    193 ; WebDriver (Marionette, Remote Agent) remote protocols
    194 #ifdef ENABLE_WEBDRIVER
    195 @RESPATH@/chrome/remote@JAREXT@
    196 @RESPATH@/chrome/remote.manifest
    197 #endif
    198 
    199 ; Modules
    200 @RESPATH@/browser/modules/*
    201 @RESPATH@/modules/*
    202 @RESPATH@/moz-src/*
    203 @RESPATH@/browser/actors/*
    204 @RESPATH@/actors/*
    205 
    206 ; ANGLE GLES-on-D3D rendering library
    207 #ifdef MOZ_ANGLE_RENDERER
    208 @BINPATH@/libEGL.dll
    209 @BINPATH@/libGLESv2.dll
    210 #endif # MOZ_ANGLE_RENDERER
    211 
    212 #ifdef MOZ_DXCOMPILER
    213 @BINPATH@/@MOZ_DXC_DLL_NAME@
    214 #endif
    215 
    216 ; [Browser Chrome Files]
    217 @RESPATH@/browser/chrome.manifest
    218 @RESPATH@/browser/chrome/browser@JAREXT@
    219 @RESPATH@/browser/chrome/browser.manifest
    220 @RESPATH@/chrome/toolkit@JAREXT@
    221 @RESPATH@/chrome/toolkit.manifest
    222 #ifdef MOZ_GTK
    223 @RESPATH@/browser/chrome/icons/default/about-logo.svg
    224 @RESPATH@/browser/chrome/icons/default/default16.png
    225 @RESPATH@/browser/chrome/icons/default/default32.png
    226 @RESPATH@/browser/chrome/icons/default/default48.png
    227 @RESPATH@/browser/chrome/icons/default/default64.png
    228 @RESPATH@/browser/chrome/icons/default/default128.png
    229 #endif
    230 
    231 ; Base Browser
    232 @RESPATH@/components/SecurityLevel.manifest
    233 
    234 ; Tor Browser localization files
    235 @RESPATH@/chrome/torbutton.manifest
    236 @RESPATH@/chrome/torbutton/*
    237 
    238 ; Tor integration
    239 @RESPATH@/components/tor-launcher.manifest
    240 
    241 ; [DevTools Startup Files]
    242 @RESPATH@/browser/chrome/devtools-startup@JAREXT@
    243 @RESPATH@/browser/chrome/devtools-startup.manifest
    244 
    245 ; DevTools
    246 @RESPATH@/browser/chrome/devtools@JAREXT@
    247 @RESPATH@/browser/chrome/devtools.manifest
    248 @RESPATH@/browser/@PREF_DIR@/debugger.js
    249 
    250 ; PdfJs
    251 @RESPATH@/chrome/pdfjs.manifest
    252 @RESPATH@/chrome/pdfjs/*
    253 @RESPATH@/defaults/pref/PdfJsDefaultPrefs.js
    254 
    255 ; shell icons
    256 #ifdef XP_UNIX
    257 #ifndef XP_MACOSX
    258 #ifdef MOZ_UPDATER
    259 ; updater icon
    260 @RESPATH@/icons/updater.png
    261 #endif
    262 #endif
    263 #endif
    264 
    265 ; [Default Preferences]
    266 ; All the pref files must be part of base to prevent migration bugs
    267 @RESPATH@/browser/@PREF_DIR@/firefox.js
    268 @RESPATH@/browser/@PREF_DIR@/firefox-branding.js
    269 @RESPATH@/greprefs.js
    270 @RESPATH@/defaults/autoconfig/prefcalls.js
    271 @RESPATH@/browser/defaults/permissions
    272 ; Remote Settings JSON dumps
    273 @RESPATH@/browser/defaults/settings
    274 @RESPATH@/browser/@PREF_DIR@/000-tor-browser.js
    275 
    276 # channel-prefs.js has been removed on macOS.
    277 #ifndef XP_MACOSX
    278 ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
    279 ; Technically this is an app pref file, but we are keeping it in the original
    280 ; gre location for now.
    281 @RESPATH@/defaults/pref/channel-prefs.js
    282 #endif
    283 
    284 ; Background tasks-specific preferences.
    285 ; These are in the GRE location since they apply to all tasks at this time.
    286 #ifdef MOZ_BACKGROUNDTASKS
    287 ; These are in the GRE location since they apply to all tasks at this time.
    288 @RESPATH@/defaults/backgroundtasks/backgroundtasks.js
    289 ; While these override browser-specific prefs in `firefox.js`.
    290 @RESPATH@/browser/defaults/backgroundtasks/backgroundtasks_browser.js
    291 #endif
    292 
    293 ; [Layout Engine Resources]
    294 ; Style Sheets, Graphics and other Resources used by the layout engine.
    295 @RESPATH@/res/EditorOverride.css
    296 @RESPATH@/res/contenteditable.css
    297 @RESPATH@/res/designmode.css
    298 @RESPATH@/res/table-add-column-after-active.gif
    299 @RESPATH@/res/table-add-column-after-hover.gif
    300 @RESPATH@/res/table-add-column-after.gif
    301 @RESPATH@/res/table-add-column-before-active.gif
    302 @RESPATH@/res/table-add-column-before-hover.gif
    303 @RESPATH@/res/table-add-column-before.gif
    304 @RESPATH@/res/table-add-row-after-active.gif
    305 @RESPATH@/res/table-add-row-after-hover.gif
    306 @RESPATH@/res/table-add-row-after.gif
    307 @RESPATH@/res/table-add-row-before-active.gif
    308 @RESPATH@/res/table-add-row-before-hover.gif
    309 @RESPATH@/res/table-add-row-before.gif
    310 @RESPATH@/res/table-remove-column-active.gif
    311 @RESPATH@/res/table-remove-column-hover.gif
    312 @RESPATH@/res/table-remove-column.gif
    313 @RESPATH@/res/table-remove-row-active.gif
    314 @RESPATH@/res/table-remove-row-hover.gif
    315 @RESPATH@/res/table-remove-row.gif
    316 @RESPATH@/res/grabber.gif
    317 #ifdef XP_MACOSX
    318 @RESPATH@/res/cursors/*
    319 #endif
    320 @RESPATH@/res/fonts/*
    321 @RESPATH@/res/dtd/*
    322 @RESPATH@/res/language.properties
    323 @RESPATH@/res/locale/layout/HtmlForm.properties
    324 @RESPATH@/res/locale/layout/MediaDocument.properties
    325 @RESPATH@/res/locale/layout/xmlparser.properties
    326 @RESPATH@/res/locale/dom/dom.properties
    327 @RESPATH@/res/locale/necko/necko.properties
    328 #ifdef XP_MACOSX
    329 @RESPATH@/res/MainMenu.nib/
    330 #endif
    331 
    332 ; Content-accessible resources.
    333 @RESPATH@/contentaccessible/*
    334 
    335 ; svg
    336 @RESPATH@/res/svg.css
    337 
    338 ; [Layout Debugger]
    339 #ifdef MOZ_LAYOUT_DEBUGGER
    340 @RESPATH@/chrome/layoutdebug@JAREXT@
    341 @RESPATH@/chrome/layoutdebug.manifest
    342 #endif
    343 
    344 ; [Personal Security Manager]
    345 ;
    346 ; NSS libraries are signed in the staging directory,
    347 ; meaning their .chk files are created there directly.
    348 ;
    349 #ifndef MOZ_SYSTEM_NSS
    350 #if defined(XP_LINUX) && !defined(ANDROID)
    351 @BINPATH@/@DLL_PREFIX@freeblpriv3@DLL_SUFFIX@
    352 #elif defined(XP_SOLARIS) && defined(SPARC64)
    353 bin/libfreebl_64fpu_3.so
    354 bin/libfreebl_64int_3.so
    355 #else
    356 @BINPATH@/@DLL_PREFIX@freebl3@DLL_SUFFIX@
    357 #endif
    358 @BINPATH@/@DLL_PREFIX@nss3@DLL_SUFFIX@
    359 #ifndef MOZ_FOLD_LIBS
    360 @BINPATH@/@DLL_PREFIX@nssutil3@DLL_SUFFIX@
    361 @BINPATH@/@DLL_PREFIX@smime3@DLL_SUFFIX@
    362 @BINPATH@/@DLL_PREFIX@ssl3@DLL_SUFFIX@
    363 #endif
    364 @BINPATH@/@DLL_PREFIX@softokn3@DLL_SUFFIX@
    365 #endif
    366 @RESPATH@/chrome/pippki@JAREXT@
    367 @RESPATH@/chrome/pippki.manifest
    368 
    369 ; For process sandboxing
    370 #if defined(MOZ_SANDBOX)
    371 #if defined(XP_LINUX)
    372 @BINPATH@/@DLL_PREFIX@mozsandbox@DLL_SUFFIX@
    373 #endif
    374 #endif
    375 
    376 ; [Updater]
    377 ;
    378 #ifdef MOZ_UPDATER
    379 #ifdef XP_MACOSX
    380 @BINPATH@/updater.app/
    381 #else
    382 @BINPATH@/updater@BIN_SUFFIX@
    383 #endif
    384 #endif
    385 
    386 ; [MaintenanceService]
    387 ;
    388 #ifdef MOZ_MAINTENANCE_SERVICE
    389 @BINPATH@/maintenanceservice.exe
    390 @BINPATH@/maintenanceservice_installer.exe
    391 #endif
    392 
    393 ; [Crash Reporter]
    394 ;
    395 #ifdef MOZ_CRASHREPORTER
    396 #ifdef XP_MACOSX
    397 @BINPATH@/crashreporter.app/
    398 #else
    399 @BINPATH@/crashreporter@BIN_SUFFIX@
    400 #if defined(XP_WIN)
    401 @BINPATH@/@DLL_PREFIX@mozwer@DLL_SUFFIX@
    402 #endif
    403 #endif
    404 #endif
    405 
    406 ; [ crashhelper ]
    407 ;
    408 #ifdef MOZ_CRASHREPORTER
    409 @BINPATH@/crashhelper@BIN_SUFFIX@
    410 #endif
    411 
    412 ; [ Native Messaging Host Proxy ]
    413 ;
    414 #if defined(XP_WIN) || defined(XP_MACOSX)
    415 @BINPATH@/nmhproxy@BIN_SUFFIX@
    416 #endif
    417 
    418 ; [ Notification COM Server ]
    419 ;
    420 #if defined(MOZ_NOTIFICATION_SERVER)
    421 @BINPATH@/@DLL_PREFIX@notificationserver@DLL_SUFFIX@
    422 #endif
    423 
    424 #ifdef LLVM_SYMBOLIZER
    425 @BINPATH@/@LLVM_SYMBOLIZER@
    426 #endif
    427 
    428 #ifdef MOZ_CLANG_RT_ASAN_LIB
    429 @BINPATH@/@MOZ_CLANG_RT_ASAN_LIB@
    430 #endif
    431 
    432 ; media
    433 ;@RESPATH@/gmp-clearkey/0.1/@DLL_PREFIX@clearkey@DLL_SUFFIX@
    434 ;@RESPATH@/gmp-clearkey/0.1/manifest.json
    435 ;#if defined(MOZ_WMF_CDM) && defined(ENABLE_TESTS)
    436 ;@BINPATH@/@DLL_PREFIX@wmfclearkey@DLL_SUFFIX@
    437 ;#endif
    438 
    439 #ifdef PKG_LOCALE_MANIFEST
    440 #include @PKG_LOCALE_MANIFEST@
    441 #endif
    442 
    443 #if defined(XP_WIN) && defined(MOZ_DEFAULT_BROWSER_AGENT)
    444 @BINPATH@/default-browser-agent@BIN_SUFFIX@
    445 #endif
    446 
    447 #ifdef MOZ_ARTIFACT_BUILDS
    448 ; Test workers unpack artifact build packages and need `jogfile.json`
    449 @RESPATH@/jogfile.json
    450 #endif
    451 
    452 #if defined(DESKTOP_LAUNCHER_ENABLED)
    453 @BINPATH@/desktop-launcher/desktop-launcher@BIN_SUFFIX@
    454 #endif