Commit f84dd037 authored by Hitoshi Yoshida's avatar Hitoshi Yoshida Committed by Commit Bot

Revert "net: Make net/ work with v8_context_snapshot.bin"

This reverts commit f07e903f.

Reason for revert: This CL makes net/ depend on Blink, and it makes build time of net/ very long.

Original change's description:
> net: Make net/ work with v8_context_snapshot.bin
> 
> We are planning to replace snapshot_blob.bin with v8_context_snapshot.bin.
> This CL makes net/ code to load v8_context_snapshot.bin to work with it.
> 
> Bug: 789964, 764576
> Change-Id: Ifcbe58d632dd76fd4bcc02182044d1e111f4267a
> Reviewed-on: https://chromium-review.googlesource.com/810347
> Reviewed-by: Matt Menke <mmenke@chromium.org>
> Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#522648}

TBR=peria@chromium.org,mmenke@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 789964, 764576, 794234
Change-Id: I1e92c339914a6e2b1f33d280e4b41207213688b9
Reviewed-on: https://chromium-review.googlesource.com/836247Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525286}
parent 0cb9a22e
...@@ -2302,7 +2302,9 @@ static_library("http_server") { ...@@ -2302,7 +2302,9 @@ static_library("http_server") {
"server/web_socket_encoder.cc", "server/web_socket_encoder.cc",
"server/web_socket_encoder.h", "server/web_socket_encoder.h",
] ]
configs += [ "//build/config/compiler:wexit_time_destructors" ] configs += [
"//build/config/compiler:wexit_time_destructors",
]
deps = [ deps = [
":net", ":net",
"//base", "//base",
...@@ -2654,7 +2656,9 @@ static_library("test_support") { ...@@ -2654,7 +2656,9 @@ static_library("test_support") {
"url_request/url_request_test_util.h", "url_request/url_request_test_util.h",
] ]
configs += [ "//build/config:precompiled_headers" ] configs += [
"//build/config:precompiled_headers",
]
public_deps = [ public_deps = [
":traffic_annotation", ":traffic_annotation",
...@@ -2761,7 +2765,6 @@ if (use_v8_in_net) { ...@@ -2761,7 +2765,6 @@ if (use_v8_in_net) {
configs += [ configs += [
"//build/config/compiler:wexit_time_destructors", "//build/config/compiler:wexit_time_destructors",
"//tools/v8_context_snapshot:use_v8_context_snapshot",
"//v8:external_startup_data", "//v8:external_startup_data",
] ]
...@@ -2772,7 +2775,6 @@ if (use_v8_in_net) { ...@@ -2772,7 +2775,6 @@ if (use_v8_in_net) {
deps = [ deps = [
"//base", "//base",
"//gin", "//gin",
"//tools/v8_context_snapshot",
"//url", "//url",
"//v8", "//v8",
] ]
...@@ -5302,7 +5304,9 @@ test("net_unittests") { ...@@ -5302,7 +5304,9 @@ test("net_unittests") {
] ]
net_unfiltered_sources = [] net_unfiltered_sources = []
configs += [ "//build/config:precompiled_headers" ] configs += [
"//build/config:precompiled_headers",
]
defines = [] defines = []
deps = [ deps = [
......
...@@ -374,10 +374,7 @@ class SharedIsolateFactory { ...@@ -374,10 +374,7 @@ class SharedIsolateFactory {
#ifdef V8_USE_EXTERNAL_STARTUP_DATA #ifdef V8_USE_EXTERNAL_STARTUP_DATA
gin::V8Initializer::LoadV8Snapshot(); gin::V8Initializer::LoadV8Snapshot();
gin::V8Initializer::LoadV8Natives(); gin::V8Initializer::LoadV8Natives();
#ifdef USE_V8_CONTEXT_SNAPSHOT #endif
gin::V8Initializer::LoadV8ContextSnapshot();
#endif // USE_V8_CONTEXT_SNAPSHOT
#endif // V8_USE_EXTERNAL_STARTUP_DATA
// The performance of the proxy resolver is limited by DNS resolution, // The performance of the proxy resolver is limited by DNS resolution,
// and not V8, so tune down V8 to use as little memory as possible. // and not V8, so tune down V8 to use as little memory as possible.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment