Bug 1418425 - Update bsdiff to use the crc table directly and not link against bz2 r=rstrong

MozReview-Commit-ID: 2GLmnzF9CMh

--HG--
extra : rebase_source : 8f79d6508712838e4d147c101d31830fe8cb715b
This commit is contained in:
Sylvestre Ledru 2018-01-12 16:13:45 +01:00
parent b25470aa9e
commit e335ad7577
2 changed files with 2 additions and 9 deletions

View File

@ -32,6 +32,8 @@
#define _O_BINARY 0
#endif
#include "crctable.h"
#undef MIN
#define MIN(x,y) (((x)<(y)) ? (x) : (y))

View File

@ -10,13 +10,6 @@ HOST_SOURCES += [
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',
@ -26,5 +19,3 @@ if CONFIG['HOST_OS_ARCH'] == 'WINNT':
LOCAL_INCLUDES += [
'/toolkit/mozapps/update/updater',
]
HOST_CXXFLAGS += CONFIG['MOZ_BZ2_CFLAGS']