Debian Codegraph @

mozglue/interposers/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 Library("interposers")
7
8 DEFINES["IMPL_MFBT"] = True
9
10 UNIFIED_SOURCES += [
11 "env_interposer.cpp",
12 "getline_interposer.cpp",
13 ]
14
15 if CONFIG["MOZ_CRASHREPORTER"]:
16 UNIFIED_SOURCES += [
17 "pthread_create_interposer.cpp",
18 ]
19
20 if CONFIG["MOZ_SANDBOX"]:
21 EXPORTS.mozilla += [
22 "pthread_atfork.h",
23 ]
24
25 UNIFIED_SOURCES += [
26 "pthread_atfork_interposer.cpp",
27 ]
28
29 if CONFIG["MOZ_LINKER"]:
30 LOCAL_INCLUDES += [
31 "/mozglue/linker",
32 ]
33
34 OS_LIBS += CONFIG["DL_LIBS"]
35
36 FINAL_LIBRARY = "mozglue"