build: Replace iteration over depsets with an explicit .to_list() call. (#27336)

PR Close #27336
This commit is contained in:
Miško Hevery 2018-11-28 13:47:56 -08:00 committed by Igor Minar
parent 653eb5949d
commit 4354fce2bb
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,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",

View File

@ -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 = []