mailnews/mime/src/moz.build
author Jorg K <jorgk@jorgk.com>
Tue, 04 Dec 2018 18:38:23 +0100
changeset 31966 e4d520b5dc17e8a0e3ba4d760556b1ba4aad4842
parent 31521 5f006e51c11d21b00a35cf67ef88ba99207fa68a
permissions -rw-r--r--
Backed out changeset a6e340fe4c07 and 7fe1827e6b39 (bug 1482040) for causing address book and auto-complete slowness (bug 1511885). a=backout Backed out changeset a6e340fe4c07 (bug 1482040) Backed out changeset 7fe1827e6b39 (bug 1482040)

# 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 += [
    'mimecont.h',
    'mimecryp.h',
    'mimecth.h',
    'mimehdrs.h',
    'mimei.h',
    'mimeleaf.h',
    'mimemoz2.h',
    'mimemsig.h',
    'mimemult.h',
    'mimeobj.h',
    'mimepbuf.h',
    'mimetext.h',
    'modlmime.h',
    'modmimee.h',
    'nsMimeStringResources.h',
    'nsStreamConverter.h',
]

SOURCES += [
    'comi18n.cpp',
    'mimebuf.cpp',
    'mimecms.cpp',
    'mimecom.cpp',
    'mimecont.cpp',
    'mimecryp.cpp',
    'mimecth.cpp',
    'mimedrft.cpp',
    'mimeebod.cpp',
    'mimeenc.cpp',
    'mimeeobj.cpp',
    'mimehdrs.cpp',
    'MimeHeaderParser.cpp',
    'mimei.cpp',
    'mimeiimg.cpp',
    'mimeleaf.cpp',
    'mimemalt.cpp',
    'mimemapl.cpp',
    'mimemcms.cpp',
    'mimemdig.cpp',
    'mimemmix.cpp',
    'mimemoz2.cpp',
    'mimempar.cpp',
    'mimemrel.cpp',
    'mimemsg.cpp',
    'mimemsig.cpp',
    'mimemult.cpp',
    'mimeobj.cpp',
    'mimepbuf.cpp',
    'mimesun.cpp',
    'mimetenr.cpp',
    'mimetext.cpp',
    'mimeTextHTMLParsed.cpp',
    'mimethpl.cpp',
    'mimethsa.cpp',
    'mimethtm.cpp',
    'mimetpfl.cpp',
    'mimetpla.cpp',
    'mimetric.cpp',
    'mimeunty.cpp',
    'nsCMS.cpp',
    'nsCMSSecureMessage.cpp',
    'nsMimeObjectClassAccess.cpp',
    'nsSimpleMimeConverterStub.cpp',
    'nsStreamConverter.cpp',
]

LOCAL_INCLUDES += [
     '/%s/security/certverifier' % CONFIG['mozreltopsrcdir'],
     '/%s/security/manager/ssl' % CONFIG['mozreltopsrcdir'],
     '/%s/security/pkix/include' % CONFIG['mozreltopsrcdir'],
]

EXTRA_COMPONENTS += [
    'mimeJSComponents.js',
    'msgMime.manifest',
]

EXTRA_JS_MODULES += [
    'extraMimeParsers.jsm',
    'jsmime.jsm',
    'mimeParser.jsm'
]

FINAL_LIBRARY = 'mail'

DEFINES['ENABLE_SMIME'] = True