2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04:00
|
|
|
# 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/.
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
HOST_SOURCES += [
|
2013-06-11 19:31:11 +04:00
|
|
|
'bsdiff.c',
|
|
|
|
]
|
2013-11-02 03:44:11 +04:00
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
HostProgram('mbsdiff')
|
2014-02-16 00:24:59 +04:00
|
|
|
|
2016-02-01 18:49:34 +03:00
|
|
|
if CONFIG['MOZ_SYSTEM_BZ2']:
|
2014-08-06 02:26:05 +04:00
|
|
|
HOST_OS_LIBS += CONFIG['MOZ_BZ2_LIBS']
|
|
|
|
else:
|
2014-07-24 04:36:32 +04:00
|
|
|
HOST_USE_LIBS += [
|
|
|
|
'hostbz2',
|
|
|
|
]
|
2014-07-23 08:29:50 +04:00
|
|
|
|
2014-08-06 02:26:05 +04:00
|
|
|
if CONFIG['HOST_OS_ARCH'] == 'WINNT':
|
|
|
|
HOST_OS_LIBS += [
|
|
|
|
'ws2_32',
|
|
|
|
]
|
2016-08-22 07:59:33 +03:00
|
|
|
USE_STATIC_LIBS = True
|
2014-08-06 02:26:05 +04:00
|
|
|
|
2014-02-16 00:24:59 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/toolkit/mozapps/update/updater',
|
|
|
|
]
|
|
|
|
|
2015-09-08 18:35:43 +03:00
|
|
|
HOST_CXXFLAGS += CONFIG['MOZ_BZ2_CFLAGS']
|