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

Unified Diff: Source/bindings/scripts/deprecated_code_generator_v8.pm

Issue 18190004: Add Python flow to bindings generation, move dummy-generating IDL files over (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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
Index: Source/bindings/scripts/deprecated_code_generator_v8.pm
diff --git a/Source/bindings/scripts/CodeGeneratorV8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm
similarity index 99%
rename from Source/bindings/scripts/CodeGeneratorV8.pm
rename to Source/bindings/scripts/deprecated_code_generator_v8.pm
index a10985f8c2887ea61b27fedf8b0bb16dab36aab6..cf23ac71a26827429102ad4fdf7ca94d81b93106 100644
--- a/Source/bindings/scripts/CodeGeneratorV8.pm
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm
@@ -107,7 +107,7 @@ sub toString
}
-package CodeGeneratorV8;
+package deprecated_code_generator_v8;
use strict;
use Cwd;
@@ -118,7 +118,6 @@ use File::Spec;
my $idlDocument;
my $idlDirectories;
my $preprocessor;
-my $defines;
my $verbose;
my $interfaceIdlFiles;
my $writeFileOnlyIfChanged;
@@ -261,7 +260,6 @@ sub new
$idlDocument = shift;
$idlDirectories = shift;
$preprocessor = shift;
- $defines = shift;
$verbose = shift;
$interfaceIdlFiles = shift;
$writeFileOnlyIfChanged = shift;
@@ -311,8 +309,8 @@ sub ParseInterface
print " | |> Parsing parent IDL \"$filename\" for interface \"$interfaceName\"\n" if $verbose;
# Step #2: Parse the found IDL file (in quiet mode).
- my $parser = IDLParser->new(1);
- my $document = $parser->Parse($filename, $defines, $preprocessor);
+ my $parser = deprecated_idl_parser->new(1);
+ my $document = $parser->Parse($filename, $preprocessor);
foreach my $interface (@{$document->interfaces}) {
if ($interface->name eq $interfaceName or $interface->isPartial) {
« no previous file with comments | « Source/bindings/scripts/code_generator_v8.py ('k') | Source/bindings/scripts/deprecated_generate_bindings.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698