tdesktop/Telegram/gyp/lib_lottie.gyp

83 lines
2.4 KiB
Plaintext
Raw Normal View History

2019-04-27 09:12:53 +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': [
'common.gypi',
],
'targets': [{
'target_name': 'lib_lottie',
'type': 'static_library',
'includes': [
'common.gypi',
'openssl.gypi',
'qt.gypi',
'telegram_linux.gypi',
],
'variables': {
'src_loc': '../SourceFiles',
'res_loc': '../Resources',
'libs_loc': '../../../Libraries',
'official_build_target%': '',
'submodules_loc': '../ThirdParty',
2019-06-25 14:04:51 +00:00
'rlottie_loc': '<(submodules_loc)/rlottie/inc',
2019-06-27 09:57:48 +00:00
'lz4_loc': '<(submodules_loc)/lz4/lib',
2019-04-27 09:12:53 +00:00
},
'dependencies': [
'crl.gyp:crl',
'lib_base.gyp:lib_base',
2019-06-25 14:04:51 +00:00
'lib_rlottie.gyp:lib_rlottie',
2019-06-26 15:04:38 +00:00
'lib_ffmpeg.gyp:lib_ffmpeg',
2019-06-27 09:57:48 +00:00
'lib_lz4.gyp:lib_lz4',
2019-04-27 09:12:53 +00:00
],
'export_dependent_settings': [
'crl.gyp:crl',
'lib_base.gyp:lib_base',
2019-06-25 14:04:51 +00:00
'lib_rlottie.gyp:lib_rlottie',
2019-06-26 15:04:38 +00:00
'lib_ffmpeg.gyp:lib_ffmpeg',
2019-06-27 09:57:48 +00:00
'lib_lz4.gyp:lib_lz4',
2019-04-27 09:12:53 +00:00
],
'defines': [
2019-06-25 14:04:51 +00:00
'LOT_BUILD',
2019-04-27 09:12:53 +00:00
],
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
'<(libs_loc)/range-v3/include',
'<(libs_loc)/zlib',
2019-06-26 15:04:38 +00:00
'<(libs_loc)/ffmpeg',
2019-06-25 14:04:51 +00:00
'<(rlottie_loc)',
2019-06-27 09:57:48 +00:00
'<(lz4_loc)',
2019-04-27 09:12:53 +00:00
'<(submodules_loc)/GSL/include',
'<(submodules_loc)/variant/include',
'<(submodules_loc)/crl/src',
],
'sources': [
'<(src_loc)/lottie/lottie_animation.cpp',
'<(src_loc)/lottie/lottie_animation.h',
2019-06-26 14:18:00 +00:00
'<(src_loc)/lottie/lottie_cache.cpp',
'<(src_loc)/lottie/lottie_cache.h',
2019-07-15 12:17:22 +00:00
'<(src_loc)/lottie/lottie_common.cpp',
'<(src_loc)/lottie/lottie_common.h',
2019-04-27 09:12:53 +00:00
'<(src_loc)/lottie/lottie_frame_renderer.cpp',
'<(src_loc)/lottie/lottie_frame_renderer.h',
2019-06-28 13:24:33 +00:00
'<(src_loc)/lottie/lottie_multi_player.cpp',
'<(src_loc)/lottie/lottie_multi_player.h',
'<(src_loc)/lottie/lottie_player.h',
'<(src_loc)/lottie/lottie_single_player.cpp',
'<(src_loc)/lottie/lottie_single_player.h',
2019-04-27 09:12:53 +00:00
],
'conditions': [[ 'build_macold', {
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
},
'include_dirs': [
'/usr/local/macold/include/c++/v1',
],
}]],
}],
}