toolkit/recordreplay/moz.build
author Ryan Hunt <rhunt@eqrion.net>
Tue, 16 Apr 2019 00:27:46 +0000
changeset 469682 b3cffdee2f6caadc379280a90a8d85ca80870f3e
parent 442010 4478e865d77054f42534630aca3d85d41e810f44
child 474173 4d7ef85fc81f1f3d37098ec0809ca14c62d79ccd
permissions -rw-r--r--
Bug 1544538 - Pref off advanced layers. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D27565

# -*- 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.recordreplay += [
    'ipc/ChildIPC.h',
    'ipc/ParentIPC.h',
]

if CONFIG['OS_ARCH'] == 'Darwin' and CONFIG['NIGHTLY_BUILD']:
    UNIFIED_SOURCES += [
        'Assembler.cpp',
        'Callback.cpp',
        'DirtyMemoryHandler.cpp',
        'File.cpp',
        'HashTable.cpp',
        'ipc/Channel.cpp',
        'ipc/ChildIPC.cpp',
        'ipc/ChildNavigation.cpp',
        'ipc/ChildProcess.cpp',
        'ipc/JSControl.cpp',
        'ipc/ParentForwarding.cpp',
        'ipc/ParentGraphics.cpp',
        'ipc/ParentIPC.cpp',
        'Lock.cpp',
        'MemorySnapshot.cpp',
        'MiddlemanCall.cpp',
        'ProcessRecordReplay.cpp',
        'ProcessRedirectDarwin.cpp',
        'ProcessRewind.cpp',
        'Thread.cpp',
        'ThreadSnapshot.cpp',
        'Trigger.cpp',
        'ValueIndex.cpp',
        'WeakPointer.cpp',
    ]
    SOURCES += [
        # ProcessRedirect includes udis86 directly and will not compile if the
        # udis86 headers are included elsewhere in the same compilation unit.
        'ProcessRedirect.cpp',
    ]
else:
    UNIFIED_SOURCES += [
        'ipc/DisabledIPC.cpp',
    ]

LOCAL_INCLUDES += [
    '!/ipc/ipdl/_ipdlheaders',
    '/ipc/chromium/src',
    '/js/xpconnect/src',
    '/toolkit/crashreporter/breakpad-client',
    '/toolkit/crashreporter/google-breakpad/src',
]

FINAL_LIBRARY = 'xul'

with Files('**'):
    BUG_COMPONENT = ('Core', 'Web Replay')