2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04: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/.
|
|
|
|
|
2015-01-16 08:17:18 +03:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'DMD.h',
|
|
|
|
]
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-10-05 15:28:25 +04:00
|
|
|
'../../../mfbt/HashFunctions.cpp',
|
2014-09-30 06:08:45 +04:00
|
|
|
'../../../mfbt/JSONWriter.cpp',
|
2015-06-10 23:32:45 +03:00
|
|
|
'../../../mozglue/misc/StackWalk.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'DMD.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-10-05 15:28:25 +04:00
|
|
|
'../../../nsprpub/lib/libc/src/strcpy.c',
|
2013-06-04 19:08:44 +04:00
|
|
|
]
|
2013-08-15 17:02:09 +04:00
|
|
|
|
2014-09-04 04:04:45 +04:00
|
|
|
SharedLibrary('dmd')
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
DEFINES['MOZ_NO_MOZALLOC'] = True
|
2015-01-16 08:17:18 +03:00
|
|
|
DEFINES['IMPL_MFBT'] = True
|
|
|
|
DEFINES['XPCOM_GLUE'] = True
|
2013-12-16 01:50:39 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_OPTIMIZE']:
|
|
|
|
DEFINES['MOZ_OPTIMIZE'] = True
|
2014-03-05 04:39:06 +04:00
|
|
|
|
|
|
|
DISABLE_STL_WRAPPING = True
|
2014-08-06 02:25:33 +04:00
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
OS_LIBS += [
|
|
|
|
'dbghelp',
|
|
|
|
]
|
2014-09-29 07:50:52 +04:00
|
|
|
|
2014-10-10 06:28:33 +04:00
|
|
|
TEST_DIRS += ['test']
|
2014-09-29 07:50:52 +04:00
|
|
|
|