toolkit/crashreporter/google-breakpad/src/common/mac/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/mac/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     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 +    'arch_utilities.cc',
    1.12 +    'bootstrap_compat.cc',
    1.13 +    'file_id.cc',
    1.14 +    'macho_id.cc',
    1.15 +    'macho_reader.cc',
    1.16 +    'macho_utilities.cc',
    1.17 +    'macho_walker.cc',
    1.18 +    'string_utilities.cc',
    1.19 +]
    1.20 +
    1.21 +# This is a little weird, but we're building a host and a target lib here.
    1.22 +# The host lib is used for dump_syms, and the target lib for the
    1.23 +# crash reporter client.  Therefore, we don't need all the srcs in both.
    1.24 +if CONFIG['MOZ_CRASHREPORTER']:
    1.25 +    HOST_SOURCES += UNIFIED_SOURCES
    1.26 +    HOST_SOURCES += [
    1.27 +        'dump_syms.mm',
    1.28 +    ]
    1.29 +    HOST_LIBRARY_NAME = 'host_breakpad_mac_common_s'
    1.30 +
    1.31 +SOURCES += [
    1.32 +    'HTTPMultipartUpload.m',
    1.33 +    'MachIPC.mm',
    1.34 +]
    1.35 +
    1.36 +LIBRARY_NAME = 'breakpad_mac_common_s'
    1.37 +
    1.38 +FINAL_LIBRARY = 'xulapp_s'
    1.39 +
    1.40 +LOCAL_INCLUDES += [
    1.41 +    '../..',
    1.42 +]
    1.43 +
    1.44 +CMFLAGS += ['-std=c99']

mercurial