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

Unified Diff: ppapi/generators/idl_parser.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/generators/idl_node.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_parser.py
===================================================================
--- ppapi/generators/idl_parser.py (revision 117045)
+++ ppapi/generators/idl_parser.py (working copy)
@@ -1018,6 +1018,9 @@
srcdir = os.path.normpath(srcdir)
filenames += sorted(glob.glob(srcdir))
+ if not filenames:
+ ErrOut.Log('No sources provided.')
+
for filename in filenames:
filenode = parser.ParseFile(filename)
filenodes.append(filenode)
« no previous file with comments | « ppapi/generators/idl_node.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698