зеркало из https://github.com/mozilla/gecko-dev.git
Bug 944209 - Build gfx/src in unified mode; r=BenWa
This commit is contained in:
Родитель
c282ee3baf
Коммит
e9414f09ea
|
@ -45,11 +45,10 @@ if CONFIG['MOZ_X11']:
|
||||||
'X11Util.cpp',
|
'X11Util.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'FilterSupport.cpp',
|
'FilterSupport.cpp',
|
||||||
'gfxCrashReporterUtils.cpp',
|
'gfxCrashReporterUtils.cpp',
|
||||||
'nsColor.cpp',
|
'nsColor.cpp',
|
||||||
'nsDeviceContext.cpp',
|
|
||||||
'nsFont.cpp',
|
'nsFont.cpp',
|
||||||
'nsFontMetrics.cpp',
|
'nsFontMetrics.cpp',
|
||||||
'nsRect.cpp',
|
'nsRect.cpp',
|
||||||
|
@ -61,6 +60,11 @@ SOURCES += [
|
||||||
'nsTransform2D.cpp',
|
'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
|
FAIL_ON_WARNINGS = True
|
||||||
|
|
||||||
MSVC_ENABLE_PGO = True
|
MSVC_ENABLE_PGO = True
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
#ifndef nsScriptableRegion_h
|
||||||
|
#define nsScriptableRegion_h
|
||||||
|
|
||||||
#include "nsIScriptableRegion.h"
|
#include "nsIScriptableRegion.h"
|
||||||
#include "gfxCore.h"
|
#include "gfxCore.h"
|
||||||
#include "nsISupports.h"
|
#include "nsISupports.h"
|
||||||
|
@ -21,3 +24,5 @@ public:
|
||||||
private:
|
private:
|
||||||
nsIntRegion mRegion;
|
nsIntRegion mRegion;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче