Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder draft
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 20 Jul 2017 18:56:39 +0200
changeset 615210 00d2c3492c79c171946e3a814787e4c8ed42bccf
parent 615209 e7a70e68d359fe4a3249a6a5648a52abbde6d851
child 615278 b1f3c727181d1e78316b9dff8409aa860d772c98
push id70267
push userjdescottes@mozilla.com
push dateTue, 25 Jul 2017 16:01:51 +0000
bugs1369801
milestone56.0a1
Bug 1369801 - dt-addon: move devtools-startup to devtools shim folder MozReview-Commit-ID: GNFAyfXHIa9
devtools/client/devtools-startup.js
devtools/client/devtools-startup.manifest
devtools/client/moz.build
devtools/shim/devtools-startup.js
devtools/shim/devtools-startup.manifest
devtools/shim/moz.build
--- 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',