• sdefresne's avatar
    Support for excluding variable from forwarding via forward_variables_form. · bf5ff790
    sdefresne authored
    Some templates wants to forward all their parameters to the underlying
    target except a select few they use. Previously they had to list all
    the variables the underlying target supported which was error prone and
    brittle if the underlying target is changed.
    
    With this change they can just use the following:
    
      forward_variables_from(invoker, "*", ["my_extra_variable"])
      # my_extra_variable is not forwarded, all other variables are.
    
    BUG=580293
    
    Review URL: https://codereview.chromium.org/1632573002
    
    Cr-Commit-Position: refs/heads/master@{#371492}
    bf5ff790
reference.md 164 KB