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

Side by Side Diff: ppapi/generators/idl_c_header.py

Issue 9168014: Fix incorrectly resolved conflict, and add error message for missing sources. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/generator.py ('k') | ppapi/generators/idl_generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 4 # found in the LICENSE file.
6 5
7 """ Generator for C style prototypes and definitions """ 6 """ Generator for C style prototypes and definitions """
8 7
9 import glob 8 import glob
10 import os 9 import os
11 import sys 10 import sys
12 11
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 ast = ParseFiles(filenames) 233 ast = ParseFiles(filenames)
235 if hgen.GenerateRange(ast, ['M13', 'M14', 'M15'], {}): 234 if hgen.GenerateRange(ast, ['M13', 'M14', 'M15'], {}):
236 print "Golden file for M13-M15 failed." 235 print "Golden file for M13-M15 failed."
237 failed =1 236 failed =1
238 else: 237 else:
239 print "Golden file for M13-M15 passed." 238 print "Golden file for M13-M15 passed."
240 239
241 return failed 240 return failed
242 241
243 if __name__ == '__main__': 242 if __name__ == '__main__':
244 retval = Main(sys.argv[1:]) 243 sys.exit(Main(sys.argv[1:]))
245 sys.exit(retval)
246 244
OLDNEW
« no previous file with comments | « ppapi/generators/generator.py ('k') | ppapi/generators/idl_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698