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",
45 "FontPropertyTypes.h",
46 "RelativeLuminanceUtils.h",
49 EXPORTS.mozilla.gfx += [
51 "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 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
95 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
96 CXXFLAGS += CONFIG["MOZ_PANGO_CFLAGS"]