Source code
Revision control
Copy as Markdown
Other Tools
# -*- 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
# 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",
]
if CONFIG["MOZ_EXECUTION_TRACING"]:
UNIFIED_SOURCES += ["ExecutionTracer.cpp"]