summaryrefslogtreecommitdiffstats
path: root/js/src/debugger/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/debugger/moz.build')
-rw-r--r--js/src/debugger/moz.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/js/src/debugger/moz.build b/js/src/debugger/moz.build
new file mode 100644
index 0000000000..c8c162bcbd
--- /dev/null
+++ b/js/src/debugger/moz.build
@@ -0,0 +1,31 @@
+# -*- 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/.
+
+# We give js/src/debugger its own moz.build file, separate from
+# js/src/moz.build, so that the object file names don't conflict with those from
+# other directories. For example, js/src/debugger/Object.cpp and
+# js/src/builtin/Object.cpp had better not smash each other's .o files when
+# unified sources are disabled.
+
+FINAL_LIBRARY = "js"
+
+# Includes should be relative to parent path
+LOCAL_INCLUDES += ["!..", ".."]
+
+include("../js-config.mozbuild")
+include("../js-cxxflags.mozbuild")
+
+UNIFIED_SOURCES = [
+ "Debugger.cpp",
+ "DebuggerMemory.cpp",
+ "DebugScript.cpp",
+ "Environment.cpp",
+ "Frame.cpp",
+ "NoExecute.cpp",
+ "Object.cpp",
+ "Script.cpp",
+ "Source.cpp",
+]