From c0b87567978d32e3fd2f2d3c3daaafb7838a375e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 13 Feb 2019 13:26:30 -0500 Subject: build: fix deps for deno_runtime_declaration --- libdeno/deno.gni | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libdeno') diff --git a/libdeno/deno.gni b/libdeno/deno.gni index 56843f4dc..90d61240b 100644 --- a/libdeno/deno.gni +++ b/libdeno/deno.gni @@ -10,15 +10,19 @@ template("bundle") { out_dir + out_name + ".js", out_dir + out_name + ".js.map", ] + inputs = [ + "js/" + out_name + ".ts", + "rollup.config.js", + ] depfile = out_dir + out_name + ".d" args = [ rebase_path("third_party/node_modules/rollup/bin/rollup", root_build_dir), "-c", rebase_path("rollup.config.js", root_build_dir), "-i", - rebase_path("js/" + out_name + ".ts", root_build_dir), + rebase_path(inputs[0], root_build_dir), "-o", - rebase_path(out_dir + out_name + ".js", root_build_dir), + rebase_path(outputs[0], root_build_dir), "--sourcemapFile", rebase_path("."), "--silent", -- cgit v1.2.3