Bug 1440879 - Ensure all the stl_wrappers end up in the generated-files tarball. r=froydnj

This commit is contained in:
Kartikaya Gupta 2018-09-04 10:40:45 -04:00
Родитель b5f0a96fff
Коммит 1a1ca59f9a
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -47,6 +47,10 @@ if CONFIG['WRAP_STL_INCLUDES']:
stl_compiler = 'msvc'
if stl_compiler:
# Note that the 'stl_wrappers' folder is known to the build system as
# containing generated files; if this is changed here then the code in
# GeneratedFile.__init__ in python/mozbuild/mozbuild/frontend/data.py
# might need to be updated accordingly as well.
template_file = SRCDIR + '/%s-stl-wrapper.template.h' % stl_compiler
output_dir = '../dist/stl_wrappers'
# We have to use a sentinel file as the first file because the

Просмотреть файл

@ -1168,9 +1168,8 @@ class GeneratedFile(ContextDerived):
'.inc',
'.py',
'.rs',
'new', # 'new' is an output from make-stl-wrappers.py
)
self.required_for_compile = [f for f in self.outputs if f.endswith(suffixes)]
self.required_for_compile = [f for f in self.outputs if f.endswith(suffixes) or 'stl_wrappers/' in f]
class ChromeManifestEntry(ContextDerived):