Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder
MozReview-Commit-ID: GNFAyfXHIa9
--- a/devtools/client/moz.build
+++ b/devtools/client/moz.build
@@ -34,21 +34,16 @@ DIRS += [
'webconsole',
'webide',
]
# Shim old theme paths used by DevTools add-ons
if CONFIG['MOZ_BUILD_APP'] == 'browser':
DIRS += ['themes/shims']
-EXTRA_COMPONENTS += [
- 'devtools-startup.js',
- 'devtools-startup.manifest',
-]
-
JAR_MANIFESTS += ['jar.mn']
DevToolsModules(
'definitions.js',
'menus.js',
)
with Files('**'):
rename from devtools/client/devtools-startup.js
rename to devtools/shim/devtools-startup.js
rename from devtools/client/devtools-startup.manifest
rename to devtools/shim/devtools-startup.manifest
--- a/devtools/shim/moz.build
+++ b/devtools/shim/moz.build
@@ -1,16 +1,21 @@
# -*- 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/.
JAR_MANIFESTS += ['jar.mn']
+EXTRA_COMPONENTS += [
+ 'devtools-startup.js',
+ 'devtools-startup.manifest',
+]
+
JS_PREFERENCE_PP_FILES += [
'devtools-startup-prefs.js',
]
# Register the about:debugging page only for 'addon' and 'all' builds.
if CONFIG['MOZ_DEVTOOLS'] != 'server':
EXTRA_COMPONENTS += [
'aboutdebugging-registration.js',