| Index: grit/node/structure.py
|
| diff --git a/grit/node/structure.py b/grit/node/structure.py
|
| index 7ccd2fbcf6c738cb20916b9bc928c20dd1ed77b3..331a646cb5217dd20a879d83e9c5661c3e9a5369 100644
|
| --- a/grit/node/structure.py
|
| +++ b/grit/node/structure.py
|
| @@ -291,7 +291,10 @@ class StructureNode(base.Node):
|
| (not self.attrs['run_command'] or
|
| not self.RunCommandOnCurrentPlatform())):
|
| if return_if_not_generated:
|
| - return self.ToRealPath(self.GetInputPath())
|
| + input_path = self.GetInputPath()
|
| + if input_path is None:
|
| + return None
|
| + return self.ToRealPath(input_path)
|
| else:
|
| return None
|
|
|
|
|