Issue #80 - De-unify gfx/src

This commit is contained in:
Moonchild 2020-05-14 20:36:39 +00:00 committed by Roy Tam
commit aec749447a
3 changed files with 4 additions and 6 deletions

View file

@ -4,6 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gfxTelemetry.h"
#include "mozilla/Assertions.h"
namespace mozilla {
namespace gfx {

View file

@ -56,11 +56,12 @@ if CONFIG['MOZ_X11']:
'X11Util.cpp',
]
UNIFIED_SOURCES += [
SOURCES += [
'DriverCrashGuard.cpp',
'FilterSupport.cpp',
'gfxTelemetry.cpp',
'nsColor.cpp',
'nsDeviceContext.cpp',
'nsFont.cpp',
'nsFontMetrics.cpp',
'nsRect.cpp',
@ -72,11 +73,6 @@ UNIFIED_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 += [

View file

@ -5,6 +5,7 @@
#include "nsRegion.h"
#include "nsTArray.h"
#include "gfx2DGlue.h"
#include "gfxUtils.h"
#include "mozilla/ToString.h"