summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/google-breakpad/src/tools/windows/dump_syms/moz.build
blob: 2a286da53488b38e3e9ab5d49c5ce31baae7c7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- 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/.

HostProgram('dump_syms')

HOST_SOURCES += [
    '../../../common/windows/dia_util.cc',
    '../../../common/windows/guid_string.cc',
    '../../../common/windows/omap.cc',
    '../../../common/windows/pdb_source_line_writer.cc',
    '../../../common/windows/string_utils.cc',
    'dump_syms.cc',
]

HOST_CXXFLAGS += [
    '-O2',
    '-EHsc',
    '-MD'
]

HOST_OS_LIBS += [
    'diaguids',
    'imagehlp'
]

LOCAL_INCLUDES += [
    '../../..'
]