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

Side by Side Diff: third_party/inspector_protocol/CodeGenerator.py

Issue 2452853002: [inspector] use own version of third_party/inspector_protocol (Closed)
Patch Set: supported new inspector_protocol location in components/ui_devtools/BUILD.gn Created 4 years, 1 month 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
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os.path 5 import os.path
6 import sys 6 import sys
7 import optparse 7 import optparse
8 import collections 8 import collections
9 import functools 9 import functools
10 try: 10 try:
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 if up_to_date: 490 if up_to_date:
491 sys.exit() 491 sys.exit()
492 492
493 for file_name, content in outputs.iteritems(): 493 for file_name, content in outputs.iteritems():
494 out_file = open(file_name, "w") 494 out_file = open(file_name, "w")
495 out_file.write(content) 495 out_file.write(content)
496 out_file.close() 496 out_file.close()
497 497
498 498
499 main() 499 main()
OLDNEW
« no previous file with comments | « third_party/inspector_protocol/CheckProtocolCompatibility.py ('k') | third_party/inspector_protocol/ConcatenateProtocols.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698