Skip to content
  • Brett Wilson's avatar
    Fix compiled action dependencies in GN. · 4b04efb4
    Brett Wilson authored
    The yasm uses of compiled action used sources instead of inputs. Sources applies to the _foreach version but not the plain "compiled_action". These did not trigger an unused variable warning because the declarations themselves dereferenced the sources variable for computing args to the script.
    
    This adds some extra documentation and assertion to the compiled action template. It also adds the binary itself as an input. This should be strictly unnecessary since there should be an implicit dependency on the target, but I like this since it makes things more explicit.
    
    R=ajwong@chromium.org
    
    Review URL: https://codereview.chromium.org/505403002
    
    Cr-Commit-Position: refs/heads/master@{#292447}
    4b04efb4