build: add config_env_vars = ["compile"] to ngc-wrapped (#26607)

PR Close #26607
This commit is contained in:
Greg Magolan 2018-10-22 14:39:03 -07:00 committed by Alex Rickabaugh
parent c251a5a4d1
commit 31a0c2a6c2
2 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
# set which is required to support the call to `global.gc()`. # set which is required to support the call to `global.gc()`.
nodejs_binary( nodejs_binary(
name = "@angular/bazel/ngc-wrapped", name = "@angular/bazel/ngc-wrapped",
configuration_env_vars = ["compile"],
data = ["@npm//@angular/bazel"], data = ["@npm//@angular/bazel"],
entry_point = "@angular/bazel/src/ngc-wrapped/index.js", entry_point = "@angular/bazel/src/ngc-wrapped/index.js",
install_source_map_support = False, install_source_map_support = False,

View File

@ -29,6 +29,7 @@ ts_library(
nodejs_binary( nodejs_binary(
name = "ngc-wrapped", name = "ngc-wrapped",
configuration_env_vars = ["compile"],
data = [ data = [
":ngc_lib", ":ngc_lib",
"@build_bazel_rules_typescript//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto", "@build_bazel_rules_typescript//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto",