2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:21 +04: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/.
|
|
|
|
|
2017-01-23 19:10:05 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Graphics: Layers')
|
|
|
|
|
2015-03-05 14:04:03 +03:00
|
|
|
with Files('apz/**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Panning and Zooming')
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'basic/BasicCanvasLayer.h',
|
|
|
|
'basic/BasicImplData.h',
|
|
|
|
'basic/BasicLayers.h',
|
|
|
|
'basic/BasicLayersImpl.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'basic/BasicPaintedLayer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/ClientCanvasLayer.h',
|
|
|
|
'client/ClientContainerLayer.h',
|
|
|
|
'client/ClientLayerManager.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'client/ClientPaintedLayer.h',
|
|
|
|
'client/ClientTiledPaintedLayer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/CompositableHost.h',
|
|
|
|
'composite/ImageHost.h',
|
2014-10-08 08:11:54 +04:00
|
|
|
'CompositorTypes.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'D3D9SurfaceImage.h',
|
|
|
|
'FrameMetrics.h',
|
2014-09-17 17:13:29 +04:00
|
|
|
'GLImages.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'GPUVideoImage.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ImageContainer.h',
|
|
|
|
'ImageLayers.h',
|
|
|
|
'ImageTypes.h',
|
2015-03-19 00:16:23 +03:00
|
|
|
'IMFYCbCrImage.h',
|
2014-07-04 22:04:12 +04:00
|
|
|
'ipc/ThreadSafeRefcountingWithMainThreadDestruction.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Layers.h',
|
2013-11-29 08:11:49 +04:00
|
|
|
'LayerScope.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersLogging.h',
|
|
|
|
'LayerSorter.h',
|
2014-10-08 08:11:54 +04:00
|
|
|
'LayersTypes.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayerTreeInvalidation.h',
|
2015-10-22 23:04:35 +03:00
|
|
|
'LayerUserData.h',
|
2013-11-27 02:15:17 +04:00
|
|
|
'opengl/OGLShaderProgram.h',
|
2014-07-28 00:32:00 +04:00
|
|
|
'protobuf/LayerScopePacket.pb.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ReadbackLayer.h',
|
2013-09-11 02:21:04 +04:00
|
|
|
'TiledLayerBuffer.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2015-03-31 08:21:15 +03:00
|
|
|
SOURCES += [
|
2015-05-04 15:20:33 +03:00
|
|
|
'D3D11ShareHandleImage.cpp',
|
2017-05-04 00:23:45 +03:00
|
|
|
'D3D11YCbCrImage.cpp',
|
2015-03-31 08:21:15 +03:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'D3D9SurfaceImage.cpp',
|
2015-03-19 00:17:13 +03:00
|
|
|
'IMFYCbCrImage.cpp',
|
2014-07-11 01:29:40 +04:00
|
|
|
'TextureDIB.cpp',
|
|
|
|
]
|
|
|
|
EXPORTS.mozilla.layers += [
|
|
|
|
'TextureDIB.h',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'd3d11/CompositorD3D11.h',
|
2017-04-30 21:38:59 +03:00
|
|
|
'd3d11/DeviceAttachmentsD3D11.h',
|
2017-04-11 05:44:46 +03:00
|
|
|
'd3d11/DiagnosticsD3D11.h',
|
|
|
|
'd3d11/HelpersD3D11.h',
|
2017-06-24 00:23:12 +03:00
|
|
|
'd3d11/MLGDeviceD3D11.h',
|
2014-07-30 17:38:46 +04:00
|
|
|
'd3d11/ReadbackManagerD3D11.h',
|
2017-04-30 21:38:58 +03:00
|
|
|
'd3d11/ShaderDefinitionsD3D11.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'd3d11/TextureD3D11.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2017-04-11 05:44:46 +03:00
|
|
|
'd3d11/DiagnosticsD3D11.cpp',
|
2017-06-24 00:23:12 +03:00
|
|
|
'd3d11/MLGDeviceD3D11.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'd3d11/TextureD3D11.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
SOURCES += [
|
|
|
|
'd3d11/CompositorD3D11.cpp',
|
2017-04-30 21:38:58 +03:00
|
|
|
'd3d11/DeviceAttachmentsD3D11.cpp',
|
2014-07-30 17:38:46 +04:00
|
|
|
'd3d11/ReadbackManagerD3D11.cpp',
|
2014-10-08 08:11:54 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
|
|
|
EXPORTS.gfxipc += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayerUtils.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2016-01-23 04:27:28 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'apz/util/CheckerboardReportService.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.layers += [
|
2017-01-25 05:51:30 +03:00
|
|
|
'AnimationHelper.h',
|
2017-07-21 09:21:47 +03:00
|
|
|
'AnimationInfo.h',
|
2016-10-24 22:12:53 +03:00
|
|
|
'apz/public/CompositorController.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/public/GeckoContentController.h',
|
2016-07-20 14:37:00 +03:00
|
|
|
'apz/public/IAPZCTreeManager.h',
|
2016-10-24 22:12:55 +03:00
|
|
|
'apz/public/MetricsSharingController.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
# exporting things from apz/src is temporary until we extract a
|
|
|
|
# proper interface for the code there
|
|
|
|
'apz/src/APZCTreeManager.h',
|
2015-01-08 17:40:01 +03:00
|
|
|
'apz/src/APZUtils.h',
|
2015-09-28 21:43:50 +03:00
|
|
|
'apz/src/AsyncDragMetrics.h',
|
2015-04-02 09:17:08 +03:00
|
|
|
'apz/src/AsyncPanZoomAnimation.h',
|
2017-06-06 03:12:22 +03:00
|
|
|
'apz/src/FocusState.h',
|
|
|
|
'apz/src/FocusTarget.h',
|
2017-06-16 01:06:00 +03:00
|
|
|
'apz/src/KeyboardMap.h',
|
2017-06-06 12:47:10 +03:00
|
|
|
'apz/src/KeyboardScrollAction.h',
|
2015-08-25 14:50:01 +03:00
|
|
|
'apz/src/TouchCounter.h',
|
2014-05-08 04:39:35 +04:00
|
|
|
'apz/testutil/APZTestData.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/util/ActiveElementManager.h',
|
|
|
|
'apz/util/APZCCallbackHelper.h',
|
2015-02-09 22:05:18 +03:00
|
|
|
'apz/util/APZEventState.h',
|
2015-02-10 16:24:23 +03:00
|
|
|
'apz/util/APZThreadUtils.h',
|
2014-12-15 12:49:48 +03:00
|
|
|
'apz/util/ChromeProcessController.h',
|
2016-08-11 02:51:45 +03:00
|
|
|
'apz/util/ContentProcessController.h',
|
2015-07-27 21:07:58 +03:00
|
|
|
'apz/util/DoubleTapToZoom.h',
|
2014-12-16 10:28:19 +03:00
|
|
|
'apz/util/InputAPZContext.h',
|
2015-12-14 22:47:24 +03:00
|
|
|
'apz/util/ScrollLinkedEffectDetector.h',
|
2016-05-27 23:46:25 +03:00
|
|
|
'apz/util/TouchActionHelper.h',
|
2015-10-12 06:21:02 +03:00
|
|
|
'AsyncCanvasRenderer.h',
|
2013-12-12 05:45:11 +04:00
|
|
|
'AtomicRefCountedWithFinalize.h',
|
2014-07-09 21:02:29 +04:00
|
|
|
'AxisPhysicsModel.h',
|
|
|
|
'AxisPhysicsMSDModel.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'basic/BasicCompositor.h',
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.h',
|
|
|
|
'basic/TextureHostBasic.h',
|
2016-08-11 00:30:29 +03:00
|
|
|
'BSPTree.h',
|
2015-10-15 18:53:33 +03:00
|
|
|
'BufferTexture.h',
|
2017-08-03 08:55:14 +03:00
|
|
|
'CanvasRenderer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/CanvasClient.h',
|
|
|
|
'client/CompositableClient.h',
|
|
|
|
'client/ContentClient.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'client/GPUVideoTextureClient.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/ImageClient.h',
|
2015-07-29 19:02:40 +03:00
|
|
|
'client/SingleTiledContentClient.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/TextureClient.h',
|
2014-03-08 01:34:04 +04:00
|
|
|
'client/TextureClientPool.h',
|
2014-11-13 18:53:49 +03:00
|
|
|
'client/TextureClientRecycleAllocator.h',
|
2015-06-05 03:15:38 +03:00
|
|
|
'client/TextureClientSharedSurface.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/TiledContentClient.h',
|
2017-02-16 22:40:37 +03:00
|
|
|
'composite/AnimationMetricsTracker.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/AsyncCompositionManager.h',
|
|
|
|
'composite/CanvasLayerComposite.h',
|
|
|
|
'composite/ColorLayerComposite.h',
|
|
|
|
'composite/ContainerLayerComposite.h',
|
|
|
|
'composite/ContentHost.h',
|
2017-04-11 05:44:46 +03:00
|
|
|
'composite/Diagnostics.h',
|
|
|
|
'composite/FPSCounter.h',
|
2015-06-08 19:53:41 +03:00
|
|
|
'composite/FrameUniformityData.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'composite/GPUVideoTextureHost.h',
|
2017-02-07 11:07:00 +03:00
|
|
|
'composite/ImageComposite.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/ImageHost.h',
|
|
|
|
'composite/ImageLayerComposite.h',
|
|
|
|
'composite/LayerManagerComposite.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'composite/PaintedLayerComposite.h',
|
2017-06-24 00:23:12 +03:00
|
|
|
'composite/TextRenderer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/TextureHost.h',
|
2015-07-01 14:51:03 +03:00
|
|
|
'composite/TiledContentHost.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Compositor.h',
|
|
|
|
'CompositorTypes.h',
|
2017-08-03 08:55:14 +03:00
|
|
|
'CopyableCanvasRenderer.h',
|
2015-03-31 08:21:15 +03:00
|
|
|
'D3D11ShareHandleImage.h',
|
2017-05-04 00:23:45 +03:00
|
|
|
'D3D11YCbCrImage.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'D3D9SurfaceImage.h',
|
2017-05-24 22:47:01 +03:00
|
|
|
'DirectionUtils.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Effects.h',
|
|
|
|
'ImageDataSerializer.h',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/APZChild.h',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/APZCTreeManagerChild.h',
|
|
|
|
'ipc/APZCTreeManagerParent.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/CompositableForwarder.h',
|
|
|
|
'ipc/CompositableTransactionParent.h',
|
2016-03-22 21:08:38 +03:00
|
|
|
'ipc/CompositorBridgeChild.h',
|
|
|
|
'ipc/CompositorBridgeParent.h',
|
2017-06-14 18:39:59 +03:00
|
|
|
'ipc/CompositorManagerChild.h',
|
|
|
|
'ipc/CompositorManagerParent.h',
|
2016-05-16 09:38:34 +03:00
|
|
|
'ipc/CompositorThread.h',
|
2016-11-18 13:37:04 +03:00
|
|
|
'ipc/CompositorVsyncScheduler.h',
|
2016-11-21 04:14:32 +03:00
|
|
|
'ipc/CompositorVsyncSchedulerOwner.h',
|
2016-11-10 21:05:06 +03:00
|
|
|
'ipc/CrossProcessCompositorBridgeParent.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ImageBridgeChild.h',
|
|
|
|
'ipc/ImageBridgeParent.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ipc/ISurfaceAllocator.h',
|
2016-10-07 11:13:32 +03:00
|
|
|
'ipc/KnowsCompositor.h',
|
2016-01-29 16:44:00 +03:00
|
|
|
'ipc/LayerAnimationUtils.h',
|
2017-06-09 07:32:13 +03:00
|
|
|
'ipc/LayersMessageUtils.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/LayerTransactionChild.h',
|
|
|
|
'ipc/LayerTransactionParent.h',
|
2016-08-16 23:59:13 +03:00
|
|
|
'ipc/LayerTreeOwnerTracker.h',
|
2018-01-04 19:23:18 +03:00
|
|
|
'ipc/RefCountedShmem.h',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/RemoteContentController.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayers.h',
|
|
|
|
'ipc/SharedPlanarYCbCrImage.h',
|
|
|
|
'ipc/SharedRGBImage.h',
|
2017-10-30 20:10:29 +03:00
|
|
|
'ipc/SharedSurfacesChild.h',
|
|
|
|
'ipc/SharedSurfacesParent.h',
|
2016-11-04 03:28:28 +03:00
|
|
|
'ipc/SynchronousTask.h',
|
2016-05-13 01:00:04 +03:00
|
|
|
'ipc/TextureForwarder.h',
|
2017-01-05 22:04:38 +03:00
|
|
|
'ipc/UiCompositorControllerChild.h',
|
2017-04-06 01:42:50 +03:00
|
|
|
'ipc/UiCompositorControllerMessageTypes.h',
|
2017-01-05 22:04:38 +03:00
|
|
|
'ipc/UiCompositorControllerParent.h',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/VideoBridgeChild.h',
|
|
|
|
'ipc/VideoBridgeParent.h',
|
2017-01-25 03:41:18 +03:00
|
|
|
'LayerAttributes.h',
|
2014-08-28 06:13:41 +04:00
|
|
|
'LayerMetricsWrapper.h',
|
2017-06-20 11:17:16 +03:00
|
|
|
'LayersHelpers.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersTypes.h',
|
2017-06-24 00:23:12 +03:00
|
|
|
'mlgpu/LayerManagerMLGPU.h',
|
|
|
|
'mlgpu/LayerMLGPU.h',
|
2017-06-24 00:23:14 +03:00
|
|
|
'mlgpu/MemoryReportingMLGPU.h',
|
2017-06-24 00:23:12 +03:00
|
|
|
'mlgpu/MLGDevice.h',
|
|
|
|
'mlgpu/MLGDeviceTypes.h',
|
|
|
|
'mlgpu/ShaderDefinitionsMLGPU.h',
|
|
|
|
'mlgpu/UtilityMLGPU.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/CompositingRenderTargetOGL.h',
|
|
|
|
'opengl/CompositorOGL.h',
|
2013-11-18 06:04:38 +04:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.h',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/TextureClientOGL.h',
|
|
|
|
'opengl/TextureHostOGL.h',
|
2017-06-09 23:30:00 +03:00
|
|
|
'PaintThread.h',
|
2015-06-19 02:07:21 +03:00
|
|
|
'PersistentBufferProvider.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'RenderTrace.h',
|
2017-10-25 17:20:49 +03:00
|
|
|
'RotatedBuffer.h',
|
2017-08-03 08:55:14 +03:00
|
|
|
'ShareableCanvasRenderer.h',
|
2017-01-18 18:12:32 +03:00
|
|
|
'SourceSurfaceSharedData.h',
|
2017-01-18 16:38:02 +03:00
|
|
|
'SourceSurfaceVolatileData.h',
|
2017-08-07 13:15:23 +03:00
|
|
|
'SyncObject.h',
|
2017-03-22 06:32:53 +03:00
|
|
|
'TextureSourceProvider.h',
|
2015-12-02 22:31:17 +03:00
|
|
|
'TextureWrapperImage.h',
|
2014-05-29 01:42:17 +04:00
|
|
|
'TransactionIdAllocator.h',
|
2017-04-18 09:26:41 +03:00
|
|
|
'UpdateImageHelper.h',
|
2017-07-25 11:54:36 +03:00
|
|
|
'wr/AsyncImagePipelineManager.h',
|
2017-09-14 19:48:55 +03:00
|
|
|
'wr/IpcResourceUpdateQueue.h',
|
2017-05-12 20:58:15 +03:00
|
|
|
'wr/ScrollingLayersHelper.h',
|
2017-04-27 19:04:25 +03:00
|
|
|
'wr/StackingContextHelper.h',
|
2016-11-16 16:54:51 +03:00
|
|
|
'wr/WebRenderBridgeChild.h',
|
|
|
|
'wr/WebRenderBridgeParent.h',
|
2017-08-03 08:55:14 +03:00
|
|
|
'wr/WebRenderCanvasRenderer.h',
|
2017-10-04 17:45:29 +03:00
|
|
|
'wr/WebRenderCommandBuilder.h',
|
2017-02-08 15:50:16 +03:00
|
|
|
'wr/WebRenderImageHost.h',
|
2016-11-16 16:54:51 +03:00
|
|
|
'wr/WebRenderLayerManager.h',
|
2017-01-30 21:48:01 +03:00
|
|
|
'wr/WebRenderLayersLogging.h',
|
2017-01-11 08:49:44 +03:00
|
|
|
'wr/WebRenderMessageUtils.h',
|
2017-04-20 17:38:04 +03:00
|
|
|
'wr/WebRenderScrollData.h',
|
2017-04-20 17:38:05 +03:00
|
|
|
'wr/WebRenderScrollDataWrapper.h',
|
2017-03-07 13:37:28 +03:00
|
|
|
'wr/WebRenderTextureHost.h',
|
2017-06-29 01:03:27 +03:00
|
|
|
'wr/WebRenderUserData.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2014-02-05 20:39:02 +04:00
|
|
|
'basic/TextureClientX11.h',
|
2014-02-18 04:30:05 +04:00
|
|
|
'basic/X11TextureSourceBasic.h',
|
|
|
|
'composite/X11TextureHost.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayerUtilsX11.h',
|
2014-02-18 04:30:05 +04:00
|
|
|
'opengl/X11TextureSourceOGL.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2014-02-05 20:39:02 +04:00
|
|
|
'basic/TextureClientX11.cpp',
|
2014-07-23 03:02:25 +04:00
|
|
|
'basic/X11BasicCompositor.cpp',
|
2014-02-18 04:30:05 +04:00
|
|
|
'basic/X11TextureSourceBasic.cpp',
|
|
|
|
'composite/X11TextureHost.cpp',
|
|
|
|
'ipc/ShadowLayerUtilsX11.cpp',
|
2014-02-18 04:30:05 +04:00
|
|
|
'opengl/X11TextureSourceOGL.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
2013-04-21 10:41:06 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/GLManager.h',
|
2013-04-21 10:41:06 +04:00
|
|
|
]
|
2013-11-01 05:54:14 +04:00
|
|
|
EXPORTS += [
|
2016-01-22 01:38:53 +03:00
|
|
|
'MacIOSurfaceHelpers.h',
|
2013-11-01 05:54:14 +04:00
|
|
|
'MacIOSurfaceImage.h',
|
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'opengl/GLManager.cpp',
|
|
|
|
]
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ShadowLayerUtilsMac.cpp',
|
2016-01-22 01:38:53 +03:00
|
|
|
'MacIOSurfaceHelpers.cpp',
|
2013-11-01 05:54:14 +04:00
|
|
|
'MacIOSurfaceImage.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-21 10:41:06 +04:00
|
|
|
|
2016-08-06 00:38:51 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
2016-05-03 22:04:06 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2016-05-17 01:53:23 +03:00
|
|
|
'apz/src/AndroidAPZ.cpp',
|
2017-04-06 01:42:50 +03:00
|
|
|
'apz/src/AndroidDynamicToolbarAnimator.cpp',
|
|
|
|
]
|
|
|
|
EXPORTS.mozilla.layers += [
|
|
|
|
'apz/src/AndroidDynamicToolbarAnimator.h',
|
2016-05-03 22:04:06 +03:00
|
|
|
]
|
|
|
|
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2017-01-25 05:51:30 +03:00
|
|
|
'AnimationHelper.cpp',
|
2017-07-21 09:21:47 +03:00
|
|
|
'AnimationInfo.cpp',
|
2016-07-20 14:37:00 +03:00
|
|
|
'apz/public/IAPZCTreeManager.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/src/APZCTreeManager.cpp',
|
|
|
|
'apz/src/AsyncPanZoomController.cpp',
|
2017-07-28 22:04:00 +03:00
|
|
|
'apz/src/AutoscrollAnimation.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/src/Axis.cpp',
|
2016-01-16 00:19:58 +03:00
|
|
|
'apz/src/CheckerboardEvent.cpp',
|
2016-03-11 02:25:49 +03:00
|
|
|
'apz/src/DragTracker.cpp',
|
2017-06-06 03:12:22 +03:00
|
|
|
'apz/src/FocusState.cpp',
|
|
|
|
'apz/src/FocusTarget.cpp',
|
2017-06-15 11:31:50 +03:00
|
|
|
'apz/src/GenericScrollAnimation.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/src/GestureEventListener.cpp',
|
2015-01-08 17:40:01 +03:00
|
|
|
'apz/src/HitTestingTreeNode.cpp',
|
2014-08-19 00:12:11 +04:00
|
|
|
'apz/src/InputBlockState.cpp',
|
2014-10-24 21:29:03 +04:00
|
|
|
'apz/src/InputQueue.cpp',
|
2017-06-16 01:06:00 +03:00
|
|
|
'apz/src/KeyboardMap.cpp',
|
2017-06-06 12:47:10 +03:00
|
|
|
'apz/src/KeyboardScrollAction.cpp',
|
|
|
|
'apz/src/KeyboardScrollAnimation.cpp',
|
2014-09-23 19:38:05 +04:00
|
|
|
'apz/src/OverscrollHandoffState.cpp',
|
2016-01-21 17:13:47 +03:00
|
|
|
'apz/src/PotentialCheckerboardDurationTracker.cpp',
|
2016-09-14 14:54:36 +03:00
|
|
|
'apz/src/QueuedInput.cpp',
|
2015-08-25 14:50:01 +03:00
|
|
|
'apz/src/TouchCounter.cpp',
|
2015-04-02 09:42:40 +03:00
|
|
|
'apz/src/WheelScrollAnimation.cpp',
|
2014-05-10 01:16:03 +04:00
|
|
|
'apz/testutil/APZTestData.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/util/ActiveElementManager.cpp',
|
|
|
|
'apz/util/APZCCallbackHelper.cpp',
|
2015-02-09 22:05:18 +03:00
|
|
|
'apz/util/APZEventState.cpp',
|
2015-02-10 16:24:23 +03:00
|
|
|
'apz/util/APZThreadUtils.cpp',
|
2016-01-23 04:27:28 +03:00
|
|
|
'apz/util/CheckerboardReportService.cpp',
|
2014-12-15 12:49:48 +03:00
|
|
|
'apz/util/ChromeProcessController.cpp',
|
2016-08-11 02:51:45 +03:00
|
|
|
'apz/util/ContentProcessController.cpp',
|
2015-07-27 21:07:58 +03:00
|
|
|
'apz/util/DoubleTapToZoom.cpp',
|
2014-12-16 10:28:19 +03:00
|
|
|
'apz/util/InputAPZContext.cpp',
|
2015-12-14 22:47:24 +03:00
|
|
|
'apz/util/ScrollLinkedEffectDetector.cpp',
|
2016-05-27 23:46:25 +03:00
|
|
|
'apz/util/TouchActionHelper.cpp',
|
2015-10-12 06:21:02 +03:00
|
|
|
'AsyncCanvasRenderer.cpp',
|
2014-07-09 21:02:29 +04:00
|
|
|
'AxisPhysicsModel.cpp',
|
|
|
|
'AxisPhysicsMSDModel.cpp',
|
2016-11-24 08:11:30 +03:00
|
|
|
'basic/BasicBorderLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'basic/BasicCanvasLayer.cpp',
|
|
|
|
'basic/BasicColorLayer.cpp',
|
|
|
|
'basic/BasicCompositor.cpp',
|
|
|
|
'basic/BasicContainerLayer.cpp',
|
2017-02-15 00:49:27 +03:00
|
|
|
'basic/BasicDisplayItemLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'basic/BasicImages.cpp',
|
|
|
|
'basic/BasicLayerManager.cpp',
|
|
|
|
'basic/BasicLayersImpl.cpp',
|
2014-09-26 21:06:08 +04:00
|
|
|
'basic/BasicPaintedLayer.cpp',
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/TextureHostBasic.cpp',
|
2016-08-11 00:30:29 +03:00
|
|
|
'BSPTree.cpp',
|
2015-10-15 18:53:33 +03:00
|
|
|
'BufferTexture.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'BufferUnrotate.cpp',
|
2017-08-03 08:55:14 +03:00
|
|
|
'CanvasRenderer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/CanvasClient.cpp',
|
2016-11-24 08:11:30 +03:00
|
|
|
'client/ClientBorderLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/ClientCanvasLayer.cpp',
|
2017-08-03 08:55:14 +03:00
|
|
|
'client/ClientCanvasRenderer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/ClientColorLayer.cpp',
|
|
|
|
'client/ClientContainerLayer.cpp',
|
|
|
|
'client/ClientImageLayer.cpp',
|
|
|
|
'client/ClientLayerManager.cpp',
|
2014-09-26 21:06:08 +04:00
|
|
|
'client/ClientPaintedLayer.cpp',
|
|
|
|
'client/ClientTiledPaintedLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/CompositableClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/ContentClient.cpp',
|
2016-09-21 12:24:44 +03:00
|
|
|
'client/GPUVideoTextureClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/ImageClient.cpp',
|
2015-07-29 19:02:40 +03:00
|
|
|
'client/SingleTiledContentClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/TextureClient.cpp',
|
2014-03-08 01:34:04 +04:00
|
|
|
'client/TextureClientPool.cpp',
|
2014-11-13 18:53:49 +03:00
|
|
|
'client/TextureClientRecycleAllocator.cpp',
|
2015-06-05 03:15:38 +03:00
|
|
|
'client/TextureClientSharedSurface.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/TiledContentClient.cpp',
|
2017-02-16 22:40:37 +03:00
|
|
|
'composite/AnimationMetricsTracker.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/AsyncCompositionManager.cpp',
|
|
|
|
'composite/CanvasLayerComposite.cpp',
|
|
|
|
'composite/ColorLayerComposite.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'composite/CompositableHost.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/ContainerLayerComposite.cpp',
|
|
|
|
'composite/ContentHost.cpp',
|
2017-04-11 05:44:45 +03:00
|
|
|
'composite/Diagnostics.cpp',
|
2014-05-09 17:50:00 +04:00
|
|
|
'composite/FPSCounter.cpp',
|
2015-06-08 19:53:41 +03:00
|
|
|
'composite/FrameUniformityData.cpp',
|
2016-09-21 12:24:44 +03:00
|
|
|
'composite/GPUVideoTextureHost.cpp',
|
2017-02-07 11:07:00 +03:00
|
|
|
'composite/ImageComposite.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/ImageHost.cpp',
|
|
|
|
'composite/ImageLayerComposite.cpp',
|
|
|
|
'composite/LayerManagerComposite.cpp',
|
2014-09-26 21:07:06 +04:00
|
|
|
'composite/PaintedLayerComposite.cpp',
|
2014-03-12 06:27:30 +04:00
|
|
|
'composite/TextRenderer.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/TextureHost.cpp',
|
|
|
|
'composite/TiledContentHost.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Compositor.cpp',
|
2017-08-03 08:55:14 +03:00
|
|
|
'CopyableCanvasRenderer.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Effects.cpp',
|
2015-07-13 18:53:10 +03:00
|
|
|
'FrameMetrics.cpp',
|
2014-10-21 17:53:02 +04:00
|
|
|
'GLImages.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ImageDataSerializer.cpp',
|
|
|
|
'ImageLayers.cpp',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/APZChild.cpp',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/APZCTreeManagerChild.cpp',
|
|
|
|
'ipc/APZCTreeManagerParent.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/CompositableTransactionParent.cpp',
|
2014-05-21 21:29:49 +04:00
|
|
|
'ipc/CompositorBench.cpp',
|
2016-03-22 21:08:38 +03:00
|
|
|
'ipc/CompositorBridgeChild.cpp',
|
|
|
|
'ipc/CompositorBridgeParent.cpp',
|
2017-06-14 18:39:59 +03:00
|
|
|
'ipc/CompositorManagerChild.cpp',
|
|
|
|
'ipc/CompositorManagerParent.cpp',
|
2016-05-16 09:38:34 +03:00
|
|
|
'ipc/CompositorThread.cpp',
|
2016-11-18 13:37:04 +03:00
|
|
|
'ipc/CompositorVsyncScheduler.cpp',
|
2016-11-10 21:05:06 +03:00
|
|
|
'ipc/CrossProcessCompositorBridgeParent.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ImageBridgeChild.cpp',
|
|
|
|
'ipc/ImageBridgeParent.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ipc/ISurfaceAllocator.cpp',
|
2016-01-29 16:44:00 +03:00
|
|
|
'ipc/LayerAnimationUtils.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/LayerTransactionChild.cpp',
|
|
|
|
'ipc/LayerTransactionParent.cpp',
|
2016-08-16 23:59:13 +03:00
|
|
|
'ipc/LayerTreeOwnerTracker.cpp',
|
2018-01-04 19:23:18 +03:00
|
|
|
'ipc/RefCountedShmem.cpp',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/RemoteContentController.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ShadowLayers.cpp',
|
|
|
|
'ipc/SharedPlanarYCbCrImage.cpp',
|
|
|
|
'ipc/SharedRGBImage.cpp',
|
2017-10-30 20:10:29 +03:00
|
|
|
'ipc/SharedSurfacesChild.cpp',
|
|
|
|
'ipc/SharedSurfacesParent.cpp',
|
2017-01-05 22:04:38 +03:00
|
|
|
'ipc/UiCompositorControllerChild.cpp',
|
|
|
|
'ipc/UiCompositorControllerParent.cpp',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/VideoBridgeChild.cpp',
|
|
|
|
'ipc/VideoBridgeParent.cpp',
|
2013-11-29 08:11:49 +04:00
|
|
|
'LayerScope.cpp',
|
2017-06-20 11:17:16 +03:00
|
|
|
'LayersHelpers.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersLogging.cpp',
|
|
|
|
'LayerSorter.cpp',
|
2017-06-06 13:28:00 +03:00
|
|
|
'LayersTypes.cpp',
|
2017-06-24 00:23:12 +03:00
|
|
|
'mlgpu/BufferCache.cpp',
|
|
|
|
'mlgpu/CanvasLayerMLGPU.cpp',
|
|
|
|
'mlgpu/ContainerLayerMLGPU.cpp',
|
|
|
|
'mlgpu/FrameBuilder.cpp',
|
|
|
|
'mlgpu/ImageLayerMLGPU.cpp',
|
|
|
|
'mlgpu/LayerManagerMLGPU.cpp',
|
|
|
|
'mlgpu/LayerMLGPU.cpp',
|
|
|
|
'mlgpu/MaskOperation.cpp',
|
2017-06-24 00:23:14 +03:00
|
|
|
'mlgpu/MemoryReportingMLGPU.cpp',
|
2017-06-24 00:23:12 +03:00
|
|
|
'mlgpu/MLGDevice.cpp',
|
|
|
|
'mlgpu/PaintedLayerMLGPU.cpp',
|
|
|
|
'mlgpu/RenderPassMLGPU.cpp',
|
|
|
|
'mlgpu/RenderViewMLGPU.cpp',
|
|
|
|
'mlgpu/SharedBufferMLGPU.cpp',
|
|
|
|
'mlgpu/StagingBuffer.cpp',
|
|
|
|
'mlgpu/TexturedLayerMLGPU.cpp',
|
|
|
|
'mlgpu/TextureSourceProviderMLGPU.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'opengl/CompositingRenderTargetOGL.cpp',
|
|
|
|
'opengl/CompositorOGL.cpp',
|
2014-11-10 22:49:05 +03:00
|
|
|
'opengl/GLBlitTextureImageHelper.cpp',
|
2013-11-27 02:15:17 +04:00
|
|
|
'opengl/OGLShaderProgram.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'opengl/TextureClientOGL.cpp',
|
|
|
|
'opengl/TextureHostOGL.cpp',
|
2017-06-09 23:30:00 +03:00
|
|
|
'PaintThread.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ReadbackProcessor.cpp',
|
|
|
|
'RenderTrace.cpp',
|
2013-11-27 04:29:46 +04:00
|
|
|
'RotatedBuffer.cpp',
|
2017-08-03 08:55:14 +03:00
|
|
|
'ShareableCanvasRenderer.cpp',
|
2017-01-18 18:12:32 +03:00
|
|
|
'SourceSurfaceSharedData.cpp',
|
2017-01-18 16:38:02 +03:00
|
|
|
'SourceSurfaceVolatileData.cpp',
|
2017-08-07 13:15:23 +03:00
|
|
|
'SyncObject.cpp',
|
2017-03-22 06:32:53 +03:00
|
|
|
'TextureSourceProvider.cpp',
|
2015-12-02 22:31:17 +03:00
|
|
|
'TextureWrapperImage.cpp',
|
2017-07-25 11:54:36 +03:00
|
|
|
'wr/AsyncImagePipelineManager.cpp',
|
2017-09-14 19:48:55 +03:00
|
|
|
'wr/IpcResourceUpdateQueue.cpp',
|
2017-05-12 20:58:15 +03:00
|
|
|
'wr/ScrollingLayersHelper.cpp',
|
2017-04-27 19:04:25 +03:00
|
|
|
'wr/StackingContextHelper.cpp',
|
2016-11-16 16:54:51 +03:00
|
|
|
'wr/WebRenderBridgeChild.cpp',
|
|
|
|
'wr/WebRenderBridgeParent.cpp',
|
2017-08-03 08:55:14 +03:00
|
|
|
'wr/WebRenderCanvasRenderer.cpp',
|
2017-10-04 17:45:29 +03:00
|
|
|
'wr/WebRenderCommandBuilder.cpp',
|
2017-02-08 15:50:16 +03:00
|
|
|
'wr/WebRenderImageHost.cpp',
|
2016-11-16 16:54:51 +03:00
|
|
|
'wr/WebRenderLayerManager.cpp',
|
2017-01-30 21:48:01 +03:00
|
|
|
'wr/WebRenderLayersLogging.cpp',
|
2017-04-20 17:38:04 +03:00
|
|
|
'wr/WebRenderScrollData.cpp',
|
2017-06-29 01:03:27 +03:00
|
|
|
'wr/WebRenderUserData.cpp',
|
2017-03-31 17:29:14 +03:00
|
|
|
# XXX here are some unified build error.
|
|
|
|
#'wr/WebRenderTextureHost.cpp'
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-11-18 06:07:08 +04:00
|
|
|
SOURCES += [
|
|
|
|
'basic/BasicImageLayer.cpp',
|
|
|
|
'ImageContainer.cpp',
|
2013-12-09 08:39:26 +04:00
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
2015-06-19 02:07:21 +03:00
|
|
|
'PersistentBufferProvider.cpp',
|
2017-10-19 01:02:05 +03:00
|
|
|
'protobuf/LayerScopePacket.pb.cc',
|
2017-03-31 17:29:14 +03:00
|
|
|
'wr/WebRenderTextureHost.cpp',
|
2013-11-18 06:07:08 +04:00
|
|
|
]
|
|
|
|
|
2014-07-10 07:16:00 +04:00
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
2017-10-19 01:02:05 +03:00
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER'] = True
|
2014-07-10 07:16:00 +04:00
|
|
|
|
2013-12-09 08:39:26 +04:00
|
|
|
# Workaround compiler bug (Bug 795594)
|
2017-12-08 15:46:13 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl') and CONFIG['CPU_ARCH'] == 'x86_64':
|
2013-12-09 08:39:26 +04:00
|
|
|
for src in [
|
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
|
|
|
]:
|
|
|
|
SOURCES[src].no_pgo = True
|
|
|
|
|
2013-11-18 06:04:38 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
SOURCES += [
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.cpp',
|
2013-11-18 06:04:38 +04:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.cpp',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.cpp',
|
|
|
|
]
|
|
|
|
|
2017-01-05 22:04:38 +03:00
|
|
|
IPDL_SOURCES += [
|
2013-09-06 19:41:00 +04:00
|
|
|
'ipc/LayersMessages.ipdlh',
|
2013-07-01 17:56:28 +04:00
|
|
|
'ipc/LayersSurfaces.ipdlh',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/PAPZ.ipdl',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/PAPZCTreeManager.ipdl',
|
2016-03-22 21:07:08 +03:00
|
|
|
'ipc/PCompositorBridge.ipdl',
|
2017-06-14 18:39:59 +03:00
|
|
|
'ipc/PCompositorManager.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
'ipc/PImageBridge.ipdl',
|
|
|
|
'ipc/PLayerTransaction.ipdl',
|
2013-12-12 05:44:44 +04:00
|
|
|
'ipc/PTexture.ipdl',
|
2017-01-05 22:04:38 +03:00
|
|
|
'ipc/PUiCompositorController.ipdl',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/PVideoBridge.ipdl',
|
2016-11-16 16:54:51 +03:00
|
|
|
'ipc/PWebRenderBridge.ipdl',
|
2016-11-18 11:07:02 +03:00
|
|
|
'ipc/WebRenderMessages.ipdlh',
|
2013-07-01 17:56:28 +04:00
|
|
|
]
|
2013-08-22 10:56:00 +04:00
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2017-05-19 22:32:14 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
GENERATED_FILES = [
|
|
|
|
'CompositorD3D11Shaders.h',
|
2017-06-24 00:23:12 +03:00
|
|
|
'MLGShaders.h',
|
2017-05-19 22:32:14 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
d3d11_shaders = GENERATED_FILES['CompositorD3D11Shaders.h']
|
|
|
|
d3d11_shaders.script = 'd3d11/genshaders.py'
|
|
|
|
d3d11_shaders.inputs = ['d3d11/shaders.manifest']
|
2017-06-24 00:23:12 +03:00
|
|
|
mlg_shaders = GENERATED_FILES['MLGShaders.h']
|
|
|
|
mlg_shaders.script = 'd3d11/genshaders.py'
|
|
|
|
mlg_shaders.inputs = ['d3d11/mlgshaders/shaders.manifest']
|
2017-05-19 22:32:14 +03:00
|
|
|
|
2015-02-09 22:05:18 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/docshell/base', # for nsDocShell.h
|
2015-02-25 06:20:00 +03:00
|
|
|
'/layout/base', # for TouchManager.h
|
2015-07-27 21:07:58 +03:00
|
|
|
'/layout/generic', # for nsTextFrame.h
|
2017-02-24 22:01:56 +03:00
|
|
|
'/media/libyuv/libyuv/include', # for libyuv.h
|
2015-02-09 22:05:18 +03:00
|
|
|
]
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 17:55:07 +04: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 19:07:46 +04:00
|
|
|
|
2015-09-18 20:19:05 +03:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DIRS += ['apz/test/gtest']
|
|
|
|
|
2015-09-17 02:26:04 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['apz/test/mochitest/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['apz/test/mochitest/chrome.ini']
|
2014-07-24 19:55:33 +04:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
2015-07-30 19:05:22 +03:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']
|
2016-05-11 10:00:01 +03:00
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
2017-10-19 01:02:05 +03:00
|
|
|
# Suppress warnings in third-party code.
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-maybe-uninitialized'
|
|
|
|
]
|
2016-11-30 21:13:54 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_SKIA']:
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'composite/PaintCounter.cpp',
|
|
|
|
]
|