gecko-dev/memory/app.mozbuild
Mitchell Hentges 304c8d6362 Bug 1706774: Adds required sources for the "memory" application r=firefox-build-system-reviewers,glandium
Replay, moajemalloc_info, phc, and memory needed additional
pieces (mostly Printf.cpp and dependencies) to build
successfully on Windows.

Depends on D114651

Differential Revision: https://phabricator.services.mozilla.com/D114652
2021-05-18 15:00:39 +00:00

27 lines
754 B
Python

# -*- 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/.
# Indirectly necessary for chromium's lock.h, included from LogAlloc.cpp
EXPORTS.mozilla += [
'/mozglue/misc/Printf.h',
'/xpcom/base/Logging.h',
]
DIRS += [
'/memory',
'/mfbt',
]
EXPORTS.mozilla += [
"/mozglue/misc/IntegerPrintfMacros.h",
"/mozglue/misc/Sprintf.h",
]
if CONFIG["OS_ARCH"] == "WINNT":
EXPORTS.mozilla += [
"/mozglue/misc/StackWalk_windows.h",
"/mozglue/misc/StackWalkThread.h",
]