layout/printing/moz.build
author Bob Owen <bobowencode@gmail.com>
Mon, 21 Dec 2015 20:33:13 +0000
changeset 277217 7a4da453572c1d857a7ad98c932cd7b01c7b27fc
parent 263968 20a95408d007f9e040ca02c87d851fbe625b91e0
child 277225 4dd34ea230c633fb41d35f731840c4637aafbe4a
permissions -rw-r--r--
Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley The methods will get filled out by later patches, this sets up the IPDL and lifetime management.

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

EXPORTS.mozilla.layout += [
    'ipc/RemotePrintJobChild.h',
    'ipc/RemotePrintJobParent.h',
]

XPIDL_MODULE = 'layout_printing'

UNIFIED_SOURCES += [
    'ipc/RemotePrintJobChild.cpp',
    'ipc/RemotePrintJobParent.cpp',
    'nsPagePrintTimer.cpp',
    'nsPrintData.cpp',
    'nsPrintEngine.cpp',
    'nsPrintObject.cpp',
    'nsPrintPreviewListener.cpp',
]

IPDL_SOURCES = [
    'ipc/PRemotePrintJob.ipdl',
]

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

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '../base',
    '/dom/base',
]
if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wshadow']