Skip to content

Accept label_string_dict for includes #2611

Closed

Description

@abergmeier-dsfishlabs

Description of the problem / feature request / question:

Once we have label_string_dict (or whatever it will be called), it would be great if the reach of include statements could be controlled by labelled dicts. Something like:

includes = {
  "//visibility:public": "include/",
  "//visibility:private": "src/",
},

where public gets derived by dependants.

Activity

  1. added
    P2
    on Mar 6, 2017
  2. laurentlb commented on Mar 20, 2017

    @laurentlb
    Contributor

    I need more context. Are you talking about the C++ rules?

  3. abergmeier-dsfishlabs commented on Nov 1, 2017

    @abergmeier-dsfishlabs
    ContributorAuthor

    I need more context. Are you talking about the C++ rules?

    Yes. I do think though, that this is not the best idea. Would rather have it accept a custom object, which wraps visibility similar to select.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2type: feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions