summaryrefslogtreecommitdiff
path: root/gfx/src/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/src/moz.build')
-rw-r--r--gfx/src/moz.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/gfx/src/moz.build b/gfx/src/moz.build
index 993d4bde2c..2029a10a10 100644
--- a/gfx/src/moz.build
+++ b/gfx/src/moz.build
@@ -55,12 +55,11 @@ if CONFIG['MOZ_X11']:
'X11Util.cpp',
]
-SOURCES += [
+UNIFIED_SOURCES += [
'DriverCrashGuard.cpp',
'FilterSupport.cpp',
'gfxTelemetry.cpp',
'nsColor.cpp',
- 'nsDeviceContext.cpp',
'nsFont.cpp',
'nsFontMetrics.cpp',
'nsRect.cpp',
@@ -72,6 +71,11 @@ SOURCES += [
'TiledRegion.cpp',
]
+# nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers.
+SOURCES += [
+ 'nsDeviceContext.cpp',
+]
+
include('/ipc/chromium/chromium-config.mozbuild')
LOCAL_INCLUDES += [