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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/google-breakpad/src/common/linux/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,49 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +UNIFIED_SOURCES += [
    1.11 +    'elfutils.cc',
    1.12 +    'guid_creator.cc',
    1.13 +    'linux_libc_support.cc',
    1.14 +    'memory_mapped_file.cc',
    1.15 +    'safe_readlink.cc',
    1.16 +]
    1.17 +
    1.18 +# file_id.cc cannot be built in unified mode because it uses a custom DISABLE_STL_WRAPPING
    1.19 +SOURCES += [
    1.20 +    'file_id.cc',
    1.21 +]
    1.22 +
    1.23 +if CONFIG['OS_TARGET'] != 'Android':
    1.24 +    UNIFIED_SOURCES += [
    1.25 +        'http_upload.cc',
    1.26 +    ]
    1.27 +
    1.28 +if CONFIG['MOZ_CRASHREPORTER']:
    1.29 +    HOST_LIBRARY_NAME = 'host_breakpad_linux_common_s'
    1.30 +    HOST_SOURCES += [
    1.31 +        'dump_symbols.cc',
    1.32 +        'elf_symbols_to_module.cc',
    1.33 +        'elfutils.cc',
    1.34 +        'file_id.cc',
    1.35 +        'guid_creator.cc',
    1.36 +        'linux_libc_support.cc',
    1.37 +        'memory_mapped_file.cc',
    1.38 +    ]
    1.39 +
    1.40 +LIBRARY_NAME = 'breakpad_linux_common_s'
    1.41 +
    1.42 +FINAL_LIBRARY = 'xulapp_s'
    1.43 +
    1.44 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    1.45 +    DEFINES['ELFSIZE'] = 32
    1.46 +
    1.47 +DEFINES['NO_STABS_SUPPORT'] = True
    1.48 +
    1.49 +LOCAL_INCLUDES += [
    1.50 +    '/toolkit/crashreporter/google-breakpad/src',
    1.51 +]
    1.52 +

mercurial