diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-04 08:44:14 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-04 08:44:14 -0400 |
commit | 20cae79eb3ce238022056d104e2efcb03139f2e1 (patch) | |
tree | 6a3d4dba4d7829d5035e00ca809f52d4fc43a5e4 /application/palemoon/components/shell/moz.build | |
parent | 99831baf2e2d98caefbf1c7a212613ad5d6360a9 (diff) | |
download | UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.gz UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.lz UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.tar.xz UXP-20cae79eb3ce238022056d104e2efcb03139f2e1.zip |
[PALEMOON] Wholesale steal Basilisk's shell component
Diffstat (limited to 'application/palemoon/components/shell/moz.build')
-rw-r--r-- | application/palemoon/components/shell/moz.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/application/palemoon/components/shell/moz.build b/application/palemoon/components/shell/moz.build index 38965c5d7..94ec88571 100644 --- a/application/palemoon/components/shell/moz.build +++ b/application/palemoon/components/shell/moz.build @@ -1,4 +1,4 @@ -# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# -*- 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 @@ -18,6 +18,10 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': XPIDL_SOURCES += [ 'nsIMacShellService.idl', ] +elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: + XPIDL_SOURCES += [ + 'nsIGNOMEShellService.idl', + ] XPIDL_MODULE = 'shellservice' @@ -29,7 +33,7 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': SOURCES += [ 'nsMacShellService.cpp', ] -elif CONFIG['MOZ_WIDGET_GTK']: +elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']: SOURCES += [ 'nsGNOMEShellService.cpp', ] @@ -42,6 +46,10 @@ EXTRA_COMPONENTS += [ 'nsSetDefaultBrowser.manifest', ] +EXTRA_JS_MODULES += [ + 'ShellService.jsm', +] + for var in ('MOZ_APP_NAME', 'MOZ_APP_VERSION'): DEFINES[var] = '"%s"' % CONFIG[var] |