2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:21 +00:00
|
|
|
# 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/.
|
|
|
|
|
2015-03-05 11:04:03 +00:00
|
|
|
with Files('apz/**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Panning and Zooming')
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'basic/BasicCanvasLayer.h',
|
|
|
|
'basic/BasicImplData.h',
|
|
|
|
'basic/BasicLayers.h',
|
|
|
|
'basic/BasicLayersImpl.h',
|
2014-09-26 17:06:08 +00:00
|
|
|
'basic/BasicPaintedLayer.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'client/ClientCanvasLayer.h',
|
|
|
|
'client/ClientContainerLayer.h',
|
|
|
|
'client/ClientLayerManager.h',
|
2014-09-26 17:06:08 +00:00
|
|
|
'client/ClientPaintedLayer.h',
|
|
|
|
'client/ClientTiledPaintedLayer.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'composite/CompositableHost.h',
|
|
|
|
'composite/ImageHost.h',
|
2014-10-08 04:11:54 +00:00
|
|
|
'CompositorTypes.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'CopyableCanvasLayer.h',
|
|
|
|
'D3D9SurfaceImage.h',
|
|
|
|
'FrameMetrics.h',
|
2014-09-17 13:13:29 +00:00
|
|
|
'GLImages.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'GrallocImages.h',
|
|
|
|
'ImageContainer.h',
|
|
|
|
'ImageLayers.h',
|
|
|
|
'ImageTypes.h',
|
2014-07-04 18:04:12 +00:00
|
|
|
'ipc/ThreadSafeRefcountingWithMainThreadDestruction.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'Layers.h',
|
2013-11-29 04:11:49 +00:00
|
|
|
'LayerScope.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'LayersLogging.h',
|
|
|
|
'LayerSorter.h',
|
2014-10-08 04:11:54 +00:00
|
|
|
'LayersTypes.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'LayerTreeInvalidation.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'opengl/Composer2D.h',
|
2013-11-26 22:15:17 +00:00
|
|
|
'opengl/OGLShaderProgram.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'opengl/TexturePoolOGL.h',
|
2014-07-27 20:32:00 +00:00
|
|
|
'protobuf/LayerScopePacket.pb.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ReadbackLayer.h',
|
2013-09-10 22:21:04 +00:00
|
|
|
'TiledLayerBuffer.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'D3D9SurfaceImage.cpp',
|
2014-07-10 21:29:40 +00:00
|
|
|
'TextureDIB.cpp',
|
|
|
|
]
|
|
|
|
EXPORTS.mozilla.layers += [
|
|
|
|
'TextureDIB.h',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['MOZ_ENABLE_D3D9_LAYER']:
|
|
|
|
EXPORTS += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'd3d9/DeviceManagerD3D9.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-08-04 07:46:17 +00:00
|
|
|
EXPORTS.mozilla.layers += [
|
2013-09-04 03:28:05 +00:00
|
|
|
'd3d9/CompositorD3D9.h',
|
|
|
|
'd3d9/TextureD3D9.h',
|
2013-08-04 07:46:17 +00:00
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 23:00:23 +00:00
|
|
|
'd3d9/TextureD3D9.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
SOURCES += [
|
|
|
|
'd3d9/CompositorD3D9.cpp',
|
|
|
|
'd3d9/DeviceManagerD3D9.cpp',
|
2014-02-12 09:59:05 +00:00
|
|
|
'd3d9/Nv3DVUtils.cpp',
|
2013-11-18 02:07:08 +00:00
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'd3d11/CompositorD3D11.h',
|
2014-07-30 13:38:46 +00:00
|
|
|
'd3d11/ReadbackManagerD3D11.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'd3d11/TextureD3D11.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-23 23:00:23 +00:00
|
|
|
'd3d11/TextureD3D11.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
SOURCES += [
|
|
|
|
'd3d11/CompositorD3D11.cpp',
|
2014-07-30 13:38:46 +00:00
|
|
|
'd3d11/ReadbackManagerD3D11.cpp',
|
2014-10-08 04:11:54 +00:00
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
|
|
|
|
EXPORTS.gfxipc += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/ShadowLayerUtils.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.layers += [
|
2014-04-17 11:54:25 +00:00
|
|
|
'apz/public/GeckoContentController.h',
|
|
|
|
# exporting things from apz/src is temporary until we extract a
|
|
|
|
# proper interface for the code there
|
|
|
|
'apz/src/APZCTreeManager.h',
|
2015-01-08 14:40:01 +00:00
|
|
|
'apz/src/APZUtils.h',
|
2014-05-08 00:39:35 +00:00
|
|
|
'apz/testutil/APZTestData.h',
|
2014-04-17 11:54:25 +00:00
|
|
|
'apz/util/ActiveElementManager.h',
|
|
|
|
'apz/util/APZCCallbackHelper.h',
|
2015-02-09 19:05:18 +00:00
|
|
|
'apz/util/APZEventState.h',
|
2015-02-10 13:24:23 +00:00
|
|
|
'apz/util/APZThreadUtils.h',
|
2014-12-15 09:49:48 +00:00
|
|
|
'apz/util/ChromeProcessController.h',
|
2014-12-16 07:28:19 +00:00
|
|
|
'apz/util/InputAPZContext.h',
|
2013-12-12 01:45:11 +00:00
|
|
|
'AtomicRefCountedWithFinalize.h',
|
2014-07-09 17:02:29 +00:00
|
|
|
'AxisPhysicsModel.h',
|
|
|
|
'AxisPhysicsMSDModel.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'basic/BasicCompositor.h',
|
2013-12-04 00:20:04 +00:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.h',
|
|
|
|
'basic/TextureHostBasic.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'client/CanvasClient.h',
|
|
|
|
'client/CompositableClient.h',
|
|
|
|
'client/ContentClient.h',
|
|
|
|
'client/ImageClient.h',
|
|
|
|
'client/TextureClient.h',
|
2014-03-07 21:34:04 +00:00
|
|
|
'client/TextureClientPool.h',
|
2014-11-13 15:53:49 +00:00
|
|
|
'client/TextureClientRecycleAllocator.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'client/TiledContentClient.h',
|
|
|
|
'composite/AsyncCompositionManager.h',
|
|
|
|
'composite/CanvasLayerComposite.h',
|
|
|
|
'composite/ColorLayerComposite.h',
|
|
|
|
'composite/ContainerLayerComposite.h',
|
|
|
|
'composite/ContentHost.h',
|
|
|
|
'composite/ImageHost.h',
|
|
|
|
'composite/ImageLayerComposite.h',
|
|
|
|
'composite/LayerManagerComposite.h',
|
2014-09-26 17:06:08 +00:00
|
|
|
'composite/PaintedLayerComposite.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'composite/TextureHost.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'Compositor.h',
|
|
|
|
'CompositorTypes.h',
|
|
|
|
'D3D9SurfaceImage.h',
|
|
|
|
'Effects.h',
|
|
|
|
'ImageDataSerializer.h',
|
2014-05-06 01:56:40 +00:00
|
|
|
'ipc/AsyncTransactionTracker.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/CompositableForwarder.h',
|
|
|
|
'ipc/CompositableTransactionParent.h',
|
|
|
|
'ipc/CompositorChild.h',
|
|
|
|
'ipc/CompositorParent.h',
|
2014-02-25 04:23:41 +00:00
|
|
|
'ipc/FenceUtils.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/ImageBridgeChild.h',
|
|
|
|
'ipc/ImageBridgeParent.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ipc/ISurfaceAllocator.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/LayerTransactionChild.h',
|
|
|
|
'ipc/LayerTransactionParent.h',
|
|
|
|
'ipc/ShadowLayers.h',
|
|
|
|
'ipc/ShadowLayersManager.h',
|
2014-05-01 01:52:00 +00:00
|
|
|
'ipc/SharedBufferManagerChild.h',
|
|
|
|
'ipc/SharedBufferManagerParent.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/SharedPlanarYCbCrImage.h',
|
|
|
|
'ipc/SharedRGBImage.h',
|
2014-08-28 02:13:41 +00:00
|
|
|
'LayerMetricsWrapper.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'LayersTypes.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'opengl/CompositingRenderTargetOGL.h',
|
|
|
|
'opengl/CompositorOGL.h',
|
2013-09-04 03:28:05 +00:00
|
|
|
'opengl/GrallocTextureClient.h',
|
|
|
|
'opengl/GrallocTextureHost.h',
|
2013-11-18 02:04:38 +00:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.h',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'opengl/TextureClientOGL.h',
|
|
|
|
'opengl/TextureHostOGL.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'RenderTrace.h',
|
2014-05-28 21:42:17 +00:00
|
|
|
'TransactionIdAllocator.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'YCbCrImageDataSerializer.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2014-02-05 16:39:02 +00:00
|
|
|
'basic/TextureClientX11.h',
|
2014-02-18 00:30:05 +00:00
|
|
|
'basic/X11TextureSourceBasic.h',
|
|
|
|
'composite/X11TextureHost.h',
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/ShadowLayerUtilsX11.h',
|
2014-02-18 00:30:05 +00:00
|
|
|
'opengl/X11TextureSourceOGL.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2014-02-05 16:39:02 +00:00
|
|
|
'basic/TextureClientX11.cpp',
|
2014-07-22 23:02:25 +00:00
|
|
|
'basic/X11BasicCompositor.cpp',
|
2014-02-18 00:30:05 +00:00
|
|
|
'basic/X11TextureSourceBasic.cpp',
|
|
|
|
'composite/X11TextureHost.cpp',
|
|
|
|
'ipc/ShadowLayerUtilsX11.cpp',
|
2014-02-18 00:30:05 +00:00
|
|
|
'opengl/X11TextureSourceOGL.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
|
2013-04-21 06:41:06 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'opengl/GLManager.h',
|
2013-04-21 06:41:06 +00:00
|
|
|
]
|
2013-11-01 01:54:14 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'MacIOSurfaceImage.h',
|
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'opengl/GLManager.cpp',
|
|
|
|
]
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-10-03 07:10:01 +00:00
|
|
|
'ipc/ShadowLayerUtilsMac.cpp',
|
2013-11-01 01:54:14 +00:00
|
|
|
'MacIOSurfaceImage.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-04-21 06:41:06 +00:00
|
|
|
|
2013-04-23 21:54:15 +00:00
|
|
|
# NB: Gralloc is available on other platforms that use the android GL
|
|
|
|
# libraries, but only Gonk is able to use it reliably because Gecko
|
|
|
|
# has full system permissions there.
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 18:51:06 +00:00
|
|
|
'ipc/ShadowLayerUtilsGralloc.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'GrallocImages.cpp',
|
2013-12-10 05:47:19 +00:00
|
|
|
'opengl/EGLImageHelpers.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'opengl/GrallocTextureClient.cpp',
|
|
|
|
'opengl/GrallocTextureHost.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2014-03-18 01:36:56 +00:00
|
|
|
LOCAL_INCLUDES += ['/widget/gonk']
|
2013-11-18 02:07:08 +00:00
|
|
|
SOURCES += [
|
|
|
|
'ipc/ShadowLayerUtilsGralloc.cpp',
|
|
|
|
]
|
2013-04-23 21:54:15 +00:00
|
|
|
|
2014-02-27 21:26:22 +00:00
|
|
|
if CONFIG['ANDROID_VERSION'] >= '17':
|
2014-02-25 04:23:41 +00:00
|
|
|
EXPORTS.mozilla.layers += [
|
|
|
|
'ipc/FenceUtilsGonk.h',
|
|
|
|
]
|
|
|
|
SOURCES += [
|
|
|
|
'ipc/FenceUtilsGonk.cpp',
|
|
|
|
]
|
|
|
|
|
2013-11-18 02:07:08 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2014-04-17 11:54:25 +00:00
|
|
|
'apz/src/APZCTreeManager.cpp',
|
|
|
|
'apz/src/AsyncPanZoomController.cpp',
|
|
|
|
'apz/src/Axis.cpp',
|
|
|
|
'apz/src/GestureEventListener.cpp',
|
2015-01-08 14:40:01 +00:00
|
|
|
'apz/src/HitTestingTreeNode.cpp',
|
2014-08-18 20:12:11 +00:00
|
|
|
'apz/src/InputBlockState.cpp',
|
2014-10-24 17:29:03 +00:00
|
|
|
'apz/src/InputQueue.cpp',
|
2014-09-23 15:38:05 +00:00
|
|
|
'apz/src/OverscrollHandoffState.cpp',
|
2014-04-17 11:54:25 +00:00
|
|
|
'apz/src/TaskThrottler.cpp',
|
2014-05-09 21:16:03 +00:00
|
|
|
'apz/testutil/APZTestData.cpp',
|
2014-04-17 11:54:25 +00:00
|
|
|
'apz/util/ActiveElementManager.cpp',
|
|
|
|
'apz/util/APZCCallbackHelper.cpp',
|
2015-02-09 19:05:18 +00:00
|
|
|
'apz/util/APZEventState.cpp',
|
2015-02-10 13:24:23 +00:00
|
|
|
'apz/util/APZThreadUtils.cpp',
|
2014-12-15 09:49:48 +00:00
|
|
|
'apz/util/ChromeProcessController.cpp',
|
2014-12-16 07:28:19 +00:00
|
|
|
'apz/util/InputAPZContext.cpp',
|
2014-07-09 17:02:29 +00:00
|
|
|
'AxisPhysicsModel.cpp',
|
|
|
|
'AxisPhysicsMSDModel.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'basic/BasicCanvasLayer.cpp',
|
|
|
|
'basic/BasicColorLayer.cpp',
|
|
|
|
'basic/BasicCompositor.cpp',
|
|
|
|
'basic/BasicContainerLayer.cpp',
|
|
|
|
'basic/BasicImages.cpp',
|
|
|
|
'basic/BasicLayerManager.cpp',
|
|
|
|
'basic/BasicLayersImpl.cpp',
|
2014-09-26 17:06:08 +00:00
|
|
|
'basic/BasicPaintedLayer.cpp',
|
2013-12-04 00:20:04 +00:00
|
|
|
'basic/TextureHostBasic.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'BufferUnrotate.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'client/CanvasClient.cpp',
|
|
|
|
'client/ClientCanvasLayer.cpp',
|
|
|
|
'client/ClientColorLayer.cpp',
|
|
|
|
'client/ClientContainerLayer.cpp',
|
|
|
|
'client/ClientImageLayer.cpp',
|
|
|
|
'client/ClientLayerManager.cpp',
|
2014-09-26 17:06:08 +00:00
|
|
|
'client/ClientPaintedLayer.cpp',
|
|
|
|
'client/ClientTiledPaintedLayer.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'client/CompositableClient.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'client/ContentClient.cpp',
|
|
|
|
'client/ImageClient.cpp',
|
|
|
|
'client/TextureClient.cpp',
|
2014-03-07 21:34:04 +00:00
|
|
|
'client/TextureClientPool.cpp',
|
2014-11-13 15:53:49 +00:00
|
|
|
'client/TextureClientRecycleAllocator.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'client/TiledContentClient.cpp',
|
|
|
|
'composite/AsyncCompositionManager.cpp',
|
|
|
|
'composite/CanvasLayerComposite.cpp',
|
|
|
|
'composite/ColorLayerComposite.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'composite/CompositableHost.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'composite/ContainerLayerComposite.cpp',
|
|
|
|
'composite/ContentHost.cpp',
|
2014-05-09 13:50:00 +00:00
|
|
|
'composite/FPSCounter.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'composite/ImageHost.cpp',
|
|
|
|
'composite/ImageLayerComposite.cpp',
|
|
|
|
'composite/LayerManagerComposite.cpp',
|
2014-09-26 17:07:06 +00:00
|
|
|
'composite/PaintedLayerComposite.cpp',
|
2014-03-12 02:27:30 +00:00
|
|
|
'composite/TextRenderer.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'composite/TextureHost.cpp',
|
|
|
|
'composite/TiledContentHost.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'Compositor.cpp',
|
|
|
|
'CopyableCanvasLayer.cpp',
|
|
|
|
'Effects.cpp',
|
2014-10-21 13:53:02 +00:00
|
|
|
'GLImages.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ImageDataSerializer.cpp',
|
|
|
|
'ImageLayers.cpp',
|
2014-05-06 01:56:40 +00:00
|
|
|
'ipc/AsyncTransactionTracker.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'ipc/CompositableTransactionParent.cpp',
|
2014-05-21 17:29:49 +00:00
|
|
|
'ipc/CompositorBench.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'ipc/CompositorChild.cpp',
|
|
|
|
'ipc/CompositorParent.cpp',
|
|
|
|
'ipc/ImageBridgeChild.cpp',
|
|
|
|
'ipc/ImageBridgeParent.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ipc/ISurfaceAllocator.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'ipc/LayerTransactionChild.cpp',
|
|
|
|
'ipc/LayerTransactionParent.cpp',
|
|
|
|
'ipc/ShadowLayerChild.cpp',
|
|
|
|
'ipc/ShadowLayerParent.cpp',
|
|
|
|
'ipc/ShadowLayers.cpp',
|
2014-05-01 01:52:00 +00:00
|
|
|
'ipc/SharedBufferManagerChild.cpp',
|
|
|
|
'ipc/SharedBufferManagerParent.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'ipc/SharedPlanarYCbCrImage.cpp',
|
|
|
|
'ipc/SharedRGBImage.cpp',
|
2013-11-29 04:11:49 +00:00
|
|
|
'LayerScope.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'LayersLogging.cpp',
|
|
|
|
'LayerSorter.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'opengl/CompositingRenderTargetOGL.cpp',
|
|
|
|
'opengl/CompositorOGL.cpp',
|
2014-07-09 19:28:27 +00:00
|
|
|
'opengl/CompositorOGLVR.cpp',
|
2014-11-10 19:49:05 +00:00
|
|
|
'opengl/GLBlitTextureImageHelper.cpp',
|
2013-11-26 22:15:17 +00:00
|
|
|
'opengl/OGLShaderProgram.cpp',
|
2013-10-03 07:10:01 +00:00
|
|
|
'opengl/TextureClientOGL.cpp',
|
|
|
|
'opengl/TextureHostOGL.cpp',
|
|
|
|
'opengl/TexturePoolOGL.cpp',
|
2014-07-10 03:16:00 +00:00
|
|
|
'protobuf/LayerScopePacket.pb.cc',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ReadbackProcessor.cpp',
|
|
|
|
'RenderTrace.cpp',
|
2013-11-27 00:29:46 +00:00
|
|
|
'RotatedBuffer.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'YCbCrImageDataSerializer.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-11-18 02:07:08 +00:00
|
|
|
SOURCES += [
|
|
|
|
'basic/BasicImageLayer.cpp',
|
|
|
|
'ImageContainer.cpp',
|
2013-12-09 04:39:26 +00:00
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
2013-11-18 02:07:08 +00:00
|
|
|
]
|
|
|
|
|
2014-07-10 03:16:00 +00:00
|
|
|
# Disable RTTI in google protocol buffer
|
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
|
|
|
|
2013-12-09 04:39:26 +00:00
|
|
|
# Workaround compiler bug (Bug 795594)
|
|
|
|
if CONFIG['_MSC_VER'] and CONFIG['CPU_ARCH'] == 'x86_64':
|
|
|
|
for src in [
|
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
|
|
|
]:
|
|
|
|
SOURCES[src].no_pgo = True
|
|
|
|
|
2013-11-18 02:04:38 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
SOURCES += [
|
2013-12-04 00:20:04 +00:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.cpp',
|
2013-11-18 02:04:38 +00:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.cpp',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 13:56:28 +00:00
|
|
|
IPDL_SOURCES = [
|
2013-09-06 15:41:00 +00:00
|
|
|
'ipc/LayersMessages.ipdlh',
|
2013-07-01 13:56:28 +00:00
|
|
|
'ipc/LayersSurfaces.ipdlh',
|
|
|
|
'ipc/PCompositable.ipdl',
|
|
|
|
'ipc/PCompositor.ipdl',
|
|
|
|
'ipc/PImageBridge.ipdl',
|
|
|
|
'ipc/PLayer.ipdl',
|
|
|
|
'ipc/PLayerTransaction.ipdl',
|
2014-05-01 01:52:00 +00:00
|
|
|
'ipc/PSharedBufferManager.ipdl',
|
2013-12-12 01:44:44 +00:00
|
|
|
'ipc/PTexture.ipdl',
|
2013-07-01 13:56:28 +00:00
|
|
|
]
|
2013-08-22 06:56:00 +00:00
|
|
|
|
2014-01-09 14:26:28 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2015-02-09 19:05:18 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/docshell/base', # for nsDocShell.h
|
2015-02-25 03:20:00 +00:00
|
|
|
'/layout/base', # for TouchManager.h
|
2015-02-09 19:05:18 +00:00
|
|
|
]
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 13:55:07 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_DEBUG']:
|
|
|
|
DEFINES['D3D_DEBUG_INFO'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
|
|
DEFINES['MOZ_ENABLE_D3D10_LAYER'] = True
|
2014-02-12 15:07:46 +00:00
|
|
|
|
2014-03-13 23:31:18 +00:00
|
|
|
CXXFLAGS += [
|
|
|
|
'-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
|
|
|
|
'frameworks/base/include/media/stagefright',
|
|
|
|
'frameworks/base/include/media/stagefright/openmax',
|
|
|
|
'frameworks/av/include/media/stagefright',
|
|
|
|
'frameworks/native/include/media/openmax',
|
|
|
|
]
|
|
|
|
]
|
2014-05-12 16:24:57 +00:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['apz/test/mochitest.ini']
|
2014-07-24 15:55:33 +00:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|