2019-07-10 15:03: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-18 06:56:01 +00:00
|
|
|
'helpers/common/common.gypi',
|
2019-07-10 15:03:48 +00:00
|
|
|
],
|
|
|
|
'targets': [{
|
|
|
|
'target_name': 'lib_mtproto',
|
|
|
|
'includes': [
|
2019-09-18 06:56:01 +00:00
|
|
|
'helpers/common/library.gypi',
|
|
|
|
'helpers/modules/qt.gypi',
|
|
|
|
'helpers/modules/pch.gypi',
|
|
|
|
'helpers/modules/openssl.gypi',
|
2019-07-10 15:03:48 +00:00
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'src_loc': '../SourceFiles',
|
|
|
|
'res_loc': '../Resources',
|
|
|
|
'pch_source': '<(src_loc)/mtproto/mtp_pch.cpp',
|
|
|
|
'pch_header': '<(src_loc)/mtproto/mtp_pch.h',
|
|
|
|
},
|
|
|
|
'defines': [
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'lib_scheme.gyp:lib_scheme',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'lib_scheme.gyp:lib_scheme',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'<(src_loc)',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(src_loc)/mtproto/mtp_abstract_socket.cpp',
|
|
|
|
'<(src_loc)/mtproto/mtp_abstract_socket.h',
|
|
|
|
'<(src_loc)/mtproto/mtp_tcp_socket.cpp',
|
|
|
|
'<(src_loc)/mtproto/mtp_tcp_socket.h',
|
|
|
|
'<(src_loc)/mtproto/mtp_tls_socket.cpp',
|
|
|
|
'<(src_loc)/mtproto/mtp_tls_socket.h',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
}
|