Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tags and scope attribute passthrough to ScroogeGen (pantsbuild#8599)
### Problem `ScroogeGen` overrides the default `_copy_target_attributes` property from `SimpleCodegenTask`, removing the `tags` and `scope` passthroughs and adding `strict_deps`. Removing these properties may prevent easy implementation of certain solutions, such as adding `use-compiler:rsc-and-zinc` tags to Scala thrift library targets. ### Solution `ScroogeGen._copy_target_attributes` will not remove any attributes from the default list, and only add `strict_deps`. ### Result Users would be able to pass along attributes such as `tags = {"use-compiler:rsc-and-zinc"}` to generated thrift targets.
- Loading branch information