mail/components/build/moz.build
author Philip Chee <philip.chee@gmail.com>
Wed, 11 Mar 2015 10:12:52 -0700
changeset 19804 e9c72b633b898499db5d4300049f25908fac4ed4
parent 18772 54d373ca636e0decc241fb7e2beeaec25584ef3d
child 23882 7364d427246cc5712b0befd47ffff6e5eefc5372
permissions -rw-r--r--
Bug 1141548 - Port Bug 868814 - Fold mozalloc into mozglue, r=jcranmer, a=ratty for a CLOSED TREE

# 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']