1# vim: set filetype=python: 2# This Source Code Form is subject to the terms of the Mozilla Public 3# License, v. 2.0. If a copy of the MPL was not distributed with this 4# file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6SOURCES += [ 7 "!../build/msgMapi_i.c", 8 "msgMapiFactory.cpp", 9 "msgMapiHook.cpp", 10 "msgMapiImp.cpp", 11 "msgMapiMain.cpp", 12 "msgMapiSupport.cpp", 13 "Registry.cpp", 14] 15 16LOCAL_INCLUDES += ["/comm/mailnews/mapi/include"] 17 18FINAL_LIBRARY = "xul" 19 20OS_LIBS += [ 21 "ole32", 22] 23 24DEFINES["UNICODE"] = True 25DEFINES["_UNICODE"] = True 26 27# clang-cl rightly complains about switch on nsresult. 28if CONFIG["CC_TYPE"] == "clang-cl": 29 CXXFLAGS += ["-Wno-switch"] 30