2017-01-17 03:21:43 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Graphics: WebRender')
|
|
|
|
|
2017-01-17 03:21:52 +03:00
|
|
|
EXPORTS.mozilla.webrender += [
|
2017-03-31 17:29:14 +03:00
|
|
|
'RenderBufferTextureHost.h',
|
2017-01-17 03:21:43 +03:00
|
|
|
'RendererOGL.h',
|
2017-03-31 17:29:14 +03:00
|
|
|
'RenderTextureHost.h',
|
|
|
|
'RenderTextureHostOGL.h',
|
2017-01-17 03:21:43 +03:00
|
|
|
'RenderThread.h',
|
2017-01-17 03:22:01 +03:00
|
|
|
'webrender_ffi.h',
|
2017-01-17 03:21:43 +03:00
|
|
|
'WebRenderAPI.h',
|
|
|
|
'WebRenderTypes.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2017-03-27 14:44:52 +03:00
|
|
|
'Moz2DImageRenderer.cpp',
|
2017-03-31 17:29:14 +03:00
|
|
|
'RenderBufferTextureHost.cpp',
|
2017-01-17 03:21:43 +03:00
|
|
|
'RendererOGL.cpp',
|
2017-03-31 17:29:14 +03:00
|
|
|
'RenderTextureHost.cpp',
|
|
|
|
'RenderTextureHostOGL.cpp',
|
2017-01-17 03:21:43 +03:00
|
|
|
'RenderThread.cpp',
|
|
|
|
'WebRenderAPI.cpp',
|
|
|
|
]
|
|
|
|
|
2017-03-31 17:29:14 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXPORTS.mozilla.webrender += [
|
|
|
|
'RenderMacIOSurfaceTextureHostOGL.h',
|
|
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'RenderMacIOSurfaceTextureHostOGL.cpp',
|
|
|
|
]
|
|
|
|
|
2017-01-17 03:21:43 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|