mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940226 - Build image/src in unified mode. r=seth
This commit is contained in:
parent
f8f457130a
commit
a0a6a1af78
@ -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 ImageMetadata_h___
|
||||
#define ImageMetadata_h___
|
||||
|
||||
#include <stdint.h>
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "nsSize.h"
|
||||
@ -72,3 +75,5 @@ private:
|
||||
|
||||
} // namespace image
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // ImageMetadata_h___
|
||||
|
@ -28,6 +28,9 @@
|
||||
#include "mozilla/dom/SVGAnimatedLength.h"
|
||||
#include "nsMimeTypes.h"
|
||||
|
||||
// undef the GetCurrentTime macro defined in WinBase.h from the MS Platform SDK
|
||||
#undef GetCurrentTime
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -25,6 +25,8 @@ struct nsIntSize;
|
||||
|
||||
#define OBSERVER_SVC_CID "@mozilla.org/observer-service;1"
|
||||
|
||||
// undef the GetCurrentTime macro defined in WinBase.h from the MS Platform SDK
|
||||
#undef GetCurrentTime
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -26,6 +26,9 @@
|
||||
#include "nsIDOMEventListener.h"
|
||||
#include "SurfaceCache.h"
|
||||
|
||||
// undef the GetCurrentTime macro defined in WinBase.h from the MS Platform SDK
|
||||
#undef GetCurrentTime
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
using namespace dom;
|
||||
|
@ -12,7 +12,7 @@ EXPORTS += [
|
||||
'Orientation.h',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
UNIFIED_SOURCES += [
|
||||
'ClippedImage.cpp',
|
||||
'Decoder.cpp',
|
||||
'DiscardTracker.cpp',
|
||||
@ -26,19 +26,23 @@ SOURCES += [
|
||||
'ImageOps.cpp',
|
||||
'ImageWrapper.cpp',
|
||||
'imgFrame.cpp',
|
||||
'imgLoader.cpp',
|
||||
'imgRequest.cpp',
|
||||
'imgRequestProxy.cpp',
|
||||
'imgStatusTracker.cpp',
|
||||
'imgTools.cpp',
|
||||
'OrientedImage.cpp',
|
||||
'RasterImage.cpp',
|
||||
'ScriptedNotificationObserver.cpp',
|
||||
'SurfaceCache.cpp',
|
||||
'SVGDocumentWrapper.cpp',
|
||||
'VectorImage.cpp',
|
||||
]
|
||||
|
||||
# These files can't be unified because of ImageLogging.h #include order issues.
|
||||
SOURCES += [
|
||||
'imgLoader.cpp',
|
||||
'imgRequest.cpp',
|
||||
'imgRequestProxy.cpp',
|
||||
'imgStatusTracker.cpp',
|
||||
'RasterImage.cpp',
|
||||
]
|
||||
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
Loading…
Reference in New Issue
Block a user