Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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/.
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 ]
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 ]
20 if CONFIG['OS_TARGET'] != 'Android':
21 UNIFIED_SOURCES += [
22 'http_upload.cc',
23 ]
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 ]
37 LIBRARY_NAME = 'breakpad_linux_common_s'
39 FINAL_LIBRARY = 'xulapp_s'
41 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
42 DEFINES['ELFSIZE'] = 32
44 DEFINES['NO_STABS_SUPPORT'] = True
46 LOCAL_INCLUDES += [
47 '/toolkit/crashreporter/google-breakpad/src',
48 ]