Bug 944209 - Build gfx/src in unified mode; r=BenWa

This commit is contained in:
Ehsan Akhgari 2013-11-27 21:11:07 -05:00
Родитель c282ee3baf
Коммит e9414f09ea
2 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -45,11 +45,10 @@ if CONFIG['MOZ_X11']:
'X11Util.cpp',
]
SOURCES += [
UNIFIED_SOURCES += [
'FilterSupport.cpp',
'gfxCrashReporterUtils.cpp',
'nsColor.cpp',
'nsDeviceContext.cpp',
'nsFont.cpp',
'nsFontMetrics.cpp',
'nsRect.cpp',
@ -61,6 +60,11 @@ SOURCES += [
'nsTransform2D.cpp',
]
# nsDeviceContext.cpp cannot be built in unified mode because it pulls in OS X system headers.
SOURCES += [
'nsDeviceContext.cpp',
]
FAIL_ON_WARNINGS = True
MSVC_ENABLE_PGO = True

Просмотреть файл

@ -4,6 +4,9 @@
* 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/. */
#ifndef nsScriptableRegion_h
#define nsScriptableRegion_h
#include "nsIScriptableRegion.h"
#include "gfxCore.h"
#include "nsISupports.h"
@ -21,3 +24,5 @@ public:
private:
nsIntRegion mRegion;
};
#endif