Skip to content

Add a cc_inputs attribute to include arbitrary files in compilation actions and support location expansion #471

@jschear

Description

@jschear

rules_swift's swift_library has a swiftc_inputs attribute, which serves as a way to pass labels that are used in $(location) expansion in other attributes.

There are a few places in rules_swift and rules_apple where the headers field of CcInfo is being used/abused for this purpose:

It would be nice if there was a dedicated attribute. I'd be happy to contribute if this request makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)type: feature requestRequest for new, generally useful functionality that is missing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions