From 836c889baa15bd931deec201dd82d13e186f265f Mon Sep 17 00:00:00 2001 From: Vikram Subramanian Date: Fri, 13 Oct 2017 16:26:21 -0700 Subject: [PATCH] fix(compiler): prepare for future Bazel semantics of += (#19717) This is a local mod that was already applied in G3. PR Close #19717 --- packages/bazel/src/ng_module.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bazel/src/ng_module.bzl b/packages/bazel/src/ng_module.bzl index 16b143ad50..ddfc04d81a 100644 --- a/packages/bazel/src/ng_module.bzl +++ b/packages/bazel/src/ng_module.bzl @@ -115,7 +115,7 @@ def ngc_compile_action(ctx, label, inputs, outputs, messages_out, config_file_pa else: supports_workers = str(int(ctx.attr._supports_workers)) - arguments = _EXTRA_NODE_OPTIONS_FLAGS + arguments = list(_EXTRA_NODE_OPTIONS_FLAGS) # One at-sign makes this a params-file, enabling the worker strategy. # Two at-signs escapes the argument so it's passed through to ngc # rather than the contents getting expanded. @@ -247,4 +247,4 @@ ng_module = rule( ), }, outputs = COMMON_OUTPUTS, -) \ No newline at end of file +)