summaryrefslogtreecommitdiffstats
path: root/devtools/shared/shims/moz.build
blob: bee1c82ac6ef8f9d989052c6c2a3ef8d69f01fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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',
]