-
haraken@chromium.org authored
and .cpp files for [Supplemental] IDLs https://bugs.webkit.org/show_bug.cgi?id=75082 Reviewed by Darin Adler. In bug 74481, we changed generate-bindings.pl so that it generates empty .h and .cpp files for the [Supplemental] IDLs. However, the filename prefixes of those .h and .cpp files are wrong. This patch fixes the prefixes as follows: generator=JS => JS*.h, JS*.cpp generator=V8 => V8*.h, V8*.cpp generator=ObjC => DOM*.h, DOM*.cpp generator=GObject => WebKitDOM*.h, WebKitDOM*.cpp generator=CPP => WebDOM*.h, WebDOM*.cpp No new tests. No change in behavior. I confirmed that the names of generated .h and .cpp files are correct. * bindings/scripts/CodeGenerator.pm: (FileNamePrefix): Returns the prefix of file names. * bindings/scripts/CodeGeneratorCPP.pm: (GenerateInterface): Uses CodeGenerator::FileNamePrefix. * bindings/scripts/CodeGeneratorGObject.pm: (GenerateInterface): Ditto. * bindings/scripts/CodeGeneratorJS.pm: (GenerateInterface): Ditto. * bindings/scripts/CodeGeneratorObjC.pm: (GenerateInterface): Ditto. * bindings/scripts/CodeGeneratorV8.pm: (GenerateInterface): Ditto. * bindings/scripts/generate-bindings.pl: (generateEmptyHeaderAndCpp): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
518b2339