view/moz.build
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Mon, 28 Mar 2016 11:18:24 -0400
changeset 332679 84ba3a5bc33cc4af94f5a46465a6f921d794041b
parent 294396 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
child 338484 0ee18d7a875a77016dfe5f9ac651787bab7a48d9
permissions -rw-r--r--
Bug 1255450 - [mach] Enable runtime configuration files, r=gps Runtime configs have been implemented for awhile, but disabled. This patch enables configuration. Config files will be loaded in the following order (later files override earlier ones): 1a. $MACHRC 1b. $MOZBUILD_STATE_PATH/machrc (if $MACHRC is unset) 2. topsrcdir/machrc 3. CLI via --settings Note: .machrc may be used instead of machrc if desired. MozReview-Commit-ID: IntONAZLGML

# -*- 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']