diff --git a/gfx/skia/moz.build b/gfx/skia/moz.build index 1b1c642a6b..ad31c8d484 100644 --- a/gfx/skia/moz.build +++ b/gfx/skia/moz.build @@ -646,8 +646,7 @@ else: # We allow warnings for third-party code that can be updated from upstream. ALLOW_COMPILER_WARNINGS = True -FINAL_LIBRARY = 'xul' - +FINAL_LIBRARY = 'gkmedias' LOCAL_INCLUDES += [ 'skia/include/c', 'skia/include/config', @@ -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']: