other-licenses/bsdiff/moz.build
author Andreea Pavel <apavel@mozilla.com>
Tue, 12 Dec 2017 17:48:45 +0200
changeset 450364 c17fd6ccda7eec43bad45ec1f4fbb7ad7f1ee05f
parent 450360 fd4af65bf966c9193e4c82748d98aee93dc43582
child 453263 29fd023f999f94365889414c9e968a0f7538b151
permissions -rw-r--r--
Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE Backed out changeset 228743018ded (bug 1418425) Backed out changeset f29f7bb3059a (bug 1418425) Backed out changeset 1d798e14223b (bug 1418425) Backed out changeset fd4af65bf966 (bug 1418425) Backed out changeset 656649ecfb11 (bug 1418425)

# -*- Mode: python; 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_SYSTEM_BZ2']:
    HOST_OS_LIBS += CONFIG['MOZ_BZ2_LIBS']
else:
    HOST_USE_LIBS += [
        'hostbz2',
    ]

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

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

HOST_CXXFLAGS += CONFIG['MOZ_BZ2_CFLAGS']