other-licenses/bsdiff/moz.build
author Bobby Holley <bobbyholley@gmail.com>
Tue, 17 Mar 2015 14:02:33 -0700
changeset 235699 5d9b7601850c58630a65cb091f09afa938f70a53
parent 203440 01a0e2c9c595e983605cb0aa5c12c9eceeb8ae7f
child 261555 3492202f465e1572cdbc4cf930b31f10e7735ab2
permissions -rw-r--r--
Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow This allows for parallel MDSM execution. \o/

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

HOST_SOURCES += [
    'bsdiff.c',
]

HostProgram('mbsdiff')

if CONFIG['MOZ_NATIVE_BZ2']:
    HOST_OS_LIBS += CONFIG['MOZ_BZ2_LIBS']
else:
    HOST_USE_LIBS += [
        'hostbz2',
    ]

if CONFIG['HOST_OS_ARCH'] == 'WINNT':
    HOST_OS_LIBS += [
        'ws2_32',
    ]

LOCAL_INCLUDES += [
    '/toolkit/mozapps/update/updater',
]