gecko-dev/layout/moz.build
Nika Layzell 6f3de9dc9b Bug 1751948 - Part 3: Build IPDL sources within the directory they were declared, r=glandium
This change allows IPDL sources to respect FINAL_LIBRARY when building, which
is important for allowing us to build gtest-only IPDL_SOURCES files.

Differential Revision: https://phabricator.services.mozilla.com/D137167
2022-02-28 21:01:47 +00:00

49 lines
992 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/.
with Files("**"):
BUG_COMPONENT = ("Core", "Layout")
DIRS += [
"style",
"base",
"generic",
"forms",
"tables",
"svg",
"xul",
"ipc",
"mathml",
"inspector",
"reftests",
"painting",
]
IPDL_SOURCES = [
"printing/ipc/PRemotePrintJob.ipdl",
]
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul"
if CONFIG["NS_PRINTING"]:
DIRS += ["printing"]
TEST_DIRS += [
"tools/reftest",
]
DIRS += ["build", "media"]
if CONFIG["MOZ_LAYOUT_DEBUGGER"] and CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
DIRS += ["tools/layout-debug"]
CRASHTEST_MANIFESTS += ["../testing/crashtest/crashtests.list"]
SPHINX_TREES["/layout"] = "docs"