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/.
8 "nsIFontEnumerator.idl",
13 DEFINES["MOZ_APP_VERSION"] = '"%s"' % CONFIG["MOZ_APP_VERSION"]
17 "FilterDescription.h",
19 "gfxCrashReporterUtils.h",
21 "nsBoundingMetrics.h",
47 "FontPropertyTypes.h",
48 "RelativeLuminanceUtils.h",
51 EXPORTS.mozilla.gfx += [
53 "CompositorHitTestInfo.h",
58 EXPORTS.mozilla += ["X11Util.h"]
64 "DriverCrashGuard.cpp",
66 "gfxCrashReporterUtils.cpp",
74 "nsThebesFontEnumerator.cpp",
78 # nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers.
80 "nsDeviceContext.cpp",
87 include("/ipc/chromium/chromium-config.mozbuild")
90 "/dom/ipc", # for ContentChild.h
91 "/gfx/cairo/cairo/src",
96 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
97 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
98 CXXFLAGS += CONFIG["MOZ_PANGO_CFLAGS"]