summaryrefslogtreecommitdiffstats
path: root/docshell/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-17 14:09:31 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-17 14:09:31 -0500
commit9dcf77e4c67b159040f1f07aca9a8cad8008a914 (patch)
tree5b05a1773a34812c5dcbcb257a245fd189518c5a /docshell/base
parentf28984b853667da9f9841e9fa090162e4a3af499 (diff)
downloadUXP-9dcf77e4c67b159040f1f07aca9a8cad8008a914.tar
UXP-9dcf77e4c67b159040f1f07aca9a8cad8008a914.tar.gz
UXP-9dcf77e4c67b159040f1f07aca9a8cad8008a914.tar.lz
UXP-9dcf77e4c67b159040f1f07aca9a8cad8008a914.tar.xz
UXP-9dcf77e4c67b159040f1f07aca9a8cad8008a914.zip
Split MOZ_DEVTOOLS into MOZ_DEVTOOLS (client) and MOZ_DEVTOOLS_SERVER (backend) and make both optional
Diffstat (limited to 'docshell/base')
-rw-r--r--docshell/base/moz.build3
-rw-r--r--docshell/base/nsAboutRedirector.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/docshell/base/moz.build b/docshell/base/moz.build
index 1eb04c227..6ea3e6d28 100644
--- a/docshell/base/moz.build
+++ b/docshell/base/moz.build
@@ -81,8 +81,5 @@ LOCAL_INCLUDES += [
if CONFIG['MOZ_TOOLKIT_SEARCH']:
DEFINES['MOZ_TOOLKIT_SEARCH'] = True
-if CONFIG['MOZ_DEVTOOLS'] == 'all':
- DEFINES['MOZ_DEVTOOLS_ALL'] = True
-
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-error=shadow']
diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
index 467e563d5..cb62eacbb 100644
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -57,7 +57,7 @@ static RedirEntry kRedirMap[] = {
"credits", "https://www.mozilla.org/credits/",
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT
},
-#ifdef MOZ_DEVTOOLS_ALL
+#ifdef MOZ_DEVTOOLS
{
"debugging", "chrome://devtools/content/aboutdebugging/aboutdebugging.xhtml",
nsIAboutModule::ALLOW_SCRIPT