toolkit/crashreporter/test/moz.build
author Randell Jesup <rjesup@jesup.org>
Fri, 29 May 2015 10:14:14 -0400
changeset 246329 eefcbe8e6a0cb28ebc739d4b40f8a066bdf529f0
parent 243443 59e335c30dfd53671cf2aad4dca095910ebc7864
child 255812 0450e3e2125e841a1f9fd05572792840e912d184
permissions -rw-r--r--
Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent

# -*- 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/.
DIST_INSTALL = False

XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini', 'unit_ipc/xpcshell.ini']
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']

UNIFIED_SOURCES += [
    '../google-breakpad/src/common/logging.cc',
    '../google-breakpad/src/common/pathname_stripper.cc',
    '../google-breakpad/src/processor/basic_code_modules.cc',
    '../google-breakpad/src/processor/minidump.cc',
    'dumputils.cpp',
    'nsTestCrasher.cpp',
]

GeckoSharedLibrary('testcrasher')

EXTRA_JS_MODULES += [
    'CrashTestUtils.jsm',
]

DEFINES['SHARED_LIBRARY'] = '%s%s%s' % (
    CONFIG['DLL_PREFIX'],
    LIBRARY_NAME,
    CONFIG['DLL_SUFFIX']
)

DEFINES['NOMINMAX'] = True

LOCAL_INCLUDES += [
    '../google-breakpad/src/',
]

include('/toolkit/crashreporter/crashreporter.mozbuild')