| Index: Source/bindings/scripts/generate_bindings.pl
|
| diff --git a/Source/bindings/scripts/generate_bindings.pl b/Source/bindings/scripts/generate_bindings.pl
|
| index 06a8505791b4114615b3c7d68bec1596cf75435d..35c2a916498085f37ddced9c4ef66369898b650b 100755
|
| --- a/Source/bindings/scripts/generate_bindings.pl
|
| +++ b/Source/bindings/scripts/generate_bindings.pl
|
| @@ -88,16 +88,18 @@ if ($interfaceDependenciesFile) {
|
| }
|
| close FH;
|
|
|
| - # $additionalIdlFiles is list of IDL files which should not be included in
|
| - # DerivedSources*.cpp (i.e. they are not described in the interface
|
| - # dependencies file) but should generate .h and .cpp files.
|
| + # $additionalIdlFiles is for IDL files not listed in the interface
|
| + # dependencies file, namely generated IDL files for interfaces
|
| + # (not partial interfaces), so we need to generate .h and .cpp files.
|
| if (!$idlFound and $additionalIdlFiles) {
|
| my @idlFiles = shellwords($additionalIdlFiles);
|
| $idlFound = grep { $_ and basename($_) eq basename($targetIdlFile) } @idlFiles;
|
| }
|
|
|
| if (!$idlFound) {
|
| - # We generate empty .h and .cpp files just to tell build scripts that .h and .cpp files are created.
|
| + # IDL files for dependencies (partial interfaces and interfaces
|
| + # implemented elsewhere). We generate empty .h and .cpp files just to
|
| + # tell build scripts that outputs have been created.
|
| generateEmptyHeaderAndCpp($targetInterfaceName, $outputDirectory);
|
| exit 0;
|
| }
|
|
|