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/.
13 'mozalloc_macro_wrappers.h',
15 'mozalloc_undef_macro_wrappers.h',
18 if CONFIG['MOZ_MSVC_STL_WRAP__RAISE'] or CONFIG['MOZ_MSVC_STL_WRAP__Throw']:
19 build_msvc_wrappers = 1
21 build_msvc_wrappers = 0
23 if CONFIG['WRAP_STL_INCLUDES']:
25 EXPORTS.mozilla += ['throw_gcc.h']
26 elif CONFIG['_MSC_VER']:
27 if build_msvc_wrappers:
29 'msvc_raise_wrappers.h',
30 'msvc_throw_wrapper.h',
34 'msvc_raise_wrappers.cpp',
35 'msvc_throw_wrapper.cpp',
44 LIBRARY_NAME = 'mozalloc'
46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
47 FORCE_STATIC_LIB = True