mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
Bug 1416062 - Generated header files and wrappers should be in the installed-files group; r=chmanchester
We'll need all of these before compilation, so stick them all in the same group. MozReview-Commit-ID: Gl1zvnb1Bjt --HG-- extra : rebase_source : 211f329bc1347d566e2227ee867039cf0b2a2fae
This commit is contained in:
parent
8d41406e69
commit
7a2e714bde
@ -275,6 +275,11 @@ class TupOnly(CommonBackend, PartialBackend):
|
||||
'layout/style/test', # HostSimplePrograms
|
||||
'toolkit/library', # libxul.so
|
||||
)
|
||||
install_exts = (
|
||||
'.h',
|
||||
'.inc',
|
||||
'new', # 'new' is an output from make-stl-wrappers.py
|
||||
)
|
||||
if obj.script and obj.method and obj.relobjdir not in skip_directories:
|
||||
backend_file.export_shell()
|
||||
cmd = self._py_action('file_generate')
|
||||
@ -292,11 +297,14 @@ class TupOnly(CommonBackend, PartialBackend):
|
||||
outputs.extend(obj.outputs)
|
||||
outputs.append('%s.pp' % obj.outputs[0])
|
||||
|
||||
extra_outputs = [self._installed_files] if any(f.endswith(install_exts) for f in obj.outputs) else None
|
||||
|
||||
backend_file.rule(
|
||||
display='python {script}:{method} -> [%o]'.format(script=obj.script, method=obj.method),
|
||||
cmd=cmd,
|
||||
inputs=full_inputs,
|
||||
outputs=outputs,
|
||||
extra_outputs=extra_outputs,
|
||||
)
|
||||
|
||||
def _process_defines(self, backend_file, obj, host=False):
|
||||
|
Loading…
Reference in New Issue
Block a user