2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -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-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'WrapperFactory.h',
|
|
|
|
]
|
|
|
|
|
2013-11-20 08:35:34 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'AccessCheck.cpp',
|
2014-07-14 22:10:05 -07:00
|
|
|
'AddonWrapper.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'ChromeObjectWrapper.cpp',
|
|
|
|
'FilteringWrapper.cpp',
|
|
|
|
'WaiveXrayWrapper.cpp',
|
|
|
|
'WrapperFactory.cpp',
|
2013-11-20 08:35:34 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
# XrayWrapper needs to be built separately becaue of template instantiations.
|
|
|
|
SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'XrayWrapper.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
# warning C4661 for FilteringWrapper
|
2014-05-31 19:50:24 -07:00
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-wd4661', # no suitable definition provided for explicit template instantiation request
|
|
|
|
]
|
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
2013-08-21 23:56:00 -07:00
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-12-31 01:06:11 -08:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../../../dom/base',
|
|
|
|
'../src',
|
|
|
|
]
|
|
|
|
|