Skip to content
  • brettw@chromium.org's avatar
    Add yasm to the GN build. · 137dff6d
    brettw@chromium.org authored
    This is forked off of https://codereview.chromium.org/266613002 The code to compile yasm itself is mostly from that patch, with a few updates for the other changes.
    
    Adds a template for running compiled binaries. Compared to Albert's patch above, this assumes the binary is generated by the source tree so can have a cleaner interface (just specify the label of the tool you use).
    
    The yasm rule is new compared to Albert's patch. It uses a special wrapper script instead of the new compiled_action templates so it can properly support depfiles. This also adds convenient support for defines and include dirs.
    
    This adds some trivial ios changes to the content/public/browser. This should be a NOP now.
    
    Fixes a bug in GN depfile creation. Previously, the .d file was emitted as an output of the script, but this confuses ninja. This change just removes that.
    
    BUG=
    R=ajwong@chromium.org
    
    Review URL: https://codereview.chromium.org/321323004
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276772 0039d316-1c4b-4281-b951-d872f2087c98
    137dff6d