tdesktop/Telegram/gyp/lib_lz4.gyp

47 lines
1.1 KiB
Plaintext
Raw Normal View History

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-16 14:52:19 +00:00
'common/common.gypi',
2019-06-27 09:57:48 +00:00
],
'targets': [{
'target_name': 'lib_lz4',
'includes': [
2019-09-16 14:52:19 +00:00
'common/library.gypi',
2019-06-27 09:57:48 +00:00
],
'variables': {
'official_build_target%': '',
'submodules_loc': '../ThirdParty',
'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',
],
}]],
}],
}