diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/jetpack/moz.build | 2 | ||||
-rw-r--r-- | toolkit/jetpack/sdk/addon/bootstrap.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/jetpack/moz.build b/toolkit/jetpack/moz.build index 1e1b48f3d..2e5dbe5e8 100644 --- a/toolkit/jetpack/moz.build +++ b/toolkit/jetpack/moz.build @@ -128,7 +128,7 @@ EXTRA_JS_MODULES.commonjs += [ 'test.js', ] -if not CONFIG['MC_PALEMOON']: +if CONFIG['MOZ_WEBEXTENSIONS']: EXTRA_JS_MODULES.commonjs.sdk += [ 'sdk/webextension.js', ] diff --git a/toolkit/jetpack/sdk/addon/bootstrap.js b/toolkit/jetpack/sdk/addon/bootstrap.js index 9eb5efac7..6c5827f1e 100644 --- a/toolkit/jetpack/sdk/addon/bootstrap.js +++ b/toolkit/jetpack/sdk/addon/bootstrap.js @@ -134,7 +134,7 @@ Bootstrap.prototype = { const main = command === "test" ? "sdk/test/runner" : null; const prefsURI = `${baseURI}defaults/preferences/prefs.js`; -#ifndef MC_PALEMOON +#ifdef MOZ_WEBEXTENSIONS // Init the 'sdk/webextension' module from the bootstrap addon parameter. require("sdk/webextension").initFromBootstrapAddonParam(addon); #endif |