Specify relative order of nodes in ukm.xml
For each ObjectNodeType, specify alphabetization rules for all its child nodes types, which enforce their order relative to other types when pretty printed (sorting key is checked here: https://cs.chromium.org/chromium/src/tools/metrics/common/pretty_print_xml.py?q=_TransformByAlphabetizing&g=0&l=143). This patch fixes the issue where the pretty print script needs to be run more than once before the XML is sufficiently pretty for presubmit check. Bug: 801614 Change-Id: I7e9076c8e55d300f346bde07db0b12d4c7533661 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1561610Reviewed-by:Robert Kaplow <rkaplow@chromium.org> Commit-Queue: Yue Ru Sun <yrsun@chromium.org> Cr-Commit-Position: refs/heads/master@{#649863}
Showing
Please register or sign in to comment