mail/components/build/moz.build
author tbirdbld
Wed, 02 Nov 2016 03:02:59 -0700
changeset 23009 8b2cd9752fecc73fe669ae3ae0c16a0471e19cb3
parent 19804 e9c72b633b898499db5d4300049f25908fac4ed4
child 23882 7364d427246cc5712b0befd47ffff6e5eefc5372
permissions -rw-r--r--
No bug, Automated blocklist update from host bld-linux64-spot-584 - a=blocklist-update

# 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 += [
    'nsMailComps.cpp',
]

# NOTE: if we switch away from LIBXUL_LIBRARY at any stage
# we need to clear the EMBED_MANIFEST_AT flag. (See Bug 714495)
if CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
    XPCOMBinaryComponent('mailcomps')
    USE_LIBS += [
        'nspr',
        'unicharutil_external_s',
        'xpcomglue_s',
        'xul',
    ]
    OS_LIBS += CONFIG['GLIB_LIBS']
else:
    Library('mailcomps')
    FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '../migration/src',
    '../shell',
]

if CONFIG['OS_ARCH'] == 'WINNT':
    OS_LIBS += [
        'ole32',
        'shell32',
    ]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    LOCAL_INCLUDES += ['../search']