mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use the same pak files for the Alloy and Chrome runtimes (see issue #2969)
Chrome currently uses chrome_100_percent.pak, chrome_200_percent.pak, resources.pak and locales/<locale>.pak files. This change adds CEF resources to those existing pak files and updates the Alloy runtime to use them instead of the previous CEF-specific pak files (cef.pak, cef_100_percent.pak, cef_200_percent.pak, cef_extensions.pak, devtools_resources.pak) which are no longer generated. The addition of Chrome resources results in an ~16% (~4.1MB) increase in total combined pak file size vs. the previous CEF-specific pak files. While a size increase is not ideal for the Alloy runtime, it seems preferable to the alternative of distributing separate (and partially duplicated) pak files for each runtime, which would have added ~9.8MB to the total binary distribution size.
This commit is contained in:
@@ -41,22 +41,12 @@ run but any related functionality may become broken or disabled.
|
||||
CefSettings.pack_loading_disabled. The resources directory path can be
|
||||
customized using CefSettings.resources_dir_path.
|
||||
|
||||
* cef.pak
|
||||
* cef_100_percent.pak
|
||||
* cef_200_percent.pak
|
||||
* chrome_100_percent.pak
|
||||
* chrome_200_percent.pak
|
||||
* resources.pak
|
||||
These files contain non-localized resources used by CEF, Chromium and Blink.
|
||||
Without these files arbitrary Web components may display incorrectly.
|
||||
|
||||
* cef_extensions.pak
|
||||
This file contains non-localized resources required for extension loading.
|
||||
Pass the `--disable-extensions` command-line flag to disable use of this
|
||||
file. Without this file components that depend on the extension system,
|
||||
such as the PDF viewer, will not function.
|
||||
|
||||
* devtools_resources.pak
|
||||
This file contains non-localized resources required for Chrome Developer
|
||||
Tools. Without this file Chrome Developer Tools will not function.
|
||||
|
||||
* Angle support.
|
||||
* libEGL.so
|
||||
* libGLESv2.so
|
||||
|
@@ -20,11 +20,9 @@ cefclient.app/
|
||||
libswiftshader_libEGL.dylib <= swiftshader support libraries
|
||||
libswiftshader_libGLESv2.dylib <=^
|
||||
Resources/
|
||||
cef.pak <= non-localized resources and strings
|
||||
cef_100_percent.pak <====^
|
||||
cef_200_percent.pak <====^
|
||||
cef_extensions.pak <=====^
|
||||
devtools_resources.pak <=^
|
||||
chrome_100_percent.pak <= non-localized resources and strings
|
||||
chrome_200_percent.pak <=^
|
||||
resources.pak <=^
|
||||
icudtl.dat <= unicode support
|
||||
snapshot_blob.bin, v8_context_snapshot.[x86_64|arm64].bin <= V8 initial snapshot
|
||||
en.lproj/, ... <= locale-specific resources and strings
|
||||
@@ -87,22 +85,12 @@ run but any related functionality may become broken or disabled.
|
||||
Pack file loading can be disabled completely using
|
||||
CefSettings.pack_loading_disabled.
|
||||
|
||||
* Chromium Embedded Framework.framework/Resources/cef.pak
|
||||
* Chromium Embedded Framework.framework/Resources/cef_100_percent.pak
|
||||
* Chromium Embedded Framework.framework/Resources/cef_200_percent.pak
|
||||
* 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
|
||||
These files contain non-localized resources used by CEF, Chromium and Blink.
|
||||
Without these files arbitrary Web components may display incorrectly.
|
||||
|
||||
* Chromium Embedded Framework.framework/Resources/cef_extensions.pak
|
||||
This file contains non-localized resources required for extension loading.
|
||||
Pass the `--disable-extensions` command-line flag to disable use of this
|
||||
file. Without this file components that depend on the extension system,
|
||||
such as the PDF viewer, will not function.
|
||||
|
||||
* Chromium Embedded Framework.framework/Resources/devtools_resources.pak
|
||||
This file contains non-localized resources required for Chrome Developer
|
||||
Tools. Without this file Chrome Developer Tools will not function.
|
||||
|
||||
* Angle support.
|
||||
* Chromium Embedded Framework.framework/Libraries/libEGL.dylib
|
||||
* Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib
|
||||
|
@@ -42,22 +42,12 @@ run but any related functionality may become broken or disabled.
|
||||
CefSettings.pack_loading_disabled. The resources directory path can be
|
||||
customized using CefSettings.resources_dir_path.
|
||||
|
||||
* cef.pak
|
||||
* cef_100_percent.pak
|
||||
* cef_200_percent.pak
|
||||
* chrome_100_percent.pak
|
||||
* chrome_200_percent.pak
|
||||
* resources.pak
|
||||
These files contain non-localized resources used by CEF, Chromium and Blink.
|
||||
Without these files arbitrary Web components may display incorrectly.
|
||||
|
||||
* cef_extensions.pak
|
||||
This file contains non-localized resources required for extension loading.
|
||||
Pass the `--disable-extensions` command-line flag to disable use of this
|
||||
file. Without this file components that depend on the extension system,
|
||||
such as the PDF viewer, will not function.
|
||||
|
||||
* devtools_resources.pak
|
||||
This file contains non-localized resources required for Chrome Developer
|
||||
Tools. Without this file Chrome Developer Tools will not function.
|
||||
|
||||
* Angle and Direct3D support.
|
||||
* d3dcompiler_47.dll (required for Windows Vista and newer)
|
||||
* libEGL.dll
|
||||
|
Reference in New Issue
Block a user