Revert "build: should use $(execpath) in npm_package_bin args (#34589)" (#34730)

This reverts commit 67044ef55d.

PR Close #34730
This commit is contained in:
atscott 2020-01-10 13:39:38 -08:00
parent 24679d8676
commit 66fbc2a1b8
3 changed files with 11 additions and 11 deletions

View File

@ -70,14 +70,14 @@ html_insert_assets(
outs = ["_/index.html"], outs = ["_/index.html"],
args = [ args = [
"--html", "--html",
"$(execpath :index.html)", "$(location :index.html)",
"--out", "--out",
"$@", "$@",
"--roots", "--roots",
"$(RULEDIR)", "$(RULEDIR)",
"--assets", "--assets",
"$(execpath :global_stylesheet.css)", "$(location :global_stylesheet.css)",
"$(execpath @npm//:node_modules/zone.js/dist/zone.min.js)", "$(location @npm//:node_modules/zone.js/dist/zone.min.js)",
"bundle.min.js", "bundle.min.js",
], ],
data = [ data = [

View File

@ -346,7 +346,7 @@ def rollup_bundle(name, testonly = False, **kwargs):
name + ".js", name + ".js",
], ],
args = [ args = [
"$(execpath :%s.es2015.js)" % name, "$(location :%s.es2015.js)" % name,
"--types", "--types",
"--skipLibCheck", "--skipLibCheck",
"--target", "--target",
@ -355,7 +355,7 @@ def rollup_bundle(name, testonly = False, **kwargs):
"es2015,dom", "es2015,dom",
"--allowJS", "--allowJS",
"--outFile", "--outFile",
"$(execpath :%s.js)" % name, "$(location :%s.js)" % name,
], ],
data = [ data = [
name + ".es2015.js", name + ".es2015.js",
@ -377,7 +377,7 @@ def rollup_bundle(name, testonly = False, **kwargs):
name + ".es5umd.js", name + ".es5umd.js",
], ],
args = [ args = [
"$(execpath :%s.umd.js)" % name, "$(location :%s.umd.js)" % name,
"--types", "--types",
"--skipLibCheck", "--skipLibCheck",
"--target", "--target",
@ -386,7 +386,7 @@ def rollup_bundle(name, testonly = False, **kwargs):
"es2015,dom", "es2015,dom",
"--allowJS", "--allowJS",
"--outFile", "--outFile",
"$(execpath :%s.es5umd.js)" % name, "$(location :%s.es5umd.js)" % name,
], ],
data = [ data = [
name + ".umd.js", name + ".umd.js",

View File

@ -416,8 +416,8 @@ def ng_rollup_bundle(name, **kwargs):
data = [name + ".min.js"], data = [name + ".min.js"],
outs = [name + ".min.js.br"], outs = [name + ".min.js.br"],
args = [ args = [
"--output=$(execpath %s.min.js.br)" % name, "--output=$(location %s.min.js.br)" % name,
"$(execpath %s.min.js)" % name, "$(location %s.min.js)" % name,
], ],
visibility = visibility, visibility = visibility,
) )
@ -439,8 +439,8 @@ def ng_rollup_bundle(name, **kwargs):
data = [name + ".min.es2015.js"], data = [name + ".min.es2015.js"],
outs = [name + ".min.es2015.js.br"], outs = [name + ".min.es2015.js.br"],
args = [ args = [
"--output=$(execpath %s.min.es2015.js.br)" % name, "--output=$(location %s.min.es2015.js.br)" % name,
"$(execpath %s.min.es2015.js)" % name, "$(location %s.min.es2015.js)" % name,
], ],
visibility = visibility, visibility = visibility,
) )