summaryrefslogtreecommitdiffstats
path: root/toolkit/components/osfile/modules/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/osfile/modules/moz.build')
-rw-r--r--toolkit/components/osfile/modules/moz.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/toolkit/components/osfile/modules/moz.build b/toolkit/components/osfile/modules/moz.build
new file mode 100644
index 0000000000..ea14a82b76
--- /dev/null
+++ b/toolkit/components/osfile/modules/moz.build
@@ -0,0 +1,29 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+EXTRA_JS_MODULES.osfile += [
+ "osfile_async_front.jsm",
+ "osfile_async_worker.js",
+ "osfile_native.jsm",
+ "osfile_shared_allthreads.jsm",
+ "osfile_shared_front.js",
+ "ospath.jsm",
+ "ospath_unix.jsm",
+ "ospath_win.jsm",
+]
+
+if CONFIG["OS_TARGET"] == "WINNT":
+ EXTRA_JS_MODULES.osfile += [
+ "osfile_win_allthreads.jsm",
+ "osfile_win_back.js",
+ "osfile_win_front.js",
+ ]
+else:
+ EXTRA_JS_MODULES.osfile += [
+ "osfile_unix_allthreads.jsm",
+ "osfile_unix_back.js",
+ "osfile_unix_front.js",
+ ]