1.1 --- a/ambuild2/frontend/base_gen.py Sat Feb 01 01:39:39 2014 -0800
1.2 +++ b/ambuild2/frontend/base_gen.py Sat Feb 01 16:56:01 2014 -0800
1.3 @@ -122,7 +122,8 @@
1.4 def AddCopy(self, source, output_path):
1.5 return self.generator.addCopy(self, source, output_path)
1.6
1.7 - def AddCommand(self, inputs, argv, outputs, folder=-1, dep_type=None, weak_inputs=[]):
1.8 + def AddCommand(self, inputs, argv, outputs, folder=-1, dep_type=None, weak_inputs=[],
1.9 + shared_outputs=[]):
1.10 return self.generator.addShellCommand(
1.11 self,
1.12 inputs,
1.13 @@ -130,7 +131,8 @@
1.14 outputs,
1.15 folder = folder,
1.16 dep_type = dep_type,
1.17 - weak_inputs = weak_inputs
1.18 + weak_inputs = weak_inputs,
1.19 + shared_outputs = shared_outputs
1.20 )
1.21
1.22 def AddConfigureFile(self, path):
1.23 @@ -244,7 +246,8 @@
1.24 def addCopy(self, context, source, output_path):
1.25 raise Exception('Must be implemented!')
1.26
1.27 - def addShellCommand(self, context, inputs, argv, outputs, folder=-1, dep_type=None, weak_inputs=[]):
1.28 + def addShellCommand(self, context, inputs, argv, outputs, folder=-1, dep_type=None,
1.29 + weak_inputs=[], shared_outputs=[]):
1.30 raise Exception('Must be implemented!')
1.31
1.32 def addConfigureFile(self, context, path):