tdesktop/Telegram/gyp/lib_ffmpeg.gyp

57 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-06-26 15:04:38 +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-18 06:56:01 +00:00
'helpers/common/common.gypi',
2019-06-26 15:04:38 +00:00
],
'targets': [{
'target_name': 'lib_ffmpeg',
'includes': [
2019-09-18 06:56:01 +00:00
'helpers/common/library.gypi',
'helpers/modules/qt.gypi',
2019-06-26 15:04:38 +00:00
],
'variables': {
'src_loc': '../SourceFiles',
'res_loc': '../Resources',
},
'dependencies': [
2019-09-18 06:56:01 +00:00
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
2019-06-26 15:04:38 +00:00
],
'export_dependent_settings': [
2019-09-18 06:56:01 +00:00
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
2019-06-26 15:04:38 +00:00
],
'defines': [
],
'include_dirs': [
'<(src_loc)',
'<(libs_loc)/ffmpeg',
],
2019-09-18 06:56:01 +00:00
'direct_dependent_settings': {
'include_dirs': [
2019-09-23 10:41:02 +00:00
'<(src_loc)',
2019-09-18 06:56:01 +00:00
'<(libs_loc)/ffmpeg',
],
},
2019-06-26 15:04:38 +00:00
'sources': [
'<(src_loc)/ffmpeg/ffmpeg_utility.cpp',
'<(src_loc)/ffmpeg/ffmpeg_utility.h',
],
'conditions': [[ '"<(official_build_target)" != ""', {
'defines': [
'TDESKTOP_OFFICIAL_TARGET=<(official_build_target)',
],
}], [ 'build_macold', {
2019-06-26 15:04:38 +00:00
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
},
'include_dirs': [
'/usr/local/macold/include/c++/v1',
],
}]],
}],
}