Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gazelle: extract import resolution out of rules package #1043

Merged
merged 1 commit into from
Nov 21, 2017

Commits on Nov 21, 2017

  1. Gazelle: extract import resolution out of rules package

    Previously, rules.Generator performed import resolution (using the
    resolve package) as it generated rules. With this change, Generator
    now produces a "_gazelle_imports" attribute, which is resolved and
    replaced with "deps".
    
    This is necessary since we must be able to index generated rules. We
    need to generate and index all rules, then resolve imports to deps in
    a separate phase.
    
    Related bazelbuild#859
    Jay Conrod committed Nov 21, 2017
    Configuration menu
    Copy the full SHA
    4fb6230 View commit details
    Browse the repository at this point in the history