view/moz.build
author Chris Pearce <cpearce@mozilla.com>
Wed, 16 Mar 2016 13:49:26 +0800
changeset 288911 49aa9281700cdacc521a7fa851abfc019831f1eb
parent 260030 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 297481 0ee18d7a875a77016dfe5f9ac651787bab7a48d9
permissions -rw-r--r--
Bug 1256065. r=gerald

# -*- Mode: python; c-basic-offset: 4; 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/.

EXPORTS += [
    'nsView.h',
    'nsViewManager.h',
]

# nsViewManager.cpp cannot be built in unified mode because it uses PL_ARENA_CONST_ALIGN_MASK.
SOURCES += [
    'nsView.cpp',
    'nsViewManager.cpp',
]

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wshadow']

FINAL_LIBRARY = 'xul'

CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']