Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: tools/metrics/ukm/pretty_print.py

Issue 2769223005: Create a UKM descriptions XML file (Closed)
Patch Set: Add more metrics Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2017 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
rkaplow 2017/03/30 01:26:20 remove log import
Steven Holte 2017/03/30 22:42:23 Done.
6 import logging
7 import os
8 import sys
9
10 import model
11 sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
12 import presubmit_util
13
14 def main(argv):
15 presubmit_util.DoPresubmitMain(argv, 'ukm.xml', 'ukm.old.xml',
16 'pretty_print.py', model.UpdateXML)
17
18
19 if '__main__' == __name__:
20 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698