mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Stop shipping snapshot_blob.bin
Shipping both snapshot_blob.bin and v8_context_snapshot.bin is unnecessary, and v8_context_snapshot.bin is available on all supported platforms. Chrome stopped shipping snapshot_blob.bin in https://crrev.com/b550792f0f (~M66).
This commit is contained in:
8
BUILD.gn
8
BUILD.gn
@ -1525,14 +1525,14 @@ if (is_mac) {
|
||||
sources += [ "//ui/gl/resources/angle-metal/gpu_shader_cache.bin" ]
|
||||
|
||||
if (v8_use_external_startup_data) {
|
||||
sources += [
|
||||
"$root_out_dir/snapshot_blob.bin",
|
||||
]
|
||||
public_deps += [ "//v8" ]
|
||||
if (use_v8_context_snapshot) {
|
||||
sources += [ "$root_out_dir/$v8_context_snapshot_filename" ]
|
||||
sources += [ "$root_build_dir/$v8_context_snapshot_filename" ]
|
||||
public_deps += [ "//tools/v8_context_snapshot" ]
|
||||
}
|
||||
if (!use_v8_context_snapshot || include_both_v8_snapshots) {
|
||||
sources += [ "$root_build_dir/snapshot_blob.bin" ]
|
||||
}
|
||||
}
|
||||
|
||||
outputs = [
|
||||
|
@ -236,7 +236,6 @@ if(OS_LINUX)
|
||||
libGLESv2.so
|
||||
libvk_swiftshader.so
|
||||
libvulkan.so.1
|
||||
snapshot_blob.bin
|
||||
v8_context_snapshot.bin
|
||||
vk_swiftshader_icd.json
|
||||
)
|
||||
@ -564,7 +563,6 @@ if(OS_WINDOWS)
|
||||
libcef.dll
|
||||
libEGL.dll
|
||||
libGLESv2.dll
|
||||
snapshot_blob.bin
|
||||
v8_context_snapshot.bin
|
||||
vk_swiftshader.dll
|
||||
vk_swiftshader_icd.json
|
||||
|
@ -249,7 +249,6 @@ filegroup(
|
||||
filegroup(
|
||||
name = "resources_opt",
|
||||
srcs = [
|
||||
"Release/snapshot_blob.bin",
|
||||
"Release/v8_context_snapshot.bin",
|
||||
"Release/vk_swiftshader_icd.json",
|
||||
"@cef//:resources_common",
|
||||
@ -259,7 +258,6 @@ filegroup(
|
||||
filegroup(
|
||||
name = "resources_dbg",
|
||||
srcs = [
|
||||
"Debug/snapshot_blob.bin",
|
||||
"Debug/v8_context_snapshot.bin",
|
||||
"Debug/vk_swiftshader_icd.json",
|
||||
"@cef//:resources_common",
|
||||
|
@ -14,7 +14,6 @@ The following components are required. CEF will not function without them.
|
||||
* icudtl.dat
|
||||
|
||||
* V8 snapshot data.
|
||||
* snapshot_blob.bin
|
||||
* v8_context_snapshot.bin
|
||||
|
||||
Optional components:
|
||||
|
@ -25,7 +25,7 @@ cefclient.app/
|
||||
resources.pak <=^
|
||||
gpu_shader_cache.bin <= ANGLE-Metal shader cache
|
||||
icudtl.dat <= unicode support
|
||||
snapshot_blob.bin, v8_context_snapshot.[x86_64|arm64].bin <= V8 initial snapshot
|
||||
v8_context_snapshot.[x86_64|arm64].bin <= V8 initial snapshot
|
||||
en.lproj/, ... <= locale-specific resources and strings
|
||||
Info.plist
|
||||
cefclient Helper.app/
|
||||
@ -63,7 +63,6 @@ The following components are required. CEF will not function without them.
|
||||
* Chromium Embedded Framework.framework/Resources/icudtl.dat
|
||||
|
||||
* V8 snapshot data.
|
||||
* Chromium Embedded Framework.framework/Resources/snapshot_blob.bin
|
||||
* Chromium Embedded Framework.framework/Resources/v8_context_snapshot.bin
|
||||
|
||||
Optional components:
|
||||
|
@ -17,7 +17,6 @@ The following components are required. CEF will not function without them.
|
||||
* icudtl.dat
|
||||
|
||||
* V8 snapshot data.
|
||||
* snapshot_blob.bin
|
||||
* v8_context_snapshot.bin
|
||||
|
||||
Optional components:
|
||||
|
@ -1108,8 +1108,7 @@ elif platform == 'windows':
|
||||
{'path': libcef_dll},
|
||||
{'path': 'libEGL.dll'},
|
||||
{'path': 'libGLESv2.dll'},
|
||||
{'path': 'snapshot_blob.bin', 'conditional': True},
|
||||
{'path': 'v8_context_snapshot.bin', 'conditional': True},
|
||||
{'path': 'v8_context_snapshot.bin'},
|
||||
{'path': 'vk_swiftshader.dll'},
|
||||
{'path': 'vk_swiftshader_icd.json'},
|
||||
{'path': 'vulkan-1.dll'},
|
||||
@ -1432,8 +1431,7 @@ elif platform == 'linux':
|
||||
{'path': 'libGLESv2.so'},
|
||||
{'path': 'libvk_swiftshader.so'},
|
||||
{'path': 'libvulkan.so.1'},
|
||||
{'path': 'snapshot_blob.bin', 'conditional': True},
|
||||
{'path': 'v8_context_snapshot.bin', 'conditional': True},
|
||||
{'path': 'v8_context_snapshot.bin'},
|
||||
{'path': 'vk_swiftshader_icd.json'},
|
||||
]
|
||||
# yapf: enable
|
||||
|
Reference in New Issue
Block a user