summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build')
-rw-r--r--toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build33
1 files changed, 33 insertions, 0 deletions
diff --git a/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build b/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build
new file mode 100644
index 000000000..643020e84
--- /dev/null
+++ b/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/moz.build
@@ -0,0 +1,33 @@
+# -*- 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/.
+
+HOST_SOURCES += [
+ 'dump_syms.cc',
+]
+
+HOST_CXXFLAGS += [
+ '-O2',
+ '-g',
+]
+
+# host_breakpad_linux_common_s needs to come first
+HOST_USE_LIBS += [
+ 'host_breakpad_linux_common_s',
+]
+HOST_USE_LIBS += [
+ 'host_breakpad_common_s',
+ 'host_breakpad_dwarf_s',
+]
+
+# The HostProgram template may append 'host_stdc++compat' to
+# HOST_USE_LIBS, which needs to appear after the entries above.
+HostProgram('dump_syms')
+
+LOCAL_INCLUDES += [
+ '../../../common/linux',
+]
+
+include('/toolkit/crashreporter/crashreporter.mozbuild')