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 += [
52 "CompositorHitTestInfo.h",
56 EXPORTS.mozilla += ["X11Util.h"]
62 "DriverCrashGuard.cpp",
64 "gfxCrashReporterUtils.cpp",
72 "nsThebesFontEnumerator.cpp",
76 # nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers.
78 "nsDeviceContext.cpp",
85 include("/ipc/chromium/chromium-config.mozbuild")
88 "/dom/ipc", # for ContentChild.h
89 "/gfx/cairo/cairo/src",
94 CXXFLAGS += CONFIG["TK_CFLAGS"]
96 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
97 CXXFLAGS += CONFIG["MOZ_PANGO_CFLAGS"]