# 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/. with Files("**"): BUG_COMPONENT = ("Mailnews Core", "General") DIRS += [ "addrbook", "base", "compose", "db/gloda", "db/mork", "db/msgdb", "export/modules", "extensions", "imap/public", "imap/src", "import/modules", "import/public", "import/src", "intl", "jsaccount", "local/public", "local/src", "mime", "news", "protocols", "search/public", "search/src", ] if CONFIG["MOZ_PANORAMA"]: DIRS += ["db/panorama"] TEST_DIRS += [ "imap/test", "import/test", "local/test", "search/test", ] if CONFIG["MOZ_MAPI_SUPPORT"]: DIRS += [ "mapi/mapiDll", "mapi/mapihook", ] TEST_DIRS += ["mapi/test"] DEFINES["OS_ARCH"] = CONFIG["OS_ARCH"] DEFINES["MOZ_WIDGET_TOOLKIT"] = CONFIG["MOZ_WIDGET_TOOLKIT"] JAR_MANIFESTS += ["jar.mn"] TESTING_JS_MODULES.mailnews += [ "test/fakeserver/Auth.sys.mjs", "test/fakeserver/Binaryd.sys.mjs", "test/fakeserver/EwsServer.sys.mjs", "test/fakeserver/Imapd.sys.mjs", "test/fakeserver/IMAPServer.sys.mjs", "test/fakeserver/Ldapd.sys.mjs", "test/fakeserver/Maild.sys.mjs", "test/fakeserver/Nntpd.sys.mjs", "test/fakeserver/NNTPServer.sys.mjs", "test/fakeserver/Pop3d.sys.mjs", "test/fakeserver/POP3Server.sys.mjs", "test/fakeserver/Smtpd.sys.mjs", "test/fakeserver/SMTPServer.sys.mjs", "test/resources/HttpsProxy.sys.mjs", "test/resources/IMAPpump.sys.mjs", "test/resources/LocalAccountUtils.sys.mjs", "test/resources/MailTestUtils.sys.mjs", "test/resources/MessageGenerator.sys.mjs", "test/resources/MessageInjection.sys.mjs", "test/resources/MockAlertsService.sys.mjs", "test/resources/MockExternalProtocolService.sys.mjs", "test/resources/NetworkTestUtils.sys.mjs", "test/resources/OAuth2TestUtils.sys.mjs", "test/resources/ProfileCreator.sys.mjs", "test/resources/PromiseTestUtils.sys.mjs", "test/resources/ServerTestUtils.sys.mjs", "test/resources/SmimeUtils.sys.mjs", ] TESTING_JS_MODULES.mailnews.certs += [ "test/certs/autodiscover.exchange.test.cert", "test/certs/autodiscover.exchange.test.key", "test/certs/dav.cert", "test/certs/dav.key", "test/certs/expired.cert", "test/certs/expired.key", "test/certs/notyetvalid.cert", "test/certs/notyetvalid.key", "test/certs/oauth.cert", "test/certs/oauth.key", "test/certs/selfsigned.cert", "test/certs/valid.cert", "test/certs/valid.key", ] if "comm" in CONFIG["MOZ_BUILD_APP"]: test_harness_base = TEST_HARNESS_FILES.xpcshell.comm else: test_harness_base = TEST_HARNESS_FILES.xpcshell test_harness_base.mailnews.data += [ "/comm/mailnews/test/data/**", ] test_harness_base.mailnews.resources += [ "/comm/mailnews/test/resources/**", ] JS_PREFERENCE_PP_FILES += [ "mailnews.js", ] Library("mail") FINAL_LIBRARY = "xul"