2013-04-11 23:07:43 +00:00
|
|
|
REDISTRIBUTION
|
|
|
|
--------------
|
|
|
|
|
|
|
|
This binary distribution contains the below components. Components listed under
|
|
|
|
the "required" section must be redistributed with all applications using CEF.
|
|
|
|
Components listed under the "optional" section may be excluded if the related
|
|
|
|
features will not be used.
|
|
|
|
|
2024-07-28 18:19:47 +00:00
|
|
|
Applications using CEF on MacOS must follow a specific app bundle structure.
|
2013-11-21 22:43:36 +00:00
|
|
|
Replace "cefclient" in the below example with your application name.
|
|
|
|
|
|
|
|
cefclient.app/
|
|
|
|
Contents/
|
|
|
|
Frameworks/
|
|
|
|
Chromium Embedded Framework.framework/
|
|
|
|
Chromium Embedded Framework <= main application library
|
2018-07-30 16:15:19 -04:00
|
|
|
Libraries/
|
2021-09-30 21:21:50 +03:00
|
|
|
libEGL.dylib <= ANGLE support libraries
|
2018-07-30 16:15:19 -04:00
|
|
|
libGLESv2.dylib <=^
|
2021-09-30 21:21:50 +03:00
|
|
|
libvk_swiftshader.dylib <= SwANGLE support libraries
|
|
|
|
vk_swiftshader_icd.json <=^
|
2013-11-21 22:43:36 +00:00
|
|
|
Resources/
|
2021-02-28 15:23:42 -05:00
|
|
|
chrome_100_percent.pak <= non-localized resources and strings
|
|
|
|
chrome_200_percent.pak <=^
|
|
|
|
resources.pak <=^
|
2023-04-26 15:55:59 -04:00
|
|
|
gpu_shader_cache.bin <= ANGLE-Metal shader cache
|
2014-02-05 20:35:45 +00:00
|
|
|
icudtl.dat <= unicode support
|
2020-11-20 16:00:56 -05:00
|
|
|
snapshot_blob.bin, v8_context_snapshot.[x86_64|arm64].bin <= V8 initial snapshot
|
2013-11-21 22:43:36 +00:00
|
|
|
en.lproj/, ... <= locale-specific resources and strings
|
|
|
|
Info.plist
|
|
|
|
cefclient Helper.app/
|
|
|
|
Contents/
|
|
|
|
Info.plist
|
|
|
|
MacOS/
|
|
|
|
cefclient Helper <= helper executable
|
|
|
|
Pkginfo
|
|
|
|
Info.plist
|
|
|
|
MacOS/
|
|
|
|
cefclient <= cefclient application executable
|
|
|
|
Pkginfo
|
|
|
|
Resources/
|
|
|
|
binding.html, ... <= cefclient application resources
|
|
|
|
|
|
|
|
The "Chromium Embedded Framework.framework" is an unversioned framework that
|
|
|
|
contains CEF binaries and resources. Executables (cefclient, cefclient Helper,
|
2018-07-30 16:15:19 -04:00
|
|
|
etc) must load this framework dynamically at runtime instead of linking it
|
|
|
|
directly. See the documentation in include/wrapper/cef_library_loader.h for
|
|
|
|
more information.
|
2013-11-21 22:43:36 +00:00
|
|
|
|
2015-10-09 11:23:12 -04:00
|
|
|
The "cefclient Helper" app is used for executing separate processes (renderer,
|
|
|
|
plugin, etc) with different characteristics. It needs to have a separate app
|
2020-04-02 13:42:59 -04:00
|
|
|
bundle and Info.plist file so that, among other things, it doesn't show dock
|
2015-10-09 11:23:12 -04:00
|
|
|
icons.
|
2013-11-21 22:43:36 +00:00
|
|
|
|
2013-04-11 23:07:43 +00:00
|
|
|
Required components:
|
|
|
|
|
2015-07-16 17:40:01 -04:00
|
|
|
The following components are required. CEF will not function without them.
|
2013-04-11 23:07:43 +00:00
|
|
|
|
2015-07-16 17:40:01 -04:00
|
|
|
* CEF core library.
|
|
|
|
* Chromium Embedded Framework.framework/Chromium Embedded Framework
|
2014-02-05 20:35:45 +00:00
|
|
|
|
2015-07-16 17:40:01 -04:00
|
|
|
* Unicode support data.
|
|
|
|
* Chromium Embedded Framework.framework/Resources/icudtl.dat
|
|
|
|
|
|
|
|
* V8 snapshot data.
|
|
|
|
* Chromium Embedded Framework.framework/Resources/snapshot_blob.bin
|
2017-09-06 17:40:58 -04:00
|
|
|
* Chromium Embedded Framework.framework/Resources/v8_context_snapshot.bin
|
2014-12-13 20:18:31 +00:00
|
|
|
|
2013-04-11 23:07:43 +00:00
|
|
|
Optional components:
|
|
|
|
|
2015-07-16 17:40:01 -04:00
|
|
|
The following components are optional. If they are missing CEF will continue to
|
|
|
|
run but any related functionality may become broken or disabled.
|
|
|
|
|
|
|
|
* Localized resources.
|
|
|
|
Locale file loading can be disabled completely using
|
|
|
|
CefSettings.pack_loading_disabled.
|
|
|
|
|
|
|
|
* Chromium Embedded Framework.framework/Resources/*.lproj/
|
|
|
|
Directory containing localized resources used by CEF, Chromium and Blink. A
|
|
|
|
.pak file is loaded from this directory based on the CefSettings.locale
|
|
|
|
value. Only configured locales need to be distributed. If no locale is
|
|
|
|
configured the default locale of "en" will be used. Without these files
|
|
|
|
arbitrary Web components may display incorrectly.
|
|
|
|
|
|
|
|
* Other resources.
|
|
|
|
Pack file loading can be disabled completely using
|
2013-04-11 23:07:43 +00:00
|
|
|
CefSettings.pack_loading_disabled.
|
|
|
|
|
2021-02-28 15:23:42 -05:00
|
|
|
* Chromium Embedded Framework.framework/Resources/chrome_100_percent.pak
|
|
|
|
* Chromium Embedded Framework.framework/Resources/chrome_200_percent.pak
|
|
|
|
* Chromium Embedded Framework.framework/Resources/resources.pak
|
2015-07-16 17:40:01 -04:00
|
|
|
These files contain non-localized resources used by CEF, Chromium and Blink.
|
|
|
|
Without these files arbitrary Web components may display incorrectly.
|
|
|
|
|
2021-09-30 21:21:50 +03:00
|
|
|
* ANGLE support.
|
2018-07-30 16:15:19 -04:00
|
|
|
* Chromium Embedded Framework.framework/Libraries/libEGL.dylib
|
|
|
|
* Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib
|
2023-04-26 15:55:59 -04:00
|
|
|
* Chromium Embedded Framework.framework/Resources/gpu_shader_cache.bin
|
2021-09-30 21:21:50 +03:00
|
|
|
Support for rendering of HTML5 content like 2D canvas, 3D CSS and WebGL.
|
|
|
|
Without these files the aforementioned capabilities may fail.
|
|
|
|
|
|
|
|
* SwANGLE support.
|
|
|
|
* Chromium Embedded Framework.framework/Libraries/libvk_swiftshader.dylib
|
|
|
|
* Chromium Embedded Framework.framework/Libraries/vk_swiftshader_icd.json
|
|
|
|
Support for software rendering of HTML5 content like 2D canvas, 3D CSS and
|
|
|
|
WebGL using SwiftShader's Vulkan library as ANGLE's Vulkan backend. Without
|
|
|
|
these files the aforementioned capabilities may fail when GPU acceleration is
|
|
|
|
disabled or unavailable.
|