other-licenses/bsdiff/moz.build
author Tom Prince <mozilla@hocat.ca>
Mon, 10 Jul 2017 15:25:04 -0600
changeset 368593 fe939858ead44fa3c02fd9594923586728e77f70
parent 310647 c01a9c030fd094e73d45bf88639fc320127b9a3e
child 396100 fd4af65bf966c9193e4c82748d98aee93dc43582
permissions -rw-r--r--
Bug 1379785 - Stop calling abspath on symbol_archive paths. r=gps Thunderbird is still using MOZ_PKG_PRETTYNAMES which has spaces in the package name, which gets mangled by abspath. MozReview-Commit-ID: 23ngx6gIESI

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