layout/painting/moz.build
author William Lachance <wlachance@mozilla.com>
Fri, 13 Jan 2017 15:46:43 -0500
changeset 374981 05ba56765a31727b97475dcd7644598a99909010
parent 368720 1d0eb83ca237bafb36c81e98f64a535bcf1b0984
child 378691 d7b10f6c7982b619c8d877a9f81a7fc32f4c3fda
permissions -rw-r--r--
Bug 1204490 - Add link to treeherder to taskcluster task descriptions r=dustin MozReview-Commit-ID: BDDPf0nZRRg

# -*- 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', 'Layout: View Rendering')

EXPORTS += [
    'ActiveLayerTracker.h',
    'DisplayItemClip.h',
    'DisplayItemScrollClip.h',
    'DisplayListClipState.h',
    'FrameLayerBuilder.h',
    'LayerState.h',
    'nsDisplayItemTypes.h',
    'nsDisplayItemTypesList.h',
    'nsDisplayList.h',
    'nsDisplayListInvalidation.h',
]

EXPORTS.mozilla += [
    'PaintTracker.h',
]

UNIFIED_SOURCES += [
    'ActiveLayerTracker.cpp',
    'DashedCornerFinder.cpp',
    'DisplayItemClip.cpp',
    'DisplayItemScrollClip.cpp',
    'DisplayListClipState.cpp',
    'DottedCornerFinder.cpp',
    'FrameLayerBuilder.cpp',
    'MaskLayerImageCache.cpp',
    'nsCSSRendering.cpp',
    'nsCSSRenderingBorders.cpp',
    'nsDisplayList.cpp',
    'nsDisplayListInvalidation.cpp',
    'PaintTracker.cpp',
]

include('/ipc/chromium/chromium-config.mozbuild')

LOCAL_INCLUDES += [
    '/docshell/base',
    '/dom/base',
    '/layout/base',
    '/layout/generic',
    '/layout/style',
    '/layout/svg',
    '/layout/tables',
    '/layout/xul',
]

FINAL_LIBRARY = 'xul'

CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']

if CONFIG['_MSC_VER']:
    # This is intended as a temporary hack to support building with VS2015.
    # 'type cast': conversion from 'unsigned int' to 'void *' of greater size
    CXXFLAGS += ['-wd4312']

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wno-error=shadow']