summaryrefslogtreecommitdiffstats
path: root/devtools/shared/shims/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/shims/moz.build')
-rw-r--r--devtools/shared/shims/moz.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/devtools/shared/shims/moz.build b/devtools/shared/shims/moz.build
new file mode 100644
index 000000000..bee1c82ac
--- /dev/null
+++ b/devtools/shared/shims/moz.build
@@ -0,0 +1,31 @@
+# -*- 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/.
+
+# Unlike most DevTools build files, this file does not use DevToolsModules
+# because these files are here for add-on compatibility, and so they must be
+# installed to previously defined locations.
+
+# These shims for legacy paths expect to be installed as if they were part of
+# /toolkit modules. Disable any DIST_SUBDIR from parent files here.
+DIST_SUBDIR = ''
+
+EXTRA_JS_MODULES.devtools += [
+ 'Console.jsm',
+ 'dbg-client.jsm',
+ 'event-emitter.js',
+ 'Loader.jsm',
+ 'Simulator.jsm',
+]
+
+# Extra compatibility layer for transitional URLs used for part of 44 cycle
+EXTRA_JS_MODULES.devtools.shared += [
+ 'Console.jsm',
+ 'Loader.jsm',
+]
+
+EXTRA_JS_MODULES.devtools.shared.apps += [
+ 'Simulator.jsm',
+]