Debian Codegraph @

js/src/debugger/moz.build

raw
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 # We give js/src/debugger its own moz.build file, separate from
8 # js/src/moz.build, so that the object file names don't conflict with those from
9 # other directories. For example, js/src/debugger/Object.cpp and
10 # js/src/builtin/Object.cpp had better not smash each other's .o files when
11 # unified sources are disabled.
12
13 FINAL_LIBRARY = "js"
14
15 # Includes should be relative to parent path
16 LOCAL_INCLUDES += ["!..", ".."]
17
18 include("../js-config.mozbuild")
19 include("../js-cxxflags.mozbuild")
20
21 UNIFIED_SOURCES = [
22 "Debugger.cpp",
23 "DebuggerMemory.cpp",
24 "DebugScript.cpp",
25 "Environment.cpp",
26 "Frame.cpp",
27 "NoExecute.cpp",
28 "Object.cpp",
29 "Script.cpp",
30 "Source.cpp",
31 ]
32
33 if CONFIG["MOZ_EXECUTION_TRACING"]:
34 UNIFIED_SOURCES += ["ExecutionTracer.cpp"]