toolkit/crashreporter/test/moz.build
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 03 Aug 2015 10:07:09 +0900
changeset 289121 0450e3e2125e841a1f9fd05572792840e912d184
parent 275799 59e335c30dfd53671cf2aad4dca095910ebc7864
child 296072 a613ccdc7874be8043281fa959c00e619f41bf57
permissions -rw-r--r--
Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal

# -*- 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']
)

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

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