• Luke Zielinski's avatar
    Update WPT Metadata Builder to output a stamp file. · a526ccbf
    Luke Zielinski authored
    The stamp will be the only output declared by this script, since the
    output directory is large and variable. But the modification time of the
    stamp file should match the modification time of the metadata directory,
    which is what the build system needs to determine whether the action
    needs to be re-run.
    
    I tested by running `$ autoninja -C out/Default third_party/blink/tools:build_wpt_metadata`
    twice in a row. The first time ran the script, second time said "no work to do".
    
    Bug: 995112
    Change-Id: Id74e6e623807be604e85dd69ab95883a6ce275fc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762590Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Commit-Queue: Luke Z <lpz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#688644}
    a526ccbf
BUILD.gn 2.53 KB