mail/components/search/moz.build
author Arlo Breault <arlolra@gmail.com>
Wed, 27 Aug 2014 23:28:11 -0700
changeset 25848 e2c85d70fda266eb3db5e2dc2e2fc95b7f12fcd1
parent 20460 0792a3bf3a2677667be466419ca1c81423bc1820
child 59469 59c52c4bf10a575c0f2ae0ab230b476f339be1a0
permissions -rw-r--r--
Bug 983347 - Need different paths for displaying to the screen and sending over the wire. Correct version. r=florian,clokep a=jcranmer

# 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/.

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    DIRS += ['mdimporter']
    EXTRA_PP_JS_MODULES += ['SpotlightIntegration.js']
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    DIRS += ['wsenable']
    SOURCES += ['nsMailWinSearchHelper.cpp']
    EXTRA_PP_JS_MODULES += ['WinSearchIntegration.js']
    FINAL_LIBRARY = 'mailcomps'

DIRS += ['public']

EXTRA_PP_JS_MODULES += [
    'SearchIntegration.js',
]

JAR_MANIFESTS += ['jar.mn']