Bug 1847098 - Report library version from filename at crash r=gsvelto
[gecko.git] / tools / crashreporter / injector / moz.build
blob534177b77ea537cad029e152653cf73631930c87
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 SharedLibrary("breakpadinjector")
9 UNIFIED_SOURCES += [
10     "/toolkit/crashreporter/breakpad-client/linux/crash_generation/crash_generation_client.cc",
11     "/toolkit/crashreporter/breakpad-client/linux/dump_writer_common/thread_info.cc",
12     "/toolkit/crashreporter/breakpad-client/linux/dump_writer_common/ucontext_reader.cc",
13     "/toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc",
14     "/toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.cc",
15     "/toolkit/crashreporter/breakpad-client/linux/handler/minidump_descriptor.cc",
16     "/toolkit/crashreporter/breakpad-client/linux/log/log.cc",
17     "/toolkit/crashreporter/breakpad-client/linux/microdump_writer/microdump_writer.cc",
18     "/toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_dumper.cc",
19     "/toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_ptrace_dumper.cc",
20     "/toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer.cc",
21     "/toolkit/crashreporter/breakpad-client/minidump_file_writer.cc",
22     "/toolkit/crashreporter/linux_utils.cc",
23     "injector.cc",
26 LOCAL_INCLUDES += [
27     "/toolkit/crashreporter/",
30 USE_LIBS += [
31     "breakpad_common_s",
32     "breakpad_linux_common_s",
35 DisableStlWrapping()
37 # On Linux we override the guid_creator.h header and use our own instead
38 if CONFIG["OS_TARGET"] in ("Linux", "Android"):
39     DEFINES["COMMON_LINUX_GUID_CREATOR_H__"] = 1
41 include("/toolkit/crashreporter/crashreporter.mozbuild")