diff --git a/packages/bazel/src/ng_module.bzl b/packages/bazel/src/ng_module.bzl index 5ff45c50d2..951537424d 100644 --- a/packages/bazel/src/ng_module.bzl +++ b/packages/bazel/src/ng_module.bzl @@ -169,7 +169,7 @@ def _expected_outs(ctx): if short_path.endswith(".ts") and not short_path.endswith(".d.ts"): basename = short_path[len(package_prefix):-len(".ts")] - if include_ng_files and (len(factory_basename_set) == 0 or basename in factory_basename_set): + if include_ng_files and (len(factory_basename_set.to_list()) == 0 or basename in factory_basename_set.to_list()): devmode_js = [ ".ngfactory.js", ".ngsummary.js", diff --git a/packages/bazel/src/protractor/protractor_web_test.bzl b/packages/bazel/src/protractor/protractor_web_test.bzl index 9a61b53329..0dc4784535 100644 --- a/packages/bazel/src/protractor/protractor_web_test.bzl +++ b/packages/bazel/src/protractor/protractor_web_test.bzl @@ -36,7 +36,7 @@ def _protractor_web_test_impl(ctx): specs = [ expand_path_into_runfiles(ctx, f.short_path) - for f in files + for f in files.to_list() ] configuration_sources = []