layout/printing/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 23 Jul 2014 08:37:51 +0900
changeset 217242 b6982073587f13f4c2575346aa952a520ea0ebae
parent 172629 6d2b1212727ef9dd96e8c2966ec81b2017789641
child 232296 5a57f87f5061cde0e0207361a596d57bd330a3fc
permissions -rw-r--r--
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal

# -*- 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/.

XPIDL_SOURCES += [
    'nsIPrintProgress.idl',
    'nsIPrintProgressParams.idl',
    'nsIPrintStatusFeedback.idl',
]

XPIDL_MODULE = 'layout_printing'

UNIFIED_SOURCES += [
    'nsPagePrintTimer.cpp',
    'nsPrintObject.cpp',
    'nsPrintPreviewListener.cpp',
]

# These files cannot be built in unified mode because they force NSPR logging.
SOURCES += [
    'nsPrintData.cpp',
    'nsPrintEngine.cpp',
]

FAIL_ON_WARNINGS = True

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '../../content/base/src',
    '../base',
]