mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out 400861eb8c62 (Bug 1236323 - Part 2) for unearthing Skia -Wunreachable-code warnings-as-errors
This commit is contained in:
parent
b31615e8e2
commit
beb38f7394
@ -91,18 +91,13 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
|
||||
if CONFIG['MOZ_ENABLE_SKIA']:
|
||||
UNIFIED_SOURCES += [
|
||||
'convolver.cpp',
|
||||
]
|
||||
SOURCES += [
|
||||
'DrawTargetSkia.cpp',
|
||||
'image_operations.cpp', # Uses _USE_MATH_DEFINES
|
||||
'PathSkia.cpp',
|
||||
'SourceSurfaceSkia.cpp',
|
||||
]
|
||||
if CONFIG['CLANG_CXX']:
|
||||
# Suppress warnings from Skia header files.
|
||||
SOURCES['DrawTargetSkia.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
SOURCES['PathSkia.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
SOURCES['SourceSurfaceSkia.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
SOURCES += [
|
||||
'image_operations.cpp', # Uses _USE_MATH_DEFINES
|
||||
]
|
||||
EXPORTS.mozilla.gfx += [
|
||||
'HelpersSkia.h',
|
||||
'RefPtrSkia.h',
|
||||
@ -148,6 +143,7 @@ UNIFIED_SOURCES += [
|
||||
'DrawTargetDual.cpp',
|
||||
'DrawTargetRecording.cpp',
|
||||
'DrawTargetTiled.cpp',
|
||||
'Factory.cpp',
|
||||
'FilterNodeSoftware.cpp',
|
||||
'FilterProcessing.cpp',
|
||||
'FilterProcessingScalar.cpp',
|
||||
@ -170,13 +166,6 @@ UNIFIED_SOURCES += [
|
||||
'SourceSurfaceRawData.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'Factory.cpp', # Need to suppress warnings in Skia header files.
|
||||
]
|
||||
|
||||
if CONFIG['CLANG_CXX']:
|
||||
SOURCES['Factory.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
EXPORTS.mozilla.gfx += [
|
||||
'QuartzSupport.h',
|
||||
|
@ -80,12 +80,9 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
]
|
||||
if CONFIG['MOZ_ENABLE_SKIA_GPU']:
|
||||
EXPORTS += ['SkiaGLGlue.h']
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'SkiaGLGlue.cpp',
|
||||
]
|
||||
if CONFIG['CLANG_CXX']:
|
||||
# Suppress warnings from Skia header files.
|
||||
SOURCES['SkiaGLGlue.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
||||
UNIFIED_SOURCES += ['SharedSurfaceGralloc.cpp']
|
||||
|
@ -307,7 +307,3 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'qt'):
|
||||
LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']
|
||||
|
||||
DEFINES['GRAPHITE2_STATIC'] = True
|
||||
|
||||
if CONFIG['CLANG_CXX']:
|
||||
# Suppress warnings from Skia header files.
|
||||
SOURCES['gfxPlatform.cpp'].flags += ['-Wno-implicit-fallthrough']
|
||||
|
Loading…
Reference in New Issue
Block a user