mailnews/mapi/mapihook/src/moz.build
author aceman <acelists@atlas.sk>
Wed, 08 Aug 2018 07:38:17 +0200
changeset 32803 16dc2cb0e5356bb9347bbb638dbb929dbfe8ece0
parent 32778 16a4b760e352c04120cb741dd203051451f00c78
child 32837 9af08bb2fd9652e49ad36edf1aeb92f9e4660eec
permissions -rw-r--r--
Bug 1481417 - Part 5: Fix warnings and remove AllowCompilerWarnings() or replace it with something more specific in mailnews/mapi. r=jorgk

# 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/.

SOURCES += [
    '!../build/msgMapi_i.c',
    'msgMapiFactory.cpp',
    'msgMapiHook.cpp',
    'msgMapiImp.cpp',
    'msgMapiMain.cpp',
    'msgMapiSupport.cpp',
    'Registry.cpp',
]

FINAL_LIBRARY = 'xul'

OS_LIBS += [
    'ole32',
]

DEFINES['UNICODE'] = True
DEFINES['_UNICODE'] = True

# clang-cl rightly complains about switch on nsresult.
if CONFIG['CC_TYPE'] == 'clang-cl':
    CXXFLAGS += ['-Wno-error=switch']