forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gin: Make v8_context_snapshot.bin as a default snapshot blob
To make Chrome independent from snapshot_blob.bin, this CL makes v8_context_snapshot.bin as the default snapshot. As a background issue, if we want to use JS (=V8), we have to load a snapshot file on most platforms. It means we have to load either snapshot_blob.bin or v8_context_snapshot.bin. And some unit tests, e.g. net_unittests, do not need to use v8_context_snapshot.bin, and they don't want to depend on blink component. (It takes very long time just to create the snapshot.) This CL makes it possible to load either snapshot file depending on the order of function calls, and make dependencies clear. TBR=liberato Bug: 789964 Change-Id: I4df90ed5fe7be37ab969a7f7d5db79bf572ed02a Reviewed-on: https://chromium-review.googlesource.com/859577 Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Ken Rockot <rockot@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#530539}
- Loading branch information
Showing
13 changed files
with
163 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.