Daniel Holbert e59129d620 Bug 1754111 part 2: Fix non-unified build errors in layout/printing, and mark it as safe to build in non-unified mode. r=emilio
The previous patch in this series fixed some sources of non-unified build errors for this directory, and this patch here fixes the only remaining one, which is:

layout/printing/nsPrintJob.cpp:584:22: error: use of undeclared identifier 'do_CreateInstance'

This API is provided by nsComponentManagerUtils.h, which is the include I'm adding here.

Depends on D138096

Differential Revision: https://phabricator.services.mozilla.com/D138097
2022-02-08 05:17:30 +00:00

34 lines
861 B
Python

# -*- Mode: python; 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.mozilla.layout += [
"ipc/RemotePrintJobChild.h",
"ipc/RemotePrintJobParent.h",
]
EXPORTS.mozilla.layout.printing += ["DrawEventRecorder.h"]
UNIFIED_SOURCES += [
"DrawEventRecorder.cpp",
"ipc/RemotePrintJobChild.cpp",
"ipc/RemotePrintJobParent.cpp",
"nsPagePrintTimer.cpp",
"nsPrintData.cpp",
"nsPrintJob.cpp",
"nsPrintObject.cpp",
"PrintTranslator.cpp",
]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
LOCAL_INCLUDES += [
"../base",
"/dom/base",
"/gfx/2d/",
"/netwerk/base/",
]