DescriptionSort "deps" and "public_deps" when running the "gn format" command.
The "deps" and "public_deps" are sorted using the following rules:
1. relative targets (":a", "../b") sort before absolute targets ("//c"),
2. each group (relative and absolute) is sorted alphabetically.
BUG=554928
Committed: https://crrev.com/354261e7dd491e88fde3b3bd3fa5ef6f1c629f00
Cr-Commit-Position: refs/heads/master@{#360042}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use correct rules for sorting deps #Patch Set 3 : Fix a crash if deps contains call to functions #Patch Set 4 : Fix SplitAtFirst #
Total comments: 1
Patch Set 5 : Fix typo #
Total comments: 4
Patch Set 6 : Address comments by scottmg #
Total comments: 6
Patch Set 7 : Fix comments following suggestions #
Messages
Total messages: 27 (4 generated)
|