diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /toolkit/crashreporter/test/moz.build | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'toolkit/crashreporter/test/moz.build')
-rw-r--r-- | toolkit/crashreporter/test/moz.build | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/toolkit/crashreporter/test/moz.build b/toolkit/crashreporter/test/moz.build new file mode 100644 index 000000000..058e6a71e --- /dev/null +++ b/toolkit/crashreporter/test/moz.build @@ -0,0 +1,40 @@ +# -*- 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/. +FINAL_TARGET = '_tests/xpcshell/toolkit/crashreporter/test' + +XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini', 'unit_ipc/xpcshell.ini'] +BROWSER_CHROME_MANIFESTS += ['browser/browser.ini'] + +UNIFIED_SOURCES += [ + '../google-breakpad/src/processor/basic_code_modules.cc', + '../google-breakpad/src/processor/dump_context.cc', + '../google-breakpad/src/processor/dump_object.cc', + '../google-breakpad/src/processor/logging.cc', + '../google-breakpad/src/processor/minidump.cc', + '../google-breakpad/src/processor/pathname_stripper.cc', + '../google-breakpad/src/processor/proc_maps_linux.cc', + 'dumputils.cpp', + 'nsTestCrasher.cpp', +] + +GeckoSharedLibrary('testcrasher') + +DEFINES['SHARED_LIBRARY'] = '%s%s%s' % ( + CONFIG['DLL_PREFIX'], + LIBRARY_NAME, + CONFIG['DLL_SUFFIX'] +) + +TEST_HARNESS_FILES.xpcshell.toolkit.crashreporter.test.unit += ['CrashTestUtils.jsm'] +TEST_HARNESS_FILES.xpcshell.toolkit.crashreporter.test.unit_ipc += ['CrashTestUtils.jsm'] + +include('/toolkit/crashreporter/crashreporter.mozbuild') + +NO_PGO = True + +# Temporary workaround for an issue in upstream breakpad +if CONFIG['_MSC_VER']: + CXXFLAGS += ['-wd4334'] |