Lines Matching full:parameters
12 +- parameters.json
18 'parameters.json' specifies the parameters to be passed to candle/light and
151 def GenerateCommandLine(tool, source, dest, parameters):
153 # Merge/apply tool-specific parameters
154 params = copy.copy(parameters)
155 if tool in parameters:
193 def GenerateMsi(target, source, parameters):
195 parameters['basename'] = os.path.splitext(os.path.basename(source))[0]
206 rc = UnpackZip(parameters['intermediate_dir'], source)
209 source_dir = '%(intermediate_dir)s\\%(basename)s' % parameters
211 # Read parameters from 'parameters.json'.
212 f = open(os.path.join(source_dir, 'parameters.json'))
213 parameters = Merge(json.load(f), parameters)
216 if 'source' not in parameters:
220 if 'bind_path' not in parameters:
224 wxs = os.path.join(source_dir, parameters['source'])
226 # Add the binding path to the light-specific parameters.
227 bind_path = os.path.join(source_dir, parameters['bind_path'])
228 parameters = Merge(parameters, {'light': {'switches': ['-b', bind_path]}})
231 wixobj = '%(intermediate_dir)s\\%(basename)s.wixobj' % parameters
232 args = GenerateCommandLine('candle', wxs, wixobj, parameters)
237 args = GenerateCommandLine('light', wixobj, target, parameters)