2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-05-01 11:05:40 -07:00
|
|
|
if CONFIG['OS_TARGET'] != 'Android':
|
|
|
|
PROGRAM = 'crashreporter'
|
2013-04-29 11:49:00 -07:00
|
|
|
# The xpcshell test case here verifies that the CA certificate list
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-12-13 06:55:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'crashreporter.cpp',
|
|
|
|
]
|
|
|
|
|
2014-02-15 12:25:20 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../google-breakpad/src',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-12-13 06:55:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'crashreporter_win.cpp',
|
|
|
|
]
|
2013-11-27 05:55:07 -08:00
|
|
|
DEFINES['UNICODE'] = True
|
|
|
|
DEFINES['_UNICODE'] = True
|
2013-04-23 14:54:15 -07:00
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
2013-12-13 06:55:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2014-02-15 12:25:20 -08:00
|
|
|
'crashreporter_osx.mm',
|
2013-04-23 14:54:15 -07:00
|
|
|
'crashreporter_unix_common.cpp',
|
|
|
|
]
|
2014-02-15 12:25:20 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../google-breakpad/src/common/mac',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
elif CONFIG['OS_ARCH'] == 'SunOS':
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'crashreporter_linux.cpp',
|
|
|
|
'crashreporter_unix.cpp',
|
|
|
|
]
|
|
|
|
|
2013-06-10 05:36:26 -07:00
|
|
|
if CONFIG['MOZ_ENABLE_GTK']:
|
2013-12-13 06:55:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'crashreporter_gtk_common.cpp',
|
2013-10-23 16:00:23 -07:00
|
|
|
'crashreporter_linux.cpp',
|
|
|
|
'crashreporter_unix_common.cpp'
|
2013-06-07 08:43:39 -07:00
|
|
|
]
|
2014-02-15 12:24:59 -08:00
|
|
|
|