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

Unified Diff: tools/generate_shim_headers/generate_shim_headers.py

Issue 12298019: Revert 183089 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « content/renderer/devtools/devtools_agent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/generate_shim_headers/generate_shim_headers.py
===================================================================
--- tools/generate_shim_headers/generate_shim_headers.py (revision 183102)
+++ tools/generate_shim_headers/generate_shim_headers.py (working copy)
@@ -29,7 +29,6 @@
parser.add_option('--headers-root', action='append')
parser.add_option('--define', action='append')
parser.add_option('--output-directory')
- parser.add_option('--prefix', default='')
parser.add_option('--use-include-next', action='store_true')
parser.add_option('--outputs', action='store_true')
parser.add_option('--generate', action='store_true')
@@ -81,11 +80,10 @@
for header in include_before.split(':'):
f.write('#include %s\n' % header)
- include_target = options.prefix + header_filename
if options.use_include_next:
- f.write('#include_next <%s>\n' % include_target)
+ f.write('#include_next <%s>\n' % header_filename)
else:
- f.write('#include <%s>\n' % include_target)
+ f.write('#include <%s>\n' % header_filename)
if include_after:
for header in include_after.split(':'):
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698