| Index: Source/bindings/scripts/generate-bindings.pl
|
| diff --git a/Source/bindings/scripts/generate-bindings.pl b/Source/bindings/scripts/generate-bindings.pl
|
| index 9fc5fdecd59a80d3959c3c98140a523cf31b3ce4..769d51cd37024bbfa40078d9e38eec617e666a30 100755
|
| --- a/Source/bindings/scripts/generate-bindings.pl
|
| +++ b/Source/bindings/scripts/generate-bindings.pl
|
| @@ -47,6 +47,7 @@ my $filename;
|
| my $preprocessor;
|
| my $verbose;
|
| my $supplementalDependencyFile;
|
| +my $idlToPathFile;
|
| my $additionalIdlFiles;
|
| my $idlAttributesFile;
|
|
|
| @@ -58,6 +59,7 @@ GetOptions('include=s@' => \@idlDirectories,
|
| 'preprocessor=s' => \$preprocessor,
|
| 'verbose' => \$verbose,
|
| 'supplementalDependencyFile=s' => \$supplementalDependencyFile,
|
| + 'idlToPathFile=s' => \$idlToPathFile,
|
| 'additionalIdlFiles=s' => \$additionalIdlFiles,
|
| 'idlAttributesFile=s' => \$idlAttributesFile);
|
|
|
| @@ -65,6 +67,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);
|
| +
|
| +# Pass some information to a low level function the ugly way.
|
| +$ENV{"IDLTOPATHFILE"} = $idlToPathFile;
|
| $defines = "" unless defined($defines);
|
|
|
| if (!$outputHeadersDirectory) {
|
|
|