| Index: ppapi/generators/idl_gen_wrapper.py
|
| ===================================================================
|
| --- ppapi/generators/idl_gen_wrapper.py (revision 163185)
|
| +++ ppapi/generators/idl_gen_wrapper.py (working copy)
|
| @@ -12,6 +12,7 @@
|
| from idl_c_proto import CGen
|
| from idl_generator import Generator
|
| from idl_log import ErrOut, InfoOut, WarnOut
|
| +from idl_option import GetOption
|
| from idl_outfile import IDLOutFile
|
|
|
|
|
| @@ -219,8 +220,9 @@
|
| for filenode in ast.GetListOf('File'):
|
| # If this file has errors, skip it
|
| if filenode in self.skip_list:
|
| - InfoOut.Log('WrapperGen: Skipping %s due to errors\n' %
|
| - filenode.GetName())
|
| + if GetOption('verbose'):
|
| + InfoOut.Log('WrapperGen: Skipping %s due to errors\n' %
|
| + filenode.GetName())
|
| continue
|
|
|
| file_name = self.GetHeaderName(filenode.GetName())
|
| @@ -233,8 +235,9 @@
|
| include_version=True)
|
| needs_wrap = self.InterfaceVersionNeedsWrapping(iface, version)
|
| if not needs_wrap:
|
| - InfoOut.Log('Interface %s ver %s does not need wrapping' %
|
| - (struct_name, version))
|
| + if GetOption('verbose'):
|
| + InfoOut.Log('Interface %s ver %s does not need wrapping' %
|
| + (struct_name, version))
|
| iface_releases.append(
|
| Interface(iface, release, version,
|
| struct_name, needs_wrap, file_name))
|
| @@ -456,3 +459,4 @@
|
| out.Write(self.GetGuardEnd())
|
| out.Close()
|
| return 0
|
| +
|
|
|