Bug 1198013 - DevToolsModules now safe to call multiple times. r=miker

MozReview-Commit-ID: 2wg78JE6Cb7

--HG--
extra : rebase_source : d2c6b592fb096a4f65a4e4f7574816e4dd70f6e5
This commit is contained in:
J. Ryan Stinnett 2017-11-03 12:38:05 -05:00
Родитель 7c3a64f729
Коммит 6bda31a889
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -14,11 +14,7 @@ def DevToolsModules(*modules):
its own directory. Subdirectories should use their own moz.build.
By following this pattern, there's less magic to require() and resource://
paths, since they now match the source tree.
Currently `DevToolsModules` can only be called once per moz.build, so we
build a list manually above. Bug 1198013 tracks fixing this to make it more
like other moz.build constructs.'''
paths, since they now match the source tree.'''
for m in modules:
if '/' in m: