Create depsets outside of loop
Create depsets outside of loop

The + operator on depset is deprecated. For this case we can instead
build up a list, and create a depset later.

Closes #258.

PiperOrigin-RevId: 222878258

bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple