diff --git a/build/npm.gni b/build/npm.gni index 1d1c944256..c2a0d1725a 100644 --- a/build/npm.gni +++ b/build/npm.gni @@ -5,8 +5,8 @@ template("npm_action") { action("npm_pre_flight_" + target_name) { inputs = [ - "package.json", - "yarn.lock", + "//electron/package.json", + "//electron/yarn.lock", ] script = "//electron/build/npm-run.py" diff --git a/build/webpack/webpack.gni b/build/webpack/webpack.gni index 2157cceabe..bc9cd5f439 100644 --- a/build/webpack/webpack.gni +++ b/build/webpack/webpack.gni @@ -36,7 +36,7 @@ template("webpack_build") { rebase_path("$target_gen_dir/buildflags/buildflags.h"), "--env.mode=" + mode, ] - deps += [ "buildflags" ] + deps += [ "//electron/buildflags" ] outputs = [ invoker.out_file ] }