1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

build: snapshot blob is an input for the snapshot object

This commit is contained in:
Bert Belder 2018-10-26 16:42:52 +02:00
parent 8500b78955
commit 31de3b938c
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -133,7 +133,7 @@ source_set("snapshot") {
"src/snapshot.cc",
]
configs += [ ":deno_config" ]
data = [
inputs = [
"$target_gen_dir/snapshot_deno.bin",
]
deps = [
@ -152,9 +152,7 @@ source_set("snapshot") {
# header file that contains the the sha256 hash of the snapshot.
if (cc_wrapper != "" && cc_wrapper != "ccache") {
hash_h = "$target_gen_dir/bundle/hash.h"
inputs = [
hash_h,
]
inputs += [ hash_h ]
deps += [ ":bundle_hash_h" ]
if (is_win) {
cflags = [ "/FI" + rebase_path(hash_h, target_out_dir) ]