toolkit/crashreporter/test/moz.build
author Nick Alexander <nalexander@mozilla.com>
Wed, 09 Jul 2014 08:22:13 -0700
changeset 193273 13d9e025fc86e727793af1d30dbee89993149cde
parent 187868 0ea031a43390936a01838f8c51078099d25c3a3e
child 195643 562e8494fb471eec5fd9df66a0f7fca6bea1811d
permissions -rw-r--r--
Bug 1033560 - Follow-up: Fix missed rename. a=bustage DONTBUILD because the feature is not enabled on TBPL.

# -*- 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/.
NO_DIST_INSTALL = True

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',
]

LIBRARY_NAME = 'testcrasher'

EXTRA_JS_MODULES += [
    'CrashTestUtils.jsm',
]

FORCE_SHARED_LIB = True

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')