toolkit/crashreporter/moz.build
author Jacek Szpot <maligree@gmail.com>
Thu, 04 Apr 2013 12:14:32 +0200
changeset 127897 a85d21e394c0b3114e4ae34eac63ac5bea2f0f7c
parent 126871 5f4f68f0041964124afe3ee7012de446c946c2df
child 128151 5133c67c0473f8af5512c0230cd3ce5028f9b38d
permissions -rw-r--r--
Bug 854503 - Rename JS unwrapping functions. r=bholley

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

if CONFIG['OS_ARCH'] == 'WINNT':
    DIRS += [
    'google-breakpad/src/common',
    'google-breakpad/src/processor',
    'breakpad-windows-libxul'
    ]

    if CONFIG['MOZ_CRASHREPORTER_INJECTOR']:
        DIRS += ['breakpad-windows-standalone']

elif CONFIG['OS_ARCH'] == 'Darwin':
    DIRS += [
        'google-breakpad/src/common',
        'google-breakpad/src/common/mac',
        'google-breakpad/src/client',
        'google-breakpad/src/client/mac/crash_generation',
        'google-breakpad/src/client/mac/handler',
        'google-breakpad/src/processor',
        'google-breakpad/src/tools/mac/dump_syms',
    ]

elif CONFIG['OS_ARCH'] == 'Linux':
    DIRS += [
        'google-breakpad/src/common',
        'google-breakpad/src/common/linux',
        'google-breakpad/src/client',
        'google-breakpad/src/client/linux/crash_generation',
        'google-breakpad/src/client/linux/handler',
        'google-breakpad/src/client/linux/minidump_writer',
        'google-breakpad/src/processor',
        'google-breakpad/src/tools/linux/dump_syms',
    ]

elif CONFIG['OS_ARCH'] == 'SunOS':
    DIRS += [
        'google-breakpad/src/common',
        'google-breakpad/src/common/solaris',
        'google-breakpad/src/client',
        'google-breakpad/src/client/solaris/handler',
        'google-breakpad/src/tools/solaris/dump_syms',
    ]

if CONFIG['OS_TARGET'] == 'Android':
    DIRS += ['fileid']

DIRS += ['client']

if CONFIG['MOZ_CRASHREPORTER_INJECTOR']:
    DIRS += ['injector']

TEST_TOOL_DIRS += ['test']

MODULE = 'crashreporter'