toolkit/crashreporter/google-breakpad/src/common/linux/moz.build

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:f6eaec7d21b5
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 'elfutils.cc',
9 'guid_creator.cc',
10 'linux_libc_support.cc',
11 'memory_mapped_file.cc',
12 'safe_readlink.cc',
13 ]
14
15 # file_id.cc cannot be built in unified mode because it uses a custom DISABLE_STL_WRAPPING
16 SOURCES += [
17 'file_id.cc',
18 ]
19
20 if CONFIG['OS_TARGET'] != 'Android':
21 UNIFIED_SOURCES += [
22 'http_upload.cc',
23 ]
24
25 if CONFIG['MOZ_CRASHREPORTER']:
26 HOST_LIBRARY_NAME = 'host_breakpad_linux_common_s'
27 HOST_SOURCES += [
28 'dump_symbols.cc',
29 'elf_symbols_to_module.cc',
30 'elfutils.cc',
31 'file_id.cc',
32 'guid_creator.cc',
33 'linux_libc_support.cc',
34 'memory_mapped_file.cc',
35 ]
36
37 LIBRARY_NAME = 'breakpad_linux_common_s'
38
39 FINAL_LIBRARY = 'xulapp_s'
40
41 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
42 DEFINES['ELFSIZE'] = 32
43
44 DEFINES['NO_STABS_SUPPORT'] = True
45
46 LOCAL_INCLUDES += [
47 '/toolkit/crashreporter/google-breakpad/src',
48 ]
49

mercurial