layout/printing/moz.build
author Steve Fink <sfink@mozilla.com>
Tue, 25 Feb 2014 14:15:16 -0800
changeset 210050 9d86b9442f0b86c08847c42f8c026ccfce17f8b0
parent 172629 6d2b1212727ef9dd96e8c2966ec81b2017789641
child 217242 b6982073587f13f4c2575346aa952a520ea0ebae
permissions -rw-r--r--
Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium

# -*- 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 = 'gklayout'
LOCAL_INCLUDES += [
    '../../content/base/src',
    '../base',
]