summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-10-26 16:42:52 +0200
committerBert Belder <bertbelder@gmail.com>2018-10-26 18:03:53 +0200
commit31de3b938c97dde8a5b695a509f89cb892ec6c4f (patch)
treec25b1a799cdc704c2dfef1b17976159f9df74224
parent8500b78955ccccf1a0a037986145ee0381f2e9c4 (diff)
build: snapshot blob is an input for the snapshot object
-rw-r--r--BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index b70db0f05..7c2362fd5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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) ]