• brettw@chromium.org's avatar
    GN: Bug fixes in process_file_template · 209d521c
    brettw@chromium.org authored
    process_file_template would fail when the template argument was a string instead of a list, but the previous behavior (and the documentation) describes it as being able to take a string or a list as an argument.
    
    It would also fail if the result was not an absolute file. This is required for most uses of sources expansions, but not for process_file_template which just returns the strings of whatever the results were. This adds "AsStrings" version of the sources expansions writer.
    
    R=jamesr@chromium.org
    
    Review URL: https://codereview.chromium.org/462103004
    
    Cr-Commit-Position: refs/heads/master@{#289112}
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289112 0039d316-1c4b-4281-b951-d872f2087c98
    209d521c
substitution_writer.h 5.09 KB