summaryrefslogtreecommitdiffstats
path: root/devtools/platform/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/platform/moz.build')
-rw-r--r--devtools/platform/moz.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/devtools/platform/moz.build b/devtools/platform/moz.build
new file mode 100644
index 0000000000..33be638e5b
--- /dev/null
+++ b/devtools/platform/moz.build
@@ -0,0 +1,33 @@
+# -*- 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/.
+
+XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
+
+XPIDL_SOURCES += [
+ "IJSDebugger.idl",
+ "nsIJSInspector.idl",
+]
+
+XPIDL_MODULE = "jsdevtools"
+
+SOURCES += [
+ "JSDebugger.cpp",
+ "nsJSInspector.cpp",
+]
+
+XPCOM_MANIFESTS += [
+ "components.conf",
+]
+
+EXTRA_JS_MODULES += [
+ "jsdebugger.sys.mjs",
+]
+
+# The /devtools/moz.build opted in to treatment of devtools as a browser
+# component, but for this platform integration code it is simpler not too.
+DIST_SUBDIR = ""
+
+FINAL_LIBRARY = "xul"