| Index: Source/bindings/scripts/generate-bindings.pl
|
| diff --git a/Source/bindings/scripts/generate-bindings.pl b/Source/bindings/scripts/generate-bindings.pl
|
| index ca22031ad4dad90884b76add81de4e7092501abb..c7c18399bbb8f8fb47101b3c60da4dfa62b37a07 100755
|
| --- a/Source/bindings/scripts/generate-bindings.pl
|
| +++ b/Source/bindings/scripts/generate-bindings.pl
|
| @@ -38,6 +38,7 @@ use Cwd;
|
|
|
| use IDLParser;
|
| use CodeGenerator;
|
| +use idltopath;
|
|
|
| my @idlDirectories;
|
| my $outputDirectory;
|
| @@ -47,6 +48,7 @@ my $filename;
|
| my $preprocessor;
|
| my $verbose;
|
| my $supplementalDependencyFile;
|
| +my $idlToPathFile;
|
| my $additionalIdlFiles;
|
| my $idlAttributesFile;
|
|
|
| @@ -58,6 +60,7 @@ GetOptions('include=s@' => \@idlDirectories,
|
| 'preprocessor=s' => \$preprocessor,
|
| 'verbose' => \$verbose,
|
| 'supplementalDependencyFile=s' => \$supplementalDependencyFile,
|
| + 'idlToPathFile=s' => \$idlToPathFile,
|
| 'additionalIdlFiles=s' => \$additionalIdlFiles,
|
| 'idlAttributesFile=s' => \$idlAttributesFile);
|
|
|
| @@ -65,6 +68,10 @@ my $targetIdlFile = $ARGV[0];
|
|
|
| die('Must specify input file.') unless defined($targetIdlFile);
|
| die('Must specify output directory.') unless defined($outputDirectory);
|
| +die('Must specify idlToPathFile.') unless defined($idlToPathFile);
|
| +
|
| +initIdlToPath($idlToPathFile);
|
| +
|
| $defines = "" unless defined($defines);
|
|
|
| if (!$outputHeadersDirectory) {
|
|
|