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/.
10 "nsXPCOMCIDInternal.h",
17 "!GeckoProcessTypes.h",
23 "PoisonIOInterposer.h",
24 "SmallArrayLRUCache.h",
29 if CONFIG["OS_ARCH"] == "WINNT":
35 "PoisonIOInterposerBase.cpp",
36 "PoisonIOInterposerWin.cpp",
38 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
40 "PoisonIOInterposerBase.cpp",
41 "PoisonIOInterposerMac.cpp",
43 if CONFIG["CPU_ARCH"] != "aarch64":
44 SOURCES += ["mach_override.c"]
45 SOURCES["mach_override.c"].flags += ["-Wno-unused-function"]
47 SOURCES += ["PoisonIOInterposerStub.cpp"]
49 include("../glue/objs.mozbuild")
55 UNIFIED_SOURCES += xpcom_gluens_src_cppsrcs
56 UNIFIED_SOURCES += xpcom_glue_src_cppsrcs
61 "LateWriteChecks.cpp",
62 "MainThreadIOLogger.cpp",
67 SOURCES += ["!Services.cpp"]
69 if CONFIG["OS_ARCH"] != "WINNT":
74 GeneratedFile("Services.cpp", script="Services.py", entry_point="services_cpp")
75 GeneratedFile("Services.h", script="Services.py", entry_point="services_h")
77 "GeckoProcessTypes.h",
78 script="gen_process_types.py",
82 include("/ipc/chromium/chromium-config.mozbuild")
86 DEFINES["_IMPL_NS_STRINGAPI"] = True
87 DEFINES["OMNIJAR_NAME"] = CONFIG["OMNIJAR_NAME"]
99 "/js/xpconnect/loader",
102 if CONFIG["MOZ_VPX"]:
107 if CONFIG["MOZ_PHC"]:
108 DEFINES["MOZ_PHC"] = 1