Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
chrome: Unship snapshot_blob.bin from Win/Mac/Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdh committed Apr 12, 2018
1 parent e0532fe commit d526fa0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import("//printing/features/features.gni")
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
import("//ui/base/ui_features.gni")
import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
import("//v8/gni/v8.gni")
import("//third_party/icu/config.gni")
import("//media/cdm/library_cdm/cdm_paths.gni")
Expand Down Expand Up @@ -413,11 +414,14 @@ if (icu_use_data_file) {
}

if (v8_use_external_startup_data) {
electron_framework_sources += [
"$root_out_dir/natives_blob.bin",
"$root_out_dir/snapshot_blob.bin",
]
electron_framework_sources += [ "$root_out_dir/natives_blob.bin" ]
electron_framework_public_deps += [ "//v8:v8" ]
if (use_v8_context_snapshot) {
electron_framework_sources += [ "$root_out_dir/v8_context_snapshot.bin" ]
electron_framework_public_deps += [ "//tools/v8_context_snapshot" ]
} else {
electron_framework_sources += [ "$root_out_dir/snapshot_blob.bin" ]
}
}

electron_app_sources = [
Expand Down

0 comments on commit d526fa0

Please sign in to comment.