Along the way, add r prefix to regex patterns.
BUG=456014
TEST=N/A
Review URL: https://codereview.chromium.org/932133005
Cr-Commit-Position: refs/heads/master@{#317193}
In crrev.com/316164, a bug was fixed to handle comments in
a source list correctly.
In this patch, a bug was fixed to handle comments at the
end of a source list.
Along the way, sort some GYP files in sub directories under
base and net, which I forgot to sort previously.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/924743002
Cr-Commit-Position: refs/heads/master@{#316418}
For tools/sort_sources.py to be useful, existing GYP files
should be sorted.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/917083002
Cr-Commit-Position: refs/heads/master@{#316164}
GYP files directly under chrome were sorted in crrev.com/315927
The patch is to sort smaller GYP files in sub directories.
Also fix a bug where rc.version, ico, def, release suffixes weren't handled
correctly.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/914243003
Cr-Commit-Position: refs/heads/master@{#316127}
For tools/sort_sources.py to be useful, existing GYP files
should be sorted.
Also fix a bug in sort_sources.py where .mm and .rc files weren't
sorted correctly.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/911043002
Cr-Commit-Position: refs/heads/master@{#315927}
tools/git/move_source_file.py updates C++ source file names in
build files for you, but it does not sort the updated file names.
With this tool, you can sort C++ source file names in build files
(both GYP and GN files supported) automatically. It's not perfect
but should work reasonably well.
BUG=456014
TEST=Run the tool against some build files. The results are included in the patch.
Review URL: https://codereview.chromium.org/888873003
Cr-Commit-Position: refs/heads/master@{#315517}