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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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     '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 ]
    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'
    28 SOURCES += [
    29     'HTTPMultipartUpload.m',
    30     'MachIPC.mm',
    31 ]
    33 LIBRARY_NAME = 'breakpad_mac_common_s'
    35 FINAL_LIBRARY = 'xulapp_s'
    37 LOCAL_INCLUDES += [
    38     '../..',
    39 ]
    41 CMFLAGS += ['-std=c99']

mercurial