2019-06-27 09:57:48 +00:00
|
|
|
# This file is part of Telegram Desktop,
|
|
|
|
# the official desktop application for the Telegram messaging service.
|
|
|
|
#
|
|
|
|
# For license and copyright information please follow this link:
|
|
|
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
|
|
|
|
{
|
|
|
|
'includes': [
|
2019-09-17 13:11:23 +00:00
|
|
|
'../ThirdParty/gyp_helpers/common/common.gypi',
|
2019-06-27 09:57:48 +00:00
|
|
|
],
|
|
|
|
'targets': [{
|
|
|
|
'target_name': 'lib_lz4',
|
|
|
|
'includes': [
|
2019-09-17 13:11:23 +00:00
|
|
|
'../ThirdParty/gyp_helpers/common/library.gypi',
|
2019-06-27 09:57:48 +00:00
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'official_build_target%': '',
|
|
|
|
'lz4_loc': '<(submodules_loc)/lz4/lib',
|
|
|
|
},
|
|
|
|
'defines': [
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'<(lz4_loc)',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(lz4_loc)/lz4.c',
|
|
|
|
'<(lz4_loc)/lz4.h',
|
|
|
|
'<(lz4_loc)/lz4frame.c',
|
|
|
|
'<(lz4_loc)/lz4frame.h',
|
|
|
|
'<(lz4_loc)/lz4frame_static.h',
|
|
|
|
'<(lz4_loc)/lz4hc.c',
|
|
|
|
'<(lz4_loc)/lz4hc.h',
|
|
|
|
'<(lz4_loc)/xxhash.c',
|
|
|
|
'<(lz4_loc)/xxhash.h',
|
|
|
|
],
|
|
|
|
'conditions': [[ 'build_macold', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
|
|
|
|
},
|
|
|
|
'include_dirs': [
|
|
|
|
'/usr/local/macold/include/c++/v1',
|
|
|
|
],
|
|
|
|
}]],
|
|
|
|
}],
|
|
|
|
}
|