• Sebastien Marchand's avatar
    Fix histogram_paths.py on Windows · 057feb5c
    Sebastien Marchand authored
    There's 2 issues with histogram_paths.py on Windows:
      - Some path have different casing on Win vs Linux, see
        crbug.com/1132974 . This is not the right way to fix this but this
        allows running histogram_paths.py on Windows.
      - Normalizing the path separators after sorting them causes some
        sorting differences (this causes
        "tools/metrics/histograms/histograms_xml/renderer4/histograms.xml"
        to appear before
        "tools/metrics/histograms/histograms_xml/renderer/histograms.xml" on
        Windows.
    
    
    Bug: 1132974
    Change-Id: Id6953f29f2073551df9a13cc2c72d2e6eef33cd5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436293Reviewed-by: default avatarWeilun Shi <sweilun@chromium.org>
    Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
    Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811401}
    057feb5c
histogram_paths.py 3.14 KB