Backout.
Backout.
1.1 --- a/ambuild2/frontend/amb2/gen.py Sat Dec 28 10:23:48 2013 -0500
1.2 +++ b/ambuild2/frontend/amb2/gen.py Sat Dec 28 10:24:21 2013 -0500
1.3 @@ -595,14 +595,7 @@
1.4 def addFolder(self, context, folder):
1.5 return self.generateFolder(context.localFolder, folder)
1.6
1.7 - def addShellCommand(self,
1.8 - context,
1.9 - inputs,
1.10 - argv,
1.11 - outputs,
1.12 - folder=-1,
1.13 - dep_type=None,
1.14 - weak_inputs=[]):
1.15 + def addShellCommand(self, context, inputs, argv, outputs, folder=-1, dep_type=None):
1.16 if folder is -1:
1.17 folder = context.localFolder
1.18
1.19 @@ -627,8 +620,7 @@
1.20 folder = folder,
1.21 data = data,
1.22 inputs = inputs,
1.23 - outputs = outputs,
1.24 - weak_inputs = weak_inputs
1.25 + outputs = outputs
1.26 )
1.27
1.28 def addConfigureFile(self, context, path):
2.1 --- a/ambuild2/frontend/base_gen.py Sat Dec 28 10:23:48 2013 -0500
2.2 +++ b/ambuild2/frontend/base_gen.py Sat Dec 28 10:24:21 2013 -0500
2.3 @@ -122,15 +122,8 @@
2.4 def AddCopy(self, source, output_path):
2.5 return self.generator.addCopy(self, source, output_path)
2.6
2.7 - def AddCommand(self, inputs, argv, outputs, dep_type=None, weak_inputs=[]):
2.8 - return self.generator.addShellCommand(
2.9 - self,
2.10 - inputs,
2.11 - argv,
2.12 - outputs,
2.13 - dep_type = dep_type,
2.14 - weak_inputs = weak_inputs
2.15 - )
2.16 + def AddCommand(self, inputs, argv, outputs, dep_type=None):
2.17 + return self.generator.addShellCommand(self, inputs, argv, outputs, dep_type=dep_type)
2.18
2.19 def AddConfigureFile(self, path):
2.20 return self.generator.addConfigureFile(self, path)
2.21 @@ -243,7 +236,7 @@
2.22 def addCopy(self, context, source, output_path):
2.23 raise Exception('Must be implemented!')
2.24
2.25 - def addShellCommand(self, context, inputs, argv, outputs, dep_type=None, weak_inputs=[]):
2.26 + def addShellCommand(self, context, inputs, argv, outputs, dep_type=None):
2.27 raise Exception('Must be implemented!')
2.28
2.29 def addConfigureFile(self, context, path):