Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Use depset for objc target includes composition #93

Closed
wants to merge 2 commits into from
Closed

Use depset for objc target includes composition #93

wants to merge 2 commits into from

Conversation

plu
Copy link
Contributor

@plu plu commented May 31, 2019

Fix #92

@plu plu requested a review from DavidGoldman as a code owner May 31, 2019 05:02
@@ -812,7 +812,7 @@ def _tulsi_sources_aspect(target, ctx):
if objc_provider:
target_includes = [
_convert_outpath_to_symlink_path(x)
for x in (objc_provider.include + objc_provider.iquote + objc_provider.include_system)
for x in depset(transitive = [objc_provider.include, objc_provider.iquote, objc_provider.include_system])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be depset(...).to_list()

Copy link
Contributor

@DavidGoldman DavidGoldman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Believe we also need to call to_list()

@bazel-io bazel-io closed this in e47cf66 Jun 4, 2019
@plu plu deleted the fix_depset_union_syntax branch June 5, 2019 05:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

+ operator on a depset is forbidden
3 participants