Bug 1428148 - Flatten SeaMonkey suite/shell structure and move to components/ r=frg
authorIan Neal <iann_cvs@blueyonder.co.uk>
Sun, 04 Mar 2018 13:24:23 +0000
changeset 31208 2f4c545ecc13d1e401de11ce14d65be7945b32b2
parent 31207 43ead9ebb0357799820da297c73f7bf94c15c25b
child 31209 8c54ff3e545e8322bd05c057053c5be1c2e8acc4
push id383
push userclokep@gmail.com
push dateMon, 07 May 2018 21:52:48 +0000
reviewersfrg
bugs1428148
Bug 1428148 - Flatten SeaMonkey suite/shell structure and move to components/ r=frg
suite/build/moz.build
suite/components/moz.build
suite/components/shell/moz.build
suite/components/shell/nsGNOMEShellService.cpp
suite/components/shell/nsGNOMEShellService.h
suite/components/shell/nsIShellService.idl
suite/components/shell/nsIWindowsShellService.idl
suite/components/shell/nsMacShellService.cpp
suite/components/shell/nsMacShellService.h
suite/components/shell/nsSetDefault.js
suite/components/shell/nsSetDefault.manifest
suite/components/shell/nsShellService.h
suite/components/shell/nsWindowsShellService.cpp
suite/components/shell/nsWindowsShellService.h
suite/moz.build
suite/shell/public/moz.build
suite/shell/public/nsIShellService.idl
suite/shell/public/nsIWindowsShellService.idl
suite/shell/src/moz.build
suite/shell/src/nsGNOMEShellService.cpp
suite/shell/src/nsGNOMEShellService.h
suite/shell/src/nsMacShellService.cpp
suite/shell/src/nsMacShellService.h
suite/shell/src/nsSetDefault.js
suite/shell/src/nsSetDefault.manifest
suite/shell/src/nsShellService.h
suite/shell/src/nsWindowsShellService.cpp
suite/shell/src/nsWindowsShellService.h
--- a/suite/build/moz.build
+++ b/suite/build/moz.build
@@ -10,13 +10,13 @@ EXPORTS += [
 SOURCES += [
     'nsSuiteModule.cpp',
 ]
 
 Library('suite')
 FINAL_LIBRARY = 'xul'
 
 LOCAL_INCLUDES += [
+    '../components/shell',
     '../feeds/src',
     '../profile',
     '../profile/migration/src',
-    '../shell/src',
 ]
new file mode 100644
--- /dev/null
+++ b/suite/components/moz.build
@@ -0,0 +1,8 @@
+# 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/.
+
+DIRS += [
+    'shell',
+]
rename from suite/shell/src/moz.build
rename to suite/components/shell/moz.build
--- a/suite/shell/src/moz.build
+++ b/suite/components/shell/moz.build
@@ -1,13 +1,24 @@
 # 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/.
 
+XPIDL_SOURCES += [
+    'nsIShellService.idl',
+]
+
+if CONFIG['OS_ARCH'] == 'WINNT':
+    XPIDL_SOURCES += [
+        'nsIWindowsShellService.idl',
+    ]
+
+XPIDL_MODULE = 'shellservice'
+
 if CONFIG['OS_ARCH'] == 'WINNT':
     SOURCES += [
         'nsWindowsShellService.cpp',
     ]
     LOCAL_INCLUDES += [
         '/%s/other-licenses/nsis/Contrib/CityHash/cityhash' % (CONFIG['mozreltopsrcdir'],),
     ]
     OS_LIBS += [
rename from suite/shell/src/nsGNOMEShellService.cpp
rename to suite/components/shell/nsGNOMEShellService.cpp
rename from suite/shell/src/nsGNOMEShellService.h
rename to suite/components/shell/nsGNOMEShellService.h
rename from suite/shell/public/nsIShellService.idl
rename to suite/components/shell/nsIShellService.idl
rename from suite/shell/public/nsIWindowsShellService.idl
rename to suite/components/shell/nsIWindowsShellService.idl
rename from suite/shell/src/nsMacShellService.cpp
rename to suite/components/shell/nsMacShellService.cpp
rename from suite/shell/src/nsMacShellService.h
rename to suite/components/shell/nsMacShellService.h
rename from suite/shell/src/nsSetDefault.js
rename to suite/components/shell/nsSetDefault.js
rename from suite/shell/src/nsSetDefault.manifest
rename to suite/components/shell/nsSetDefault.manifest
rename from suite/shell/src/nsShellService.h
rename to suite/components/shell/nsShellService.h
rename from suite/shell/src/nsWindowsShellService.cpp
rename to suite/components/shell/nsWindowsShellService.cpp
rename from suite/shell/src/nsWindowsShellService.h
rename to suite/components/shell/nsWindowsShellService.h
--- a/suite/moz.build
+++ b/suite/moz.build
@@ -3,28 +3,27 @@
 # 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/.
 
 CONFIGURE_SUBST_FILES += ['installer/Makefile']
 
 DIRS += [
     'browser',
     'common',
+    'components',
     'extensions',
     'feeds/public',
     'feeds/src',
     'locales',
     'mailnews',
     'modules',
     'themes/classic',
     'themes/modern',
     'profile',
     'security',
-    'shell/public',
-    'shell/src',
     '../common/src',
 ]
 
 if CONFIG['MAKENSISU']:
     DIRS += ['installer/windows']
 
 if CONFIG['MOZ_BUNDLED_FONTS']:
     DIRS += ['/%s/browser/fonts' % CONFIG['mozreltopsrcdir']]
deleted file mode 100644
--- a/suite/shell/public/moz.build
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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/.
-
-XPIDL_SOURCES += [
-    'nsIShellService.idl',
-]
-
-if CONFIG['OS_ARCH'] == 'WINNT':
-    XPIDL_SOURCES += [
-        'nsIWindowsShellService.idl',
-    ]
-
-XPIDL_MODULE = 'shellservice'
-