summaryrefslogtreecommitdiffstats
path: root/gfx/skia/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/skia/moz.build')
-rw-r--r--gfx/skia/moz.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build
index 56570e61f..4ef5060b0 100644
--- a/gfx/skia/moz.build
+++ b/gfx/skia/moz.build
@@ -643,7 +643,6 @@ else:
'skia/src/opts/SkBlitRow_opts_none.cpp',
]
-
# We allow warnings for third-party code that can be updated from upstream.
ALLOW_COMPILER_WARNINGS = True
@@ -694,6 +693,11 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'skia/src/fonts/SkRemotableFontMgr.cpp',
]
+if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
+ DEFINES['SKIA_DLL'] = 1
+ DEFINES['GR_DLL'] = 1
+ DEFINES['SK_FONT_HOST_USE_SYSTEM_SETTINGS'] = 1
+
# We should autogenerate these SSE related flags.
if CONFIG['_MSC_VER']: