mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
ef3ad686ee
Consequently, this removes: - MOZ_LIBPRIO, which is now always enabled. - non_msvc_compiler, which is now always true. - The cl.py wrapper, since it's not used anymore. - CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper. - NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still worked in non-ASCII cases. This however keeps a large part of detecting and configuring for MSVC, because we still do need it for at least headers, libraries, and midl. Depends on D19614 Differential Revision: https://phabricator.services.mozilla.com/D19615 --HG-- extra : moz-landing-system : lando
42 lines
1.0 KiB
Python
42 lines
1.0 KiB
Python
# -*- Mode: python; 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/.
|
|
|
|
EXPORTS += [
|
|
'WrapperFactory.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'AccessCheck.cpp',
|
|
'ChromeObjectWrapper.cpp',
|
|
'FilteringWrapper.cpp',
|
|
'WaiveXrayWrapper.cpp',
|
|
'WrapperFactory.cpp',
|
|
]
|
|
|
|
# XrayWrapper needs to be built separately becaue of template instantiations.
|
|
SOURCES += [
|
|
'XrayWrapper.cpp',
|
|
]
|
|
|
|
# warning C4661 for FilteringWrapper
|
|
if CONFIG['CC_TYPE'] == 'clang-cl':
|
|
CXXFLAGS += [
|
|
'-wd4661', # no suitable definition provided for explicit template instantiation request
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
LOCAL_INCLUDES += [
|
|
'../../../dom/base',
|
|
'../src',
|
|
'/caps',
|
|
]
|
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
|
CXXFLAGS += ['-Wno-shadow']
|