46 lines
1.1 KiB
Python
46 lines
1.1 KiB
Python
# 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': [
|
|
'../ThirdParty/gyp_helpers/common/common.gypi',
|
|
],
|
|
'targets': [{
|
|
'target_name': 'lib_lz4',
|
|
'includes': [
|
|
'../ThirdParty/gyp_helpers/common/library.gypi',
|
|
],
|
|
'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',
|
|
],
|
|
}]],
|
|
}],
|
|
}
|