diff --git a/toolkit/components/workerloader/Makefile.in b/toolkit/components/workerloader/Makefile.in deleted file mode 100644 index 1bbcea7946a..00000000000 --- a/toolkit/components/workerloader/Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this file, -# You can obtain one at http://mozilla.org/MPL/2.0/. - -WORKER_FILES := require.js \ - $(NULL) - -INSTALL_TARGETS += WORKER - -WORKER_DEST = $(FINAL_TARGET)/modules/workers diff --git a/toolkit/components/workerloader/moz.build b/toolkit/components/workerloader/moz.build index 666f2bf30af..e3a586181b4 100644 --- a/toolkit/components/workerloader/moz.build +++ b/toolkit/components/workerloader/moz.build @@ -5,3 +5,9 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini'] + +JS_MODULES_PATH = 'modules/workers' + +EXTRA_JS_MODULES += [ + 'require.js' +]