|
1 # -*- Mode: python; c-basic-offset: 4; 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/. |
|
6 |
|
7 UNIFIED_SOURCES += [ |
|
8 'arch_utilities.cc', |
|
9 'bootstrap_compat.cc', |
|
10 'file_id.cc', |
|
11 'macho_id.cc', |
|
12 'macho_reader.cc', |
|
13 'macho_utilities.cc', |
|
14 'macho_walker.cc', |
|
15 'string_utilities.cc', |
|
16 ] |
|
17 |
|
18 # This is a little weird, but we're building a host and a target lib here. |
|
19 # The host lib is used for dump_syms, and the target lib for the |
|
20 # crash reporter client. Therefore, we don't need all the srcs in both. |
|
21 if CONFIG['MOZ_CRASHREPORTER']: |
|
22 HOST_SOURCES += UNIFIED_SOURCES |
|
23 HOST_SOURCES += [ |
|
24 'dump_syms.mm', |
|
25 ] |
|
26 HOST_LIBRARY_NAME = 'host_breakpad_mac_common_s' |
|
27 |
|
28 SOURCES += [ |
|
29 'HTTPMultipartUpload.m', |
|
30 'MachIPC.mm', |
|
31 ] |
|
32 |
|
33 LIBRARY_NAME = 'breakpad_mac_common_s' |
|
34 |
|
35 FINAL_LIBRARY = 'xulapp_s' |
|
36 |
|
37 LOCAL_INCLUDES += [ |
|
38 '../..', |
|
39 ] |
|
40 |
|
41 CMFLAGS += ['-std=c99'] |