mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 08:48:14 +00:00
Remove GYP build scripts.
This commit is contained in:
parent
f52fe937ed
commit
23f6044081
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -28,9 +28,6 @@
|
||||
[submodule "Telegram/lib_base"]
|
||||
path = Telegram/lib_base
|
||||
url = https://github.com/desktop-app/lib_base.git
|
||||
[submodule "Telegram/gyp/helpers"]
|
||||
path = Telegram/gyp/helpers
|
||||
url = https://github.com/desktop-app/gyp_helpers.git
|
||||
[submodule "Telegram/codegen"]
|
||||
path = Telegram/codegen
|
||||
url = https://github.com/desktop-app/codegen.git
|
||||
|
2
Telegram/ThirdParty/libtgvoip
vendored
2
Telegram/ThirdParty/libtgvoip
vendored
@ -1 +1 @@
|
||||
Subproject commit debda1aa5ee65d5ee43e32a1b981ece993e7f5c3
|
||||
Subproject commit ade4434f1c6efabecc3b548ca1f692f8d103d22a
|
@ -742,6 +742,7 @@ else()
|
||||
PRIVATE
|
||||
/wd4005
|
||||
/wd4244 # conversion from 'int' to 'float', possible loss of data (several in webrtc)
|
||||
/wd5055 # operator '>' deprecated between enumerations and floating-point types
|
||||
)
|
||||
target_compile_definitions(lib_tgvoip
|
||||
PUBLIC
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d14ae77ad5ed27ca6ddbc9579c0c5e0afa18ffca
|
||||
Subproject commit d3cc394974bbaa48159261786edd2e543216c84b
|
@ -1,141 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'Telegram',
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
'minizip_loc': '<(third_party_loc)/minizip',
|
||||
'sp_media_key_tap_loc': '<(third_party_loc)/SPMediaKeyTap',
|
||||
'emoji_suggestions_loc': '<(third_party_loc)/emoji_suggestions',
|
||||
'style_files': [
|
||||
'<(src_loc)/boxes/boxes.style',
|
||||
'<(src_loc)/calls/calls.style',
|
||||
'<(src_loc)/dialogs/dialogs.style',
|
||||
'<(src_loc)/export/view/export.style',
|
||||
'<(src_loc)/history/history.style',
|
||||
'<(src_loc)/info/info.style',
|
||||
'<(src_loc)/intro/intro.style',
|
||||
'<(src_loc)/media/view/mediaview.style',
|
||||
'<(src_loc)/media/player/media_player.style',
|
||||
'<(src_loc)/overview/overview.style',
|
||||
'<(src_loc)/passport/passport.style',
|
||||
'<(src_loc)/profile/profile.style',
|
||||
'<(src_loc)/settings/settings.style',
|
||||
'<(src_loc)/chat_helpers/chat_helpers.style',
|
||||
'<(src_loc)/window/window.style',
|
||||
],
|
||||
'dependent_style_files': [
|
||||
'<(submodules_loc)/lib_ui/ui/colors.palette',
|
||||
'<(submodules_loc)/lib_ui/ui/basic.style',
|
||||
'<(submodules_loc)/lib_ui/ui/layers/layers.style',
|
||||
'<(submodules_loc)/lib_ui/ui/widgets/widgets.style',
|
||||
],
|
||||
'style_timestamp': '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
|
||||
'qrc_timestamp': '<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp',
|
||||
'langpacks': [
|
||||
'en',
|
||||
'de',
|
||||
'es',
|
||||
'it',
|
||||
'nl',
|
||||
'ko',
|
||||
'pt-BR',
|
||||
],
|
||||
'list_sources_command': 'python <(submodules_loc)/lib_base/gyp/list_sources.py --input <(DEPTH)/telegram/sources.txt --replace src_loc=<(src_loc)',
|
||||
'pch_source': '<(src_loc)/stdafx.cpp',
|
||||
'pch_header': '<(src_loc)/stdafx.h',
|
||||
},
|
||||
'includes': [
|
||||
'helpers/common/executable.gypi',
|
||||
'helpers/modules/openssl.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
'helpers/modules/qt_moc.gypi',
|
||||
'helpers/modules/pch.gypi',
|
||||
'../lib_ui/gyp/qrc_rule.gypi',
|
||||
'../lib_ui/gyp/styles_rule.gypi',
|
||||
'telegram/qrc.gypi',
|
||||
'telegram/win.gypi',
|
||||
'telegram/mac.gypi',
|
||||
'telegram/linux.gypi',
|
||||
'codegen/rules.gypi',
|
||||
],
|
||||
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/codegen/codegen.gyp:codegen_lang',
|
||||
'<(submodules_loc)/codegen/codegen.gyp:codegen_numbers',
|
||||
'<(submodules_loc)/codegen/codegen.gyp:codegen_style',
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
'<(submodules_loc)/lib_ui/lib_ui.gyp:lib_ui',
|
||||
'<(submodules_loc)/lib_qr/lib_qr.gyp:lib_qr',
|
||||
'<(third_party_loc)/libtgvoip/libtgvoip.gyp:libtgvoip',
|
||||
'<(submodules_loc)/lib_lottie/lib_lottie.gyp:lib_lottie',
|
||||
'tests/tests.gyp:tests',
|
||||
'utils.gyp:Updater',
|
||||
'lib_export.gyp:lib_export',
|
||||
'lib_storage.gyp:lib_storage',
|
||||
'lib_ffmpeg.gyp:lib_ffmpeg',
|
||||
'lib_mtproto.gyp:lib_mtproto',
|
||||
],
|
||||
|
||||
'defines': [
|
||||
'AL_LIBTYPE_STATIC',
|
||||
'AL_ALEXT_PROTOTYPES',
|
||||
'TGVOIP_USE_CXX11_LIB',
|
||||
'TDESKTOP_API_ID=<(api_id)',
|
||||
'TDESKTOP_API_HASH=<(api_hash)',
|
||||
'<!@(python -c "for s in \'<(build_defines)\'.split(\',\'): print(s)")',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
'<(libs_loc)/breakpad/src',
|
||||
'<(libs_loc)/lzma/C',
|
||||
'<(libs_loc)/openal-soft/include',
|
||||
'<(libs_loc)/opus/include',
|
||||
'<(minizip_loc)',
|
||||
'<(sp_media_key_tap_loc)',
|
||||
'<(emoji_suggestions_loc)',
|
||||
],
|
||||
'sources': [
|
||||
'<@(qrc_files)',
|
||||
'<@(style_files)',
|
||||
'<(res_loc)/langs/cloud_lang.strings',
|
||||
'<(res_loc)/export_html/css/style.css',
|
||||
'<(res_loc)/export_html/js/script.js',
|
||||
'<(res_loc)/export_html/images/back.png',
|
||||
'<(res_loc)/export_html/images/back@2x.png',
|
||||
'<(DEPTH)/telegram/sources.txt',
|
||||
'<!@(<(list_sources_command) <(qt_moc_list_sources_arg))',
|
||||
],
|
||||
'sources!': [
|
||||
'<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))',
|
||||
],
|
||||
'conditions': [[ 'not build_osx', {
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/lib_spellcheck/lib_spellcheck.gyp:lib_spellcheck',
|
||||
],
|
||||
}, {
|
||||
'defines': [
|
||||
'TDESKTOP_DISABLE_SPELLCHECK',
|
||||
],
|
||||
}], [ '"<(special_build_target)" != ""', {
|
||||
'defines': [
|
||||
'TDESKTOP_ALLOW_CLOSED_ALPHA',
|
||||
'TDESKTOP_FORCE_GTK_FILE_DIALOG',
|
||||
],
|
||||
'dependencies': [
|
||||
'utils.gyp:Packer',
|
||||
],
|
||||
}]],
|
||||
}],
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# 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
|
||||
|
||||
{
|
||||
'actions': [{
|
||||
'action_name': 'codegen_lang',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/codegen_lang<(exe_ext)',
|
||||
'<(res_loc)/langs/lang.strings',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/lang_auto.cpp',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/lang_auto.h',
|
||||
],
|
||||
'action': [
|
||||
'<(PRODUCT_DIR)/codegen_lang<(exe_ext)',
|
||||
'-o', '<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/langs/lang.strings',
|
||||
'-w', '<(PRODUCT_DIR)/..',
|
||||
],
|
||||
'message': 'codegen_lang-ing lang.strings..',
|
||||
'process_outputs_as_sources': 1,
|
||||
}, {
|
||||
'action_name': 'codegen_numbers',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/codegen_numbers<(exe_ext)',
|
||||
'<(res_loc)/numbers.txt',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/numbers.cpp',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/numbers.h',
|
||||
],
|
||||
'action': [
|
||||
'<(PRODUCT_DIR)/codegen_numbers<(exe_ext)',
|
||||
'-o', '<(SHARED_INTERMEDIATE_DIR)', '<(res_loc)/numbers.txt',
|
||||
'-w', '<(PRODUCT_DIR)/..',
|
||||
],
|
||||
'message': 'codegen_numbers-ing numbers.txt..',
|
||||
'process_outputs_as_sources': 1,
|
||||
}],
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
'''
|
||||
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
|
||||
'''
|
||||
import sys, os, re, subprocess
|
||||
|
||||
def finish(code):
|
||||
global executePath
|
||||
os.chdir(executePath)
|
||||
sys.exit(code)
|
||||
|
||||
if sys.platform == 'win32' and not 'COMSPEC' in os.environ:
|
||||
print('[ERROR] COMSPEC environment variable is not set.')
|
||||
finish(1)
|
||||
|
||||
executePath = os.getcwd()
|
||||
scriptPath = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
apiId = ''
|
||||
apiHash = ''
|
||||
nextApiId = False
|
||||
nextApiHash = False
|
||||
ciBuild = False
|
||||
for arg in sys.argv:
|
||||
if nextApiId:
|
||||
apiId = re.sub(r'[^\d]', '', arg)
|
||||
nextApiId = False
|
||||
elif nextApiHash:
|
||||
apiHash = re.sub(r'[^a-fA-F\d]', '', arg)
|
||||
nextApiHash = False
|
||||
else:
|
||||
nextApiId = (arg == '--api-id')
|
||||
nextApiHash = (arg == '--api-hash')
|
||||
if arg == '--ci-build':
|
||||
ciBuild = True
|
||||
|
||||
officialTarget = ''
|
||||
officialTargetFile = scriptPath + '/../build/target'
|
||||
if os.path.isfile(officialTargetFile):
|
||||
with open(officialTargetFile, 'r') as f:
|
||||
for line in f:
|
||||
officialTarget = line.strip()
|
||||
|
||||
if officialTarget != '':
|
||||
officialApiIdFile = scriptPath + '/../../../DesktopPrivate/custom_api_id.h'
|
||||
if not os.path.isfile(officialApiIdFile):
|
||||
print("[ERROR] DesktopPrivate/custom_api_id.h not found.")
|
||||
finish(1)
|
||||
with open(officialApiIdFile, 'r') as f:
|
||||
for line in f:
|
||||
apiIdMatch = re.search(r'ApiId\s+=\s+(\d+)', line)
|
||||
apiHashMatch = re.search(r'ApiHash\s+=\s+"([a-fA-F\d]+)"', line)
|
||||
if apiIdMatch:
|
||||
apiId = apiIdMatch.group(1)
|
||||
elif apiHashMatch:
|
||||
apiHash = apiHashMatch.group(1)
|
||||
|
||||
if apiId == '' or apiHash == '':
|
||||
print("""[USAGE]: refresh --api-id YOUR_API_ID --api-hash YOUR_API_HASH
|
||||
|
||||
> To build your version of Telegram Desktop you're required to provide
|
||||
> your own 'api_id' and 'api_hash' for the Telegram API access.
|
||||
>
|
||||
> How to obtain your 'api_id' and 'api_hash' is described here:
|
||||
> https://core.telegram.org/api/obtaining_api_id
|
||||
>
|
||||
> If you're building the application not for deployment,
|
||||
> but only for test purposes you can use TEST ONLY credentials,
|
||||
> which are very limited by the Telegram API server:
|
||||
>
|
||||
> api_id: 17349
|
||||
> api_hash: 344583e45741c457fe1862106095a5eb
|
||||
>
|
||||
> Your users will start getting internal server errors on login
|
||||
> if you deploy an app using those 'api_id' and 'api_hash'.""")
|
||||
finish(0)
|
||||
|
||||
gypScript = 'gyp'
|
||||
gypFormats = []
|
||||
gypArguments = []
|
||||
cmakeConfigurations = []
|
||||
gypArguments.append('--depth=.')
|
||||
gypArguments.append('--generator-output=..')
|
||||
gypArguments.append('-Goutput_dir=../out')
|
||||
gypArguments.append('-Dapi_id=' + apiId)
|
||||
gypArguments.append('-Dapi_hash=' + apiHash)
|
||||
gypArguments.append('-Dlottie_use_cache=1')
|
||||
gypArguments.append('-Dspecial_build_target=' + officialTarget)
|
||||
if ciBuild:
|
||||
gypArguments.append('-Dci_build=1')
|
||||
|
||||
if 'TDESKTOP_BUILD_DEFINES' in os.environ:
|
||||
buildDefines = os.environ['TDESKTOP_BUILD_DEFINES']
|
||||
gypArguments.append('-Dbuild_defines=' + buildDefines)
|
||||
print('[INFO] Set build defines to ' + buildDefines)
|
||||
|
||||
if sys.platform == 'win32':
|
||||
gypFormats.append('ninja')
|
||||
gypFormats.append('msvs-ninja')
|
||||
elif sys.platform == 'darwin':
|
||||
# use patched gyp with Xcode project generator
|
||||
gypScript = '../../../Libraries/gyp/gyp'
|
||||
gypArguments.append('-Gxcode_upgrade_check_project_version=1030')
|
||||
gypFormats.append('xcode')
|
||||
else:
|
||||
gypScript = '../../../Libraries/gyp/gyp'
|
||||
gypFormats.append('cmake')
|
||||
cmakeConfigurations.append('Debug')
|
||||
cmakeConfigurations.append('Release')
|
||||
|
||||
os.chdir(scriptPath)
|
||||
if sys.platform == 'darwin':
|
||||
subprocess.call('mkdir -p ../../out', shell=True)
|
||||
for format in gypFormats:
|
||||
command = gypArguments[:]
|
||||
command.insert(0, gypScript)
|
||||
command.append('--format=' + format)
|
||||
command.append('Telegram.gyp')
|
||||
result = subprocess.call(' '.join(command), shell=True)
|
||||
if result != 0:
|
||||
print('[ERROR] Failed generating for format: ' + format)
|
||||
finish(result)
|
||||
|
||||
os.chdir(scriptPath + '/../../out')
|
||||
for configuration in cmakeConfigurations:
|
||||
os.chdir(configuration)
|
||||
result = subprocess.call('cmake "-GCodeBlocks - Unix Makefiles" .', shell=True)
|
||||
if result != 0:
|
||||
print('[ERROR] Failed calling cmake for ' + configuration)
|
||||
finish(result)
|
||||
os.chdir('..')
|
||||
|
||||
finish(0)
|
@ -1 +0,0 @@
|
||||
Subproject commit 5b000acfb554e98b6575203cd84859bc4cc9d344
|
@ -1,62 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_export',
|
||||
'type': 'static_library',
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
'helpers/modules/pch.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
'pch_source': '<(src_loc)/export/export_pch.cpp',
|
||||
'pch_header': '<(src_loc)/export/export_pch.h',
|
||||
},
|
||||
'defines': [
|
||||
],
|
||||
'dependencies': [
|
||||
'lib_scheme.gyp:lib_scheme',
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'lib_scheme.gyp:lib_scheme',
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/export/export_api_wrap.cpp',
|
||||
'<(src_loc)/export/export_api_wrap.h',
|
||||
'<(src_loc)/export/export_controller.cpp',
|
||||
'<(src_loc)/export/export_controller.h',
|
||||
'<(src_loc)/export/export_settings.cpp',
|
||||
'<(src_loc)/export/export_settings.h',
|
||||
'<(src_loc)/export/data/export_data_types.cpp',
|
||||
'<(src_loc)/export/data/export_data_types.h',
|
||||
'<(src_loc)/export/output/export_output_abstract.cpp',
|
||||
'<(src_loc)/export/output/export_output_abstract.h',
|
||||
'<(src_loc)/export/output/export_output_file.cpp',
|
||||
'<(src_loc)/export/output/export_output_file.h',
|
||||
'<(src_loc)/export/output/export_output_html.cpp',
|
||||
'<(src_loc)/export/output/export_output_html.h',
|
||||
'<(src_loc)/export/output/export_output_json.cpp',
|
||||
'<(src_loc)/export/output/export_output_json.h',
|
||||
'<(src_loc)/export/output/export_output_result.h',
|
||||
'<(src_loc)/export/output/export_output_stats.cpp',
|
||||
'<(src_loc)/export/output/export_output_stats.h',
|
||||
'<(src_loc)/export/output/export_output_text.cpp',
|
||||
'<(src_loc)/export/output/export_output_text.h',
|
||||
],
|
||||
}],
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_ffmpeg',
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
},
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'defines': [
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(libs_loc)/ffmpeg',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(libs_loc)/ffmpeg',
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'<(src_loc)/ffmpeg/ffmpeg_utility.cpp',
|
||||
'<(src_loc)/ffmpeg/ffmpeg_utility.h',
|
||||
],
|
||||
'conditions': [[ '"<(special_build_target)" != ""', {
|
||||
'defines': [
|
||||
'LIB_FFMPEG_USE_QT_PRIVATE_API',
|
||||
],
|
||||
}]],
|
||||
}],
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_lz4',
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'lz4_loc': '<(third_party_loc)/lz4/lib',
|
||||
},
|
||||
'defines': [
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(lz4_loc)',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'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',
|
||||
],
|
||||
}],
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_mtproto',
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
'helpers/modules/pch.gypi',
|
||||
'helpers/modules/openssl.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
'pch_source': '<(src_loc)/mtproto/mtproto_pch.cpp',
|
||||
'pch_header': '<(src_loc)/mtproto/mtproto_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/details/mtproto_abstract_socket.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_abstract_socket.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_bound_key_creator.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_bound_key_creator.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_dc_key_binder.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_dc_key_binder.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_dc_key_creator.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_dc_key_creator.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_dcenter.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_dcenter.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_domain_resolver.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_domain_resolver.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_dump_to_text.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_dump_to_text.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_received_ids_manager.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_received_ids_manager.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_rsa_public_key.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_rsa_public_key.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_serialized_request.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_serialized_request.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_tcp_socket.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_tcp_socket.h',
|
||||
'<(src_loc)/mtproto/details/mtproto_tls_socket.cpp',
|
||||
'<(src_loc)/mtproto/details/mtproto_tls_socket.h',
|
||||
'<(src_loc)/mtproto/mtproto_auth_key.cpp',
|
||||
'<(src_loc)/mtproto/mtproto_auth_key.h',
|
||||
'<(src_loc)/mtproto/mtproto_concurrent_sender.cpp',
|
||||
'<(src_loc)/mtproto/mtproto_concurrent_sender.h',
|
||||
'<(src_loc)/mtproto/mtproto_dh_utils.cpp',
|
||||
'<(src_loc)/mtproto/mtproto_dh_utils.h',
|
||||
'<(src_loc)/mtproto/mtproto_proxy_data.cpp',
|
||||
'<(src_loc)/mtproto/mtproto_proxy_data.h',
|
||||
'<(src_loc)/mtproto/mtproto_rpc_sender.cpp',
|
||||
'<(src_loc)/mtproto/mtproto_rpc_sender.h',
|
||||
],
|
||||
}],
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_scheme',
|
||||
'hard_dependency': 1,
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
},
|
||||
'defines': [
|
||||
],
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
'<(submodules_loc)/lib_tl/lib_tl.gyp:lib_tl',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
'<(submodules_loc)/lib_tl/lib_tl.gyp:lib_tl',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
'<(submodules_loc)/GSL/include',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)',
|
||||
],
|
||||
},
|
||||
'actions': [{
|
||||
'action_name': 'codegen_scheme',
|
||||
'inputs': [
|
||||
'<(src_loc)/codegen/scheme/codegen_scheme.py',
|
||||
'<(submodules_loc)/lib_tl/tl/generate_tl.py',
|
||||
'<(res_loc)/tl/mtproto.tl',
|
||||
'<(res_loc)/tl/api.tl',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/scheme.cpp',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/scheme.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/scheme-dump_to_text.cpp',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/scheme-dump_to_text.h',
|
||||
],
|
||||
'action': [
|
||||
'python', '<(src_loc)/codegen/scheme/codegen_scheme.py',
|
||||
'-o', '<(SHARED_INTERMEDIATE_DIR)/scheme',
|
||||
'<(res_loc)/tl/mtproto.tl',
|
||||
'<(res_loc)/tl/api.tl',
|
||||
],
|
||||
'message': 'codegen_scheme-ing *.tl..',
|
||||
'process_outputs_as_sources': 1,
|
||||
}],
|
||||
}],
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'lib_storage',
|
||||
'includes': [
|
||||
'helpers/common/library.gypi',
|
||||
'helpers/modules/openssl.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
'helpers/modules/pch.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
'pch_source': '<(src_loc)/storage/storage_pch.cpp',
|
||||
'pch_header': '<(src_loc)/storage/storage_pch.h',
|
||||
},
|
||||
'defines': [
|
||||
'XXH_INLINE_ALL',
|
||||
],
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(third_party_loc)/xxHash',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/storage/storage_clear_legacy.cpp',
|
||||
'<(src_loc)/storage/storage_clear_legacy_posix.cpp',
|
||||
'<(src_loc)/storage/storage_clear_legacy_win.cpp',
|
||||
'<(src_loc)/storage/storage_clear_legacy.h',
|
||||
'<(src_loc)/storage/storage_databases.cpp',
|
||||
'<(src_loc)/storage/storage_databases.h',
|
||||
'<(src_loc)/storage/storage_encryption.cpp',
|
||||
'<(src_loc)/storage/storage_encryption.h',
|
||||
'<(src_loc)/storage/storage_encrypted_file.cpp',
|
||||
'<(src_loc)/storage/storage_encrypted_file.h',
|
||||
'<(src_loc)/storage/storage_file_lock_posix.cpp',
|
||||
'<(src_loc)/storage/storage_file_lock_win.cpp',
|
||||
'<(src_loc)/storage/storage_file_lock.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_binlog_reader.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_binlog_reader.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_cleaner.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_cleaner.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_compactor.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_compactor.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_database.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_database.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_database_object.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_database_object.h',
|
||||
'<(src_loc)/storage/cache/storage_cache_types.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_types.h',
|
||||
],
|
||||
'conditions': [[ 'build_win', {
|
||||
'sources!': [
|
||||
'<(src_loc)/storage/storage_clear_legacy_posix.cpp',
|
||||
'<(src_loc)/storage/storage_file_lock_posix.cpp',
|
||||
],
|
||||
}, {
|
||||
'sources!': [
|
||||
'<(src_loc)/storage/storage_clear_legacy_win.cpp',
|
||||
'<(src_loc)/storage/storage_file_lock_win.cpp',
|
||||
],
|
||||
}]],
|
||||
}],
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
FullExecPath=$PWD
|
||||
pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||
set $line
|
||||
eval $1="$2"
|
||||
done < "$FullScriptPath/../build/version"
|
||||
|
||||
echo $AppVersionStr
|
||||
exit
|
||||
|
@ -1,13 +0,0 @@
|
||||
@echo OFF
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
set "FullScriptPath=%~dp0"
|
||||
|
||||
python %FullScriptPath%generate.py %1 %2 %3 %4 %5 %6
|
||||
if %errorlevel% neq 0 goto error
|
||||
|
||||
exit /b
|
||||
|
||||
:error
|
||||
echo FAILED
|
||||
exit /b 1
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
pushd `dirname $0` > /dev/null
|
||||
FullScriptPath=`pwd`
|
||||
popd > /dev/null
|
||||
|
||||
python $FullScriptPath/generate.py $1 $2 $3 $4 $5 $6
|
||||
|
||||
exit
|
@ -1,100 +0,0 @@
|
||||
# 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
|
||||
|
||||
{
|
||||
'conditions': [[ 'build_linux', {
|
||||
'variables': {
|
||||
'variables': {
|
||||
'build_defines%': '',
|
||||
},
|
||||
'not_need_gtk%': '<!(python -c "print(\'TDESKTOP_DISABLE_GTK_INTEGRATION\' in \'<(build_defines)\')")',
|
||||
'pkgconfig_libs': [
|
||||
# In order to work libxkbcommon must be linked statically,
|
||||
# PKGCONFIG links it like "-L/usr/local/lib -lxkbcommon"
|
||||
# which makes a dynamic link which leads to segfault in
|
||||
# QApplication() -> createPlatformIntegration -> QXcbIntegrationPlugin::create
|
||||
#'xkbcommon',
|
||||
],
|
||||
},
|
||||
'libraries': [
|
||||
'-Wl,-Bstatic',
|
||||
'-lbreakpad_client',
|
||||
'-llzma',
|
||||
'-lopenal',
|
||||
'-lavformat',
|
||||
'-lavcodec',
|
||||
'-lswresample',
|
||||
'-lswscale',
|
||||
'-lavutil',
|
||||
'-lopus',
|
||||
'-lva-x11',
|
||||
'-lva-drm',
|
||||
'-lva',
|
||||
'-lvdpau',
|
||||
'-ldrm',
|
||||
'-lz',
|
||||
'-lXi',
|
||||
'-lXext',
|
||||
'-lXfixes',
|
||||
'-lXrender',
|
||||
'<(linux_lib_ssl)',
|
||||
'<(linux_lib_crypto)',
|
||||
# '<!(pkg-config 2> /dev/null --libs <@(pkgconfig_libs))',
|
||||
],
|
||||
'cflags_cc': [
|
||||
'-Wno-strict-overflow',
|
||||
'-Wno-maybe-uninitialized',
|
||||
],
|
||||
'ldflags': [
|
||||
'-Wl,-wrap,aligned_alloc',
|
||||
'-Wl,-wrap,secure_getenv',
|
||||
'-Wl,-wrap,clock_gettime',
|
||||
'-Wl,--no-as-needed,-lrt',
|
||||
'-Wl,-Bstatic',
|
||||
],
|
||||
'configurations': {
|
||||
'Release': {
|
||||
'cflags_c': [
|
||||
'-Ofast',
|
||||
'-fno-strict-aliasing',
|
||||
],
|
||||
'cflags_cc': [
|
||||
'-Ofast',
|
||||
'-fno-strict-aliasing',
|
||||
],
|
||||
'ldflags': [
|
||||
'-Ofast',
|
||||
],
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
[ '"<!(uname -m)" != "x86_64"', {
|
||||
'ldflags': [
|
||||
'-Wl,-wrap,__divmoddi4',
|
||||
],
|
||||
}, {
|
||||
'ldflags': [
|
||||
'-Wl,-wrap,__divmodti4',
|
||||
],
|
||||
}], ['not_need_gtk!="True"', {
|
||||
'cflags_cc': [
|
||||
'<!(pkg-config 2> /dev/null --cflags gtk+-2.0)',
|
||||
'<!(pkg-config 2> /dev/null --cflags glib-2.0)',
|
||||
],
|
||||
}], ['<!(pkg-config ayatana-appindicator3-0.1; echo $?) == 0', {
|
||||
'cflags_cc': [ '<!(pkg-config --cflags ayatana-appindicator3-0.1)' ],
|
||||
'defines': [ 'TDESKTOP_USE_AYATANA_INDICATORS' ],
|
||||
}], ['<!(pkg-config ayatana-appindicator-0.1; echo $?) == 0', {
|
||||
'cflags_cc': [ '<!(pkg-config --cflags ayatana-appindicator-0.1)' ],
|
||||
'defines': [ 'TDESKTOP_USE_AYATANA_INDICATORS' ],
|
||||
}], ['<!(pkg-config appindicator3-0.1; echo $?) == 0', {
|
||||
'cflags_cc': [ '<!(pkg-config --cflags appindicator3-0.1)' ],
|
||||
}], ['<!(pkg-config appindicator-0.1; echo $?) == 0', {
|
||||
'cflags_cc': [ '<!(pkg-config --cflags appindicator-0.1)' ],
|
||||
}]
|
||||
],
|
||||
}]],
|
||||
}
|
@ -1,231 +0,0 @@
|
||||
# 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
|
||||
|
||||
{
|
||||
'conditions': [[ 'build_mac', {
|
||||
'mac_hardened_runtime': 1,
|
||||
'mac_bundle': '1',
|
||||
'mac_bundle_resources': [
|
||||
'<!@(python -c "for s in \'<@(langpacks)\'.split(\' \'): print(\'<(res_loc)/langs/\' + s + \'.lproj/Localizable.strings\')")',
|
||||
'<(DEPTH)/../Telegram/Images.xcassets',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'INFOPLIST_FILE': '../Telegram.plist',
|
||||
'CURRENT_PROJECT_VERSION': '<!(helpers/common/print_version.sh <(DEPTH)/../build/version)',
|
||||
'ASSETCATALOG_COMPILER_APPICON_NAME': 'AppIcon',
|
||||
'ENABLE_HARDENED_RUNTIME': 'YES',
|
||||
'OTHER_CODE_SIGN_FLAGS': [
|
||||
'--deep',
|
||||
],
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lbsm',
|
||||
'-lm',
|
||||
'/usr/local/lib/liblzma.a',
|
||||
],
|
||||
},
|
||||
'include_dirs': [
|
||||
'/usr/local/include',
|
||||
],
|
||||
'library_dirs': [
|
||||
'/usr/local/lib',
|
||||
],
|
||||
'sources': [
|
||||
'<(DEPTH)/../Telegram/Telegram.entitlements',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'xcode_settings': {
|
||||
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||
},
|
||||
},
|
||||
'Release': {
|
||||
'xcode_settings': {
|
||||
'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym',
|
||||
'LLVM_LTO': 'YES',
|
||||
'GCC_OPTIMIZATION_LEVEL': 'fast',
|
||||
},
|
||||
},
|
||||
},
|
||||
}], [ 'build_osx', {
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lbase',
|
||||
'-lcrashpad_client',
|
||||
'-lcrashpad_util',
|
||||
'/usr/local/lib/libz.a',
|
||||
'/usr/local/lib/libopus.a',
|
||||
'/usr/local/lib/libopenal.a',
|
||||
'/usr/local/lib/libiconv.a',
|
||||
'/usr/local/lib/libavcodec.a',
|
||||
'/usr/local/lib/libavformat.a',
|
||||
'/usr/local/lib/libavutil.a',
|
||||
'/usr/local/lib/libswscale.a',
|
||||
'/usr/local/lib/libswresample.a',
|
||||
],
|
||||
},
|
||||
'include_dirs': [
|
||||
'/usr/local',
|
||||
'<(libs_loc)/crashpad',
|
||||
'<(libs_loc)/crashpad/third_party/mini_chromium/mini_chromium',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'xcode_settings': {
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.TelegramDebugOsx',
|
||||
},
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/crashpad/out/Debug',
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'xcode_settings': {
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.Telegram',
|
||||
},
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/crashpad/out/Release',
|
||||
],
|
||||
},
|
||||
},
|
||||
'postbuilds': [{
|
||||
'postbuild_name': 'Force Frameworks path',
|
||||
'action': [
|
||||
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Copy Updater to Frameworks',
|
||||
'action': [
|
||||
'cp',
|
||||
'${BUILT_PRODUCTS_DIR}/Updater',
|
||||
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/',
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Force Helpers path',
|
||||
'action': [
|
||||
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Copy crashpad_handler to Helpers',
|
||||
'action': [
|
||||
'cp',
|
||||
'<(libs_loc)/crashpad/out/${CONFIGURATION}/crashpad_handler',
|
||||
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/',
|
||||
],
|
||||
}],
|
||||
}, {
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'/usr/local/lib/libz.a',
|
||||
'/usr/local/lib/libopus.a',
|
||||
'/usr/local/lib/libopenal.a',
|
||||
'/usr/local/lib/libiconv.a',
|
||||
'/usr/local/lib/libavcodec.a',
|
||||
'/usr/local/lib/libavformat.a',
|
||||
'/usr/local/lib/libavutil.a',
|
||||
'/usr/local/lib/libswscale.a',
|
||||
'/usr/local/lib/libswresample.a',
|
||||
],
|
||||
},
|
||||
'include_dirs': [
|
||||
'<(libs_loc)/crashpad',
|
||||
'<(libs_loc)/crashpad/third_party/mini_chromium/mini_chromium',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/crashpad/out/Debug',
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/crashpad/out/Release',
|
||||
],
|
||||
},
|
||||
},
|
||||
}], [ '"<(build_osx)" != "1" and "<(build_macstore)" != "1"', {
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-lbase',
|
||||
'-lcrashpad_client',
|
||||
'-lcrashpad_util',
|
||||
],
|
||||
},
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'xcode_settings': {
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.TelegramDebug',
|
||||
},
|
||||
},
|
||||
'Release': {
|
||||
'xcode_settings': {
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'com.tdesktop.Telegram',
|
||||
},
|
||||
},
|
||||
},
|
||||
'postbuilds': [{
|
||||
'postbuild_name': 'Force Frameworks path',
|
||||
'action': [
|
||||
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Copy Updater to Frameworks',
|
||||
'action': [
|
||||
'cp',
|
||||
'${BUILT_PRODUCTS_DIR}/Updater',
|
||||
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Frameworks/',
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Force Helpers path',
|
||||
'action': [
|
||||
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Copy crashpad_client to Helpers',
|
||||
'action': [
|
||||
'cp',
|
||||
'<(libs_loc)/crashpad/out/${CONFIGURATION}/crashpad_handler',
|
||||
'${BUILT_PRODUCTS_DIR}/Telegram.app/Contents/Helpers/',
|
||||
],
|
||||
}],
|
||||
}], [ 'build_macstore', {
|
||||
'mac_sandbox': 1,
|
||||
'mac_sandbox_development_team': '6N38VWS5BX',
|
||||
'product_name': 'Telegram Desktop',
|
||||
'sources': [
|
||||
'<(DEPTH)/../Telegram/Telegram Desktop.entitlements',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'PRODUCT_BUNDLE_IDENTIFIER': 'org.telegram.desktop',
|
||||
'OTHER_LDFLAGS': [
|
||||
'-framework', 'Breakpad',
|
||||
],
|
||||
'FRAMEWORK_SEARCH_PATHS': [
|
||||
'<(libs_loc)/breakpad/src/client/mac/build/Release',
|
||||
],
|
||||
},
|
||||
'defines': [
|
||||
'TDESKTOP_DISABLE_AUTOUPDATE',
|
||||
'OS_MAC_STORE',
|
||||
],
|
||||
'postbuilds': [{
|
||||
'postbuild_name': 'Clear Frameworks path',
|
||||
'action': [
|
||||
'rm', '-rf', '${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Force Frameworks path',
|
||||
'action': [
|
||||
'mkdir', '-p', '${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks/'
|
||||
],
|
||||
}, {
|
||||
'postbuild_name': 'Copy Breakpad.framework to Frameworks',
|
||||
'action': [
|
||||
'cp', '-a',
|
||||
'<(libs_loc)/breakpad/src/client/mac/build/Release/Breakpad.framework',
|
||||
'${BUILT_PRODUCTS_DIR}/Telegram Desktop.app/Contents/Frameworks/Breakpad.framework',
|
||||
],
|
||||
}]
|
||||
}]],
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# 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
|
||||
|
||||
{
|
||||
'variables': {
|
||||
'qrc_files': [
|
||||
'<(res_loc)/qrc/emoji_1.qrc',
|
||||
'<(res_loc)/qrc/emoji_2.qrc',
|
||||
'<(res_loc)/qrc/emoji_3.qrc',
|
||||
'<(res_loc)/qrc/emoji_4.qrc',
|
||||
'<(res_loc)/qrc/emoji_5.qrc',
|
||||
'<(res_loc)/qrc/emoji_preview.qrc',
|
||||
'<(res_loc)/qrc/telegram/telegram.qrc',
|
||||
'<(res_loc)/qrc/telegram/sounds.qrc',
|
||||
],
|
||||
},
|
||||
}
|
@ -1,852 +0,0 @@
|
||||
<(src_loc)/api/api_common.h
|
||||
<(src_loc)/api/api_hash.h
|
||||
<(src_loc)/api/api_sending.cpp
|
||||
<(src_loc)/api/api_sending.h
|
||||
<(src_loc)/api/api_single_message_search.cpp
|
||||
<(src_loc)/api/api_single_message_search.h
|
||||
<(src_loc)/api/api_text_entities.cpp
|
||||
<(src_loc)/api/api_text_entities.h
|
||||
<(src_loc)/boxes/peers/add_participants_box.cpp
|
||||
<(src_loc)/boxes/peers/add_participants_box.h
|
||||
<(src_loc)/boxes/peers/edit_contact_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_contact_box.h
|
||||
<(src_loc)/boxes/peers/edit_linked_chat_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_linked_chat_box.h
|
||||
<(src_loc)/boxes/peers/edit_participant_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_participant_box.h
|
||||
<(src_loc)/boxes/peers/edit_participants_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_participants_box.h
|
||||
<(src_loc)/boxes/peers/edit_peer_info_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_peer_info_box.h
|
||||
<(src_loc)/boxes/peers/edit_peer_type_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_peer_type_box.h
|
||||
<(src_loc)/boxes/peers/edit_peer_history_visibility_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_peer_history_visibility_box.h
|
||||
<(src_loc)/boxes/peers/edit_peer_permissions_box.cpp
|
||||
<(src_loc)/boxes/peers/edit_peer_permissions_box.h
|
||||
<(src_loc)/boxes/about_box.cpp
|
||||
<(src_loc)/boxes/about_box.h
|
||||
<(src_loc)/boxes/abstract_box.cpp
|
||||
<(src_loc)/boxes/abstract_box.h
|
||||
<(src_loc)/boxes/add_contact_box.cpp
|
||||
<(src_loc)/boxes/add_contact_box.h
|
||||
<(src_loc)/boxes/auto_lock_box.cpp
|
||||
<(src_loc)/boxes/auto_lock_box.h
|
||||
<(src_loc)/boxes/auto_download_box.cpp
|
||||
<(src_loc)/boxes/auto_download_box.h
|
||||
<(src_loc)/boxes/background_box.cpp
|
||||
<(src_loc)/boxes/background_box.h
|
||||
<(src_loc)/boxes/background_preview_box.cpp
|
||||
<(src_loc)/boxes/background_preview_box.h
|
||||
<(src_loc)/boxes/calendar_box.cpp
|
||||
<(src_loc)/boxes/calendar_box.h
|
||||
<(src_loc)/boxes/change_phone_box.cpp
|
||||
<(src_loc)/boxes/change_phone_box.h
|
||||
<(src_loc)/boxes/confirm_box.cpp
|
||||
<(src_loc)/boxes/confirm_box.h
|
||||
<(src_loc)/boxes/confirm_phone_box.cpp
|
||||
<(src_loc)/boxes/confirm_phone_box.h
|
||||
<(src_loc)/boxes/connection_box.cpp
|
||||
<(src_loc)/boxes/connection_box.h
|
||||
<(src_loc)/boxes/create_poll_box.cpp
|
||||
<(src_loc)/boxes/create_poll_box.h
|
||||
<(src_loc)/boxes/download_path_box.cpp
|
||||
<(src_loc)/boxes/download_path_box.h
|
||||
<(src_loc)/boxes/edit_caption_box.cpp
|
||||
<(src_loc)/boxes/edit_caption_box.h
|
||||
<(src_loc)/boxes/edit_color_box.cpp
|
||||
<(src_loc)/boxes/edit_color_box.h
|
||||
<(src_loc)/boxes/edit_privacy_box.cpp
|
||||
<(src_loc)/boxes/edit_privacy_box.h
|
||||
<(src_loc)/boxes/language_box.cpp
|
||||
<(src_loc)/boxes/language_box.h
|
||||
<(src_loc)/boxes/local_storage_box.cpp
|
||||
<(src_loc)/boxes/local_storage_box.h
|
||||
<(src_loc)/boxes/mute_settings_box.cpp
|
||||
<(src_loc)/boxes/mute_settings_box.h
|
||||
<(src_loc)/boxes/peer_list_box.cpp
|
||||
<(src_loc)/boxes/peer_list_box.h
|
||||
<(src_loc)/boxes/peer_list_controllers.cpp
|
||||
<(src_loc)/boxes/peer_list_controllers.h
|
||||
<(src_loc)/boxes/passcode_box.cpp
|
||||
<(src_loc)/boxes/passcode_box.h
|
||||
<(src_loc)/boxes/photo_crop_box.cpp
|
||||
<(src_loc)/boxes/photo_crop_box.h
|
||||
<(src_loc)/boxes/rate_call_box.cpp
|
||||
<(src_loc)/boxes/rate_call_box.h
|
||||
<(src_loc)/boxes/report_box.cpp
|
||||
<(src_loc)/boxes/report_box.h
|
||||
<(src_loc)/boxes/self_destruction_box.cpp
|
||||
<(src_loc)/boxes/self_destruction_box.h
|
||||
<(src_loc)/boxes/send_files_box.cpp
|
||||
<(src_loc)/boxes/send_files_box.h
|
||||
<(src_loc)/boxes/sessions_box.cpp
|
||||
<(src_loc)/boxes/sessions_box.h
|
||||
<(src_loc)/boxes/share_box.cpp
|
||||
<(src_loc)/boxes/share_box.h
|
||||
<(src_loc)/boxes/single_choice_box.cpp
|
||||
<(src_loc)/boxes/single_choice_box.h
|
||||
<(src_loc)/boxes/sticker_set_box.cpp
|
||||
<(src_loc)/boxes/sticker_set_box.h
|
||||
<(src_loc)/boxes/stickers_box.cpp
|
||||
<(src_loc)/boxes/stickers_box.h
|
||||
<(src_loc)/boxes/url_auth_box.cpp
|
||||
<(src_loc)/boxes/url_auth_box.h
|
||||
<(src_loc)/boxes/username_box.cpp
|
||||
<(src_loc)/boxes/username_box.h
|
||||
<(src_loc)/calls/calls_box_controller.cpp
|
||||
<(src_loc)/calls/calls_box_controller.h
|
||||
<(src_loc)/calls/calls_call.cpp
|
||||
<(src_loc)/calls/calls_call.h
|
||||
<(src_loc)/calls/calls_emoji_fingerprint.cpp
|
||||
<(src_loc)/calls/calls_emoji_fingerprint.h
|
||||
<(src_loc)/calls/calls_instance.cpp
|
||||
<(src_loc)/calls/calls_instance.h
|
||||
<(src_loc)/calls/calls_panel.cpp
|
||||
<(src_loc)/calls/calls_panel.h
|
||||
<(src_loc)/calls/calls_top_bar.cpp
|
||||
<(src_loc)/calls/calls_top_bar.h
|
||||
<(src_loc)/chat_helpers/bot_keyboard.cpp
|
||||
<(src_loc)/chat_helpers/bot_keyboard.h
|
||||
<(src_loc)/chat_helpers/emoji_keywords.cpp
|
||||
<(src_loc)/chat_helpers/emoji_keywords.h
|
||||
<(src_loc)/chat_helpers/emoji_list_widget.cpp
|
||||
<(src_loc)/chat_helpers/emoji_list_widget.h
|
||||
<(src_loc)/chat_helpers/emoji_sets_manager.cpp
|
||||
<(src_loc)/chat_helpers/emoji_sets_manager.h
|
||||
<(src_loc)/chat_helpers/emoji_suggestions_widget.cpp
|
||||
<(src_loc)/chat_helpers/emoji_suggestions_widget.h
|
||||
<(src_loc)/chat_helpers/field_autocomplete.cpp
|
||||
<(src_loc)/chat_helpers/field_autocomplete.h
|
||||
<(src_loc)/chat_helpers/gifs_list_widget.cpp
|
||||
<(src_loc)/chat_helpers/gifs_list_widget.h
|
||||
<(src_loc)/chat_helpers/message_field.cpp
|
||||
<(src_loc)/chat_helpers/message_field.h
|
||||
<(src_loc)/chat_helpers/stickers.cpp
|
||||
<(src_loc)/chat_helpers/stickers.h
|
||||
<(src_loc)/chat_helpers/stickers_emoji_pack.cpp
|
||||
<(src_loc)/chat_helpers/stickers_emoji_pack.h
|
||||
<(src_loc)/chat_helpers/stickers_list_widget.cpp
|
||||
<(src_loc)/chat_helpers/stickers_list_widget.h
|
||||
<(src_loc)/chat_helpers/tabbed_panel.cpp
|
||||
<(src_loc)/chat_helpers/tabbed_panel.h
|
||||
<(src_loc)/chat_helpers/tabbed_section.cpp
|
||||
<(src_loc)/chat_helpers/tabbed_section.h
|
||||
<(src_loc)/chat_helpers/tabbed_selector.cpp
|
||||
<(src_loc)/chat_helpers/tabbed_selector.h
|
||||
<(src_loc)/core/application.cpp
|
||||
<(src_loc)/core/application.h
|
||||
<(src_loc)/core/base_integration.cpp
|
||||
<(src_loc)/core/base_integration.h
|
||||
<(src_loc)/core/changelogs.cpp
|
||||
<(src_loc)/core/changelogs.h
|
||||
<(src_loc)/core/click_handler_types.cpp
|
||||
<(src_loc)/core/click_handler_types.h
|
||||
<(src_loc)/core/core_cloud_password.cpp
|
||||
<(src_loc)/core/core_cloud_password.h
|
||||
<(src_loc)/core/core_settings.cpp
|
||||
<(src_loc)/core/core_settings.h
|
||||
<(src_loc)/core/crash_report_window.cpp
|
||||
<(src_loc)/core/crash_report_window.h
|
||||
<(src_loc)/core/crash_reports.cpp
|
||||
<(src_loc)/core/crash_reports.h
|
||||
<(src_loc)/core/file_utilities.cpp
|
||||
<(src_loc)/core/file_utilities.h
|
||||
<(src_loc)/core/launcher.cpp
|
||||
<(src_loc)/core/launcher.h
|
||||
<(src_loc)/core/local_url_handlers.cpp
|
||||
<(src_loc)/core/local_url_handlers.h
|
||||
<(src_loc)/core/media_active_cache.h
|
||||
<(src_loc)/core/mime_type.cpp
|
||||
<(src_loc)/core/mime_type.h
|
||||
<(src_loc)/core/sandbox.cpp
|
||||
<(src_loc)/core/sandbox.h
|
||||
<(src_loc)/core/shortcuts.cpp
|
||||
<(src_loc)/core/shortcuts.h
|
||||
<(src_loc)/core/ui_integration.cpp
|
||||
<(src_loc)/core/ui_integration.h
|
||||
<(src_loc)/core/update_checker.cpp
|
||||
<(src_loc)/core/update_checker.h
|
||||
<(src_loc)/core/utils.cpp
|
||||
<(src_loc)/core/utils.h
|
||||
<(src_loc)/core/version.h
|
||||
<(src_loc)/data/data_abstract_structure.cpp
|
||||
<(src_loc)/data/data_abstract_structure.h
|
||||
<(src_loc)/data/data_auto_download.cpp
|
||||
<(src_loc)/data/data_auto_download.h
|
||||
<(src_loc)/data/data_chat.cpp
|
||||
<(src_loc)/data/data_chat.h
|
||||
<(src_loc)/data/data_channel.cpp
|
||||
<(src_loc)/data/data_channel.h
|
||||
<(src_loc)/data/data_channel_admins.cpp
|
||||
<(src_loc)/data/data_channel_admins.h
|
||||
<(src_loc)/data/data_cloud_themes.cpp
|
||||
<(src_loc)/data/data_cloud_themes.h
|
||||
<(src_loc)/data/data_countries.cpp
|
||||
<(src_loc)/data/data_countries.h
|
||||
<(src_loc)/data/data_document.cpp
|
||||
<(src_loc)/data/data_document.h
|
||||
<(src_loc)/data/data_document_good_thumbnail.cpp
|
||||
<(src_loc)/data/data_document_good_thumbnail.h
|
||||
<(src_loc)/data/data_drafts.cpp
|
||||
<(src_loc)/data/data_drafts.h
|
||||
<(src_loc)/data/data_folder.cpp
|
||||
<(src_loc)/data/data_folder.h
|
||||
//<(src_loc)/data/data_feed_messages.cpp
|
||||
//<(src_loc)/data/data_feed_messages.h
|
||||
<(src_loc)/data/data_file_origin.cpp
|
||||
<(src_loc)/data/data_file_origin.h
|
||||
<(src_loc)/data/data_flags.h
|
||||
<(src_loc)/data/data_game.h
|
||||
<(src_loc)/data/data_groups.cpp
|
||||
<(src_loc)/data/data_groups.h
|
||||
<(src_loc)/data/data_location.cpp
|
||||
<(src_loc)/data/data_location.h
|
||||
<(src_loc)/data/data_media_types.cpp
|
||||
<(src_loc)/data/data_media_types.h
|
||||
<(src_loc)/data/data_messages.cpp
|
||||
<(src_loc)/data/data_messages.h
|
||||
<(src_loc)/data/data_notify_settings.cpp
|
||||
<(src_loc)/data/data_notify_settings.h
|
||||
<(src_loc)/data/data_peer.cpp
|
||||
<(src_loc)/data/data_peer.h
|
||||
<(src_loc)/data/data_peer_values.cpp
|
||||
<(src_loc)/data/data_peer_values.h
|
||||
<(src_loc)/data/data_photo.cpp
|
||||
<(src_loc)/data/data_photo.h
|
||||
<(src_loc)/data/data_poll.cpp
|
||||
<(src_loc)/data/data_poll.h
|
||||
<(src_loc)/data/data_pts_waiter.cpp
|
||||
<(src_loc)/data/data_pts_waiter.h
|
||||
<(src_loc)/data/data_search_controller.cpp
|
||||
<(src_loc)/data/data_search_controller.h
|
||||
<(src_loc)/data/data_session.cpp
|
||||
<(src_loc)/data/data_session.h
|
||||
<(src_loc)/data/data_scheduled_messages.cpp
|
||||
<(src_loc)/data/data_scheduled_messages.h
|
||||
<(src_loc)/data/data_shared_media.cpp
|
||||
<(src_loc)/data/data_shared_media.h
|
||||
<(src_loc)/data/data_sparse_ids.cpp
|
||||
<(src_loc)/data/data_sparse_ids.h
|
||||
<(src_loc)/data/data_types.cpp
|
||||
<(src_loc)/data/data_types.h
|
||||
<(src_loc)/data/data_user.cpp
|
||||
<(src_loc)/data/data_user.h
|
||||
<(src_loc)/data/data_user_photos.cpp
|
||||
<(src_loc)/data/data_user_photos.h
|
||||
<(src_loc)/data/data_wall_paper.cpp
|
||||
<(src_loc)/data/data_wall_paper.h
|
||||
<(src_loc)/data/data_web_page.cpp
|
||||
<(src_loc)/data/data_web_page.h
|
||||
<(src_loc)/dialogs/dialogs_entry.cpp
|
||||
<(src_loc)/dialogs/dialogs_entry.h
|
||||
<(src_loc)/dialogs/dialogs_indexed_list.cpp
|
||||
<(src_loc)/dialogs/dialogs_indexed_list.h
|
||||
<(src_loc)/dialogs/dialogs_inner_widget.cpp
|
||||
<(src_loc)/dialogs/dialogs_inner_widget.h
|
||||
<(src_loc)/dialogs/dialogs_key.cpp
|
||||
<(src_loc)/dialogs/dialogs_key.h
|
||||
<(src_loc)/dialogs/dialogs_layout.cpp
|
||||
<(src_loc)/dialogs/dialogs_layout.h
|
||||
<(src_loc)/dialogs/dialogs_list.cpp
|
||||
<(src_loc)/dialogs/dialogs_list.h
|
||||
<(src_loc)/dialogs/dialogs_main_list.cpp
|
||||
<(src_loc)/dialogs/dialogs_main_list.h
|
||||
<(src_loc)/dialogs/dialogs_pinned_list.cpp
|
||||
<(src_loc)/dialogs/dialogs_pinned_list.h
|
||||
<(src_loc)/dialogs/dialogs_row.cpp
|
||||
<(src_loc)/dialogs/dialogs_row.h
|
||||
<(src_loc)/dialogs/dialogs_search_from_controllers.cpp
|
||||
<(src_loc)/dialogs/dialogs_search_from_controllers.h
|
||||
<(src_loc)/dialogs/dialogs_widget.cpp
|
||||
<(src_loc)/dialogs/dialogs_widget.h
|
||||
<(src_loc)/export/view/export_view_content.cpp
|
||||
<(src_loc)/export/view/export_view_content.h
|
||||
<(src_loc)/export/view/export_view_panel_controller.cpp
|
||||
<(src_loc)/export/view/export_view_panel_controller.h
|
||||
<(src_loc)/export/view/export_view_progress.cpp
|
||||
<(src_loc)/export/view/export_view_progress.h
|
||||
<(src_loc)/export/view/export_view_settings.cpp
|
||||
<(src_loc)/export/view/export_view_settings.h
|
||||
<(src_loc)/export/view/export_view_top_bar.cpp
|
||||
<(src_loc)/export/view/export_view_top_bar.h
|
||||
<(src_loc)/history/admin_log/history_admin_log_filter.cpp
|
||||
<(src_loc)/history/admin_log/history_admin_log_filter.h
|
||||
<(src_loc)/history/admin_log/history_admin_log_inner.cpp
|
||||
<(src_loc)/history/admin_log/history_admin_log_inner.h
|
||||
<(src_loc)/history/admin_log/history_admin_log_item.cpp
|
||||
<(src_loc)/history/admin_log/history_admin_log_item.h
|
||||
<(src_loc)/history/admin_log/history_admin_log_section.cpp
|
||||
<(src_loc)/history/admin_log/history_admin_log_section.h
|
||||
//<(src_loc)/history/feed/history_feed_section.cpp
|
||||
//<(src_loc)/history/feed/history_feed_section.h
|
||||
<(src_loc)/history/view/media/history_view_call.h
|
||||
<(src_loc)/history/view/media/history_view_call.cpp
|
||||
<(src_loc)/history/view/media/history_view_contact.h
|
||||
<(src_loc)/history/view/media/history_view_contact.cpp
|
||||
<(src_loc)/history/view/media/history_view_document.h
|
||||
<(src_loc)/history/view/media/history_view_document.cpp
|
||||
<(src_loc)/history/view/media/history_view_file.h
|
||||
<(src_loc)/history/view/media/history_view_file.cpp
|
||||
<(src_loc)/history/view/media/history_view_game.h
|
||||
<(src_loc)/history/view/media/history_view_game.cpp
|
||||
<(src_loc)/history/view/media/history_view_gif.h
|
||||
<(src_loc)/history/view/media/history_view_gif.cpp
|
||||
<(src_loc)/history/view/media/history_view_invoice.h
|
||||
<(src_loc)/history/view/media/history_view_invoice.cpp
|
||||
<(src_loc)/history/view/media/history_view_large_emoji.h
|
||||
<(src_loc)/history/view/media/history_view_large_emoji.cpp
|
||||
<(src_loc)/history/view/media/history_view_location.h
|
||||
<(src_loc)/history/view/media/history_view_location.cpp
|
||||
<(src_loc)/history/view/media/history_view_media.h
|
||||
<(src_loc)/history/view/media/history_view_media.cpp
|
||||
<(src_loc)/history/view/media/history_view_media_common.h
|
||||
<(src_loc)/history/view/media/history_view_media_common.cpp
|
||||
<(src_loc)/history/view/media/history_view_media_grouped.h
|
||||
<(src_loc)/history/view/media/history_view_media_grouped.cpp
|
||||
<(src_loc)/history/view/media/history_view_media_unwrapped.h
|
||||
<(src_loc)/history/view/media/history_view_media_unwrapped.cpp
|
||||
<(src_loc)/history/view/media/history_view_photo.h
|
||||
<(src_loc)/history/view/media/history_view_photo.cpp
|
||||
<(src_loc)/history/view/media/history_view_poll.h
|
||||
<(src_loc)/history/view/media/history_view_poll.cpp
|
||||
<(src_loc)/history/view/media/history_view_sticker.h
|
||||
<(src_loc)/history/view/media/history_view_sticker.cpp
|
||||
<(src_loc)/history/view/media/history_view_theme_document.h
|
||||
<(src_loc)/history/view/media/history_view_theme_document.cpp
|
||||
<(src_loc)/history/view/media/history_view_video.h
|
||||
<(src_loc)/history/view/media/history_view_video.cpp
|
||||
<(src_loc)/history/view/media/history_view_web_page.h
|
||||
<(src_loc)/history/view/media/history_view_web_page.cpp
|
||||
<(src_loc)/history/view/history_view_compose_controls.cpp
|
||||
<(src_loc)/history/view/history_view_compose_controls.h
|
||||
<(src_loc)/history/view/history_view_contact_status.cpp
|
||||
<(src_loc)/history/view/history_view_contact_status.h
|
||||
<(src_loc)/history/view/history_view_context_menu.cpp
|
||||
<(src_loc)/history/view/history_view_context_menu.h
|
||||
<(src_loc)/history/view/history_view_cursor_state.cpp
|
||||
<(src_loc)/history/view/history_view_cursor_state.h
|
||||
<(src_loc)/history/view/history_view_element.cpp
|
||||
<(src_loc)/history/view/history_view_element.h
|
||||
<(src_loc)/history/view/history_view_list_widget.cpp
|
||||
<(src_loc)/history/view/history_view_list_widget.h
|
||||
<(src_loc)/history/view/history_view_message.cpp
|
||||
<(src_loc)/history/view/history_view_message.h
|
||||
<(src_loc)/history/view/history_view_object.h
|
||||
<(src_loc)/history/view/history_view_schedule_box.cpp
|
||||
<(src_loc)/history/view/history_view_schedule_box.h
|
||||
<(src_loc)/history/view/history_view_scheduled_section.cpp
|
||||
<(src_loc)/history/view/history_view_scheduled_section.h
|
||||
<(src_loc)/history/view/history_view_service_message.cpp
|
||||
<(src_loc)/history/view/history_view_service_message.h
|
||||
<(src_loc)/history/view/history_view_top_bar_widget.cpp
|
||||
<(src_loc)/history/view/history_view_top_bar_widget.h
|
||||
<(src_loc)/history/history.cpp
|
||||
<(src_loc)/history/history.h
|
||||
<(src_loc)/history/history_drag_area.cpp
|
||||
<(src_loc)/history/history_drag_area.h
|
||||
<(src_loc)/history/history_item.cpp
|
||||
<(src_loc)/history/history_item.h
|
||||
<(src_loc)/history/history_item_components.cpp
|
||||
<(src_loc)/history/history_item_components.h
|
||||
<(src_loc)/history/history_item_text.cpp
|
||||
<(src_loc)/history/history_item_text.h
|
||||
<(src_loc)/history/history_inner_widget.cpp
|
||||
<(src_loc)/history/history_inner_widget.h
|
||||
<(src_loc)/history/history_location_manager.cpp
|
||||
<(src_loc)/history/history_location_manager.h
|
||||
<(src_loc)/history/history_message.cpp
|
||||
<(src_loc)/history/history_message.h
|
||||
<(src_loc)/history/history_service.cpp
|
||||
<(src_loc)/history/history_service.h
|
||||
<(src_loc)/history/history_widget.cpp
|
||||
<(src_loc)/history/history_widget.h
|
||||
<(src_loc)/info/info_content_widget.cpp
|
||||
<(src_loc)/info/info_content_widget.h
|
||||
<(src_loc)/info/info_controller.cpp
|
||||
<(src_loc)/info/info_controller.h
|
||||
<(src_loc)/info/info_layer_widget.cpp
|
||||
<(src_loc)/info/info_layer_widget.h
|
||||
<(src_loc)/info/info_memento.cpp
|
||||
<(src_loc)/info/info_memento.h
|
||||
<(src_loc)/info/info_section_widget.cpp
|
||||
<(src_loc)/info/info_section_widget.h
|
||||
<(src_loc)/info/info_top_bar.cpp
|
||||
<(src_loc)/info/info_top_bar.h
|
||||
<(src_loc)/info/info_wrap_widget.cpp
|
||||
<(src_loc)/info/info_wrap_widget.h
|
||||
//<(src_loc)/info/channels/info_channels_widget.cpp
|
||||
//<(src_loc)/info/channels/info_channels_widget.h
|
||||
<(src_loc)/info/common_groups/info_common_groups_inner_widget.cpp
|
||||
<(src_loc)/info/common_groups/info_common_groups_inner_widget.h
|
||||
<(src_loc)/info/common_groups/info_common_groups_widget.cpp
|
||||
<(src_loc)/info/common_groups/info_common_groups_widget.h
|
||||
//<(src_loc)/info/feed/info_feed_channels.cpp
|
||||
//<(src_loc)/info/feed/info_feed_channels.h
|
||||
//<(src_loc)/info/feed/info_feed_channels_controllers.cpp
|
||||
//<(src_loc)/info/feed/info_feed_channels_controllers.h
|
||||
//<(src_loc)/info/feed/info_feed_cover.cpp
|
||||
//<(src_loc)/info/feed/info_feed_cover.h
|
||||
//<(src_loc)/info/feed/info_feed_profile_inner_widget.cpp
|
||||
//<(src_loc)/info/feed/info_feed_profile_inner_widget.h
|
||||
//<(src_loc)/info/feed/info_feed_profile_widget.cpp
|
||||
//<(src_loc)/info/feed/info_feed_profile_widget.h
|
||||
<(src_loc)/info/media/info_media_buttons.h
|
||||
<(src_loc)/info/media/info_media_empty_widget.cpp
|
||||
<(src_loc)/info/media/info_media_empty_widget.h
|
||||
<(src_loc)/info/media/info_media_inner_widget.cpp
|
||||
<(src_loc)/info/media/info_media_inner_widget.h
|
||||
<(src_loc)/info/media/info_media_list_widget.cpp
|
||||
<(src_loc)/info/media/info_media_list_widget.h
|
||||
<(src_loc)/info/media/info_media_widget.cpp
|
||||
<(src_loc)/info/media/info_media_widget.h
|
||||
<(src_loc)/info/members/info_members_widget.cpp
|
||||
<(src_loc)/info/members/info_members_widget.h
|
||||
<(src_loc)/info/profile/info_profile_actions.cpp
|
||||
<(src_loc)/info/profile/info_profile_actions.h
|
||||
<(src_loc)/info/profile/info_profile_cover.cpp
|
||||
<(src_loc)/info/profile/info_profile_cover.h
|
||||
<(src_loc)/info/profile/info_profile_icon.cpp
|
||||
<(src_loc)/info/profile/info_profile_icon.h
|
||||
<(src_loc)/info/profile/info_profile_inner_widget.cpp
|
||||
<(src_loc)/info/profile/info_profile_inner_widget.h
|
||||
<(src_loc)/info/profile/info_profile_members.cpp
|
||||
<(src_loc)/info/profile/info_profile_members.h
|
||||
<(src_loc)/info/profile/info_profile_members_controllers.cpp
|
||||
<(src_loc)/info/profile/info_profile_members_controllers.h
|
||||
<(src_loc)/info/profile/info_profile_text.cpp
|
||||
<(src_loc)/info/profile/info_profile_text.h
|
||||
<(src_loc)/info/profile/info_profile_values.cpp
|
||||
<(src_loc)/info/profile/info_profile_values.h
|
||||
<(src_loc)/info/profile/info_profile_widget.cpp
|
||||
<(src_loc)/info/profile/info_profile_widget.h
|
||||
<(src_loc)/info/settings/info_settings_widget.cpp
|
||||
<(src_loc)/info/settings/info_settings_widget.h
|
||||
<(src_loc)/inline_bots/inline_bot_layout_internal.cpp
|
||||
<(src_loc)/inline_bots/inline_bot_layout_internal.h
|
||||
<(src_loc)/inline_bots/inline_bot_layout_item.cpp
|
||||
<(src_loc)/inline_bots/inline_bot_layout_item.h
|
||||
<(src_loc)/inline_bots/inline_bot_result.cpp
|
||||
<(src_loc)/inline_bots/inline_bot_result.h
|
||||
<(src_loc)/inline_bots/inline_bot_send_data.cpp
|
||||
<(src_loc)/inline_bots/inline_bot_send_data.h
|
||||
<(src_loc)/inline_bots/inline_results_widget.cpp
|
||||
<(src_loc)/inline_bots/inline_results_widget.h
|
||||
<(src_loc)/intro/intro_code.cpp
|
||||
<(src_loc)/intro/intro_code.h
|
||||
<(src_loc)/intro/intro_password_check.cpp
|
||||
<(src_loc)/intro/intro_password_check.h
|
||||
<(src_loc)/intro/intro_phone.cpp
|
||||
<(src_loc)/intro/intro_phone.h
|
||||
<(src_loc)/intro/intro_qr.cpp
|
||||
<(src_loc)/intro/intro_qr.h
|
||||
<(src_loc)/intro/intro_signup.cpp
|
||||
<(src_loc)/intro/intro_signup.h
|
||||
<(src_loc)/intro/intro_start.cpp
|
||||
<(src_loc)/intro/intro_start.h
|
||||
<(src_loc)/intro/intro_step.cpp
|
||||
<(src_loc)/intro/intro_step.h
|
||||
<(src_loc)/intro/intro_widget.cpp
|
||||
<(src_loc)/intro/intro_widget.h
|
||||
<(src_loc)/lang/lang_cloud_manager.cpp
|
||||
<(src_loc)/lang/lang_cloud_manager.h
|
||||
<(src_loc)/lang/lang_file_parser.cpp
|
||||
<(src_loc)/lang/lang_file_parser.h
|
||||
<(src_loc)/lang/lang_hardcoded.h
|
||||
<(src_loc)/lang/lang_instance.cpp
|
||||
<(src_loc)/lang/lang_instance.h
|
||||
<(src_loc)/lang/lang_keys.cpp
|
||||
<(src_loc)/lang/lang_keys.h
|
||||
<(src_loc)/lang/lang_numbers_animation.cpp
|
||||
<(src_loc)/lang/lang_numbers_animation.h
|
||||
<(src_loc)/lang/lang_tag.cpp
|
||||
<(src_loc)/lang/lang_tag.h
|
||||
<(src_loc)/lang/lang_text_entity.cpp
|
||||
<(src_loc)/lang/lang_text_entity.h
|
||||
<(src_loc)/lang/lang_translator.cpp
|
||||
<(src_loc)/lang/lang_translator.h
|
||||
<(src_loc)/lang/lang_values.cpp
|
||||
<(src_loc)/lang/lang_values.h
|
||||
<(src_loc)/main/main_account.cpp
|
||||
<(src_loc)/main/main_account.h
|
||||
<(src_loc)/main/main_app_config.cpp
|
||||
<(src_loc)/main/main_app_config.h
|
||||
<(src_loc)/main/main_session.cpp
|
||||
<(src_loc)/main/main_session.h
|
||||
<(src_loc)/main/main_settings.cpp
|
||||
<(src_loc)/main/main_settings.h
|
||||
<(src_loc)/media/audio/media_audio.cpp
|
||||
<(src_loc)/media/audio/media_audio.h
|
||||
<(src_loc)/media/audio/media_audio_capture.cpp
|
||||
<(src_loc)/media/audio/media_audio_capture.h
|
||||
<(src_loc)/media/audio/media_audio_ffmpeg_loader.cpp
|
||||
<(src_loc)/media/audio/media_audio_ffmpeg_loader.h
|
||||
<(src_loc)/media/audio/media_audio_loader.cpp
|
||||
<(src_loc)/media/audio/media_audio_loader.h
|
||||
<(src_loc)/media/audio/media_audio_loaders.cpp
|
||||
<(src_loc)/media/audio/media_audio_loaders.h
|
||||
<(src_loc)/media/audio/media_audio_track.cpp
|
||||
<(src_loc)/media/audio/media_audio_track.h
|
||||
<(src_loc)/media/audio/media_child_ffmpeg_loader.cpp
|
||||
<(src_loc)/media/audio/media_child_ffmpeg_loader.h
|
||||
<(src_loc)/media/clip/media_clip_check_streaming.cpp
|
||||
<(src_loc)/media/clip/media_clip_check_streaming.h
|
||||
<(src_loc)/media/clip/media_clip_ffmpeg.cpp
|
||||
<(src_loc)/media/clip/media_clip_ffmpeg.h
|
||||
<(src_loc)/media/clip/media_clip_implementation.cpp
|
||||
<(src_loc)/media/clip/media_clip_implementation.h
|
||||
<(src_loc)/media/clip/media_clip_reader.cpp
|
||||
<(src_loc)/media/clip/media_clip_reader.h
|
||||
<(src_loc)/media/player/media_player_button.cpp
|
||||
<(src_loc)/media/player/media_player_button.h
|
||||
<(src_loc)/media/player/media_player_float.cpp
|
||||
<(src_loc)/media/player/media_player_float.h
|
||||
<(src_loc)/media/player/media_player_instance.cpp
|
||||
<(src_loc)/media/player/media_player_instance.h
|
||||
<(src_loc)/media/player/media_player_panel.cpp
|
||||
<(src_loc)/media/player/media_player_panel.h
|
||||
<(src_loc)/media/player/media_player_volume_controller.cpp
|
||||
<(src_loc)/media/player/media_player_volume_controller.h
|
||||
<(src_loc)/media/player/media_player_widget.cpp
|
||||
<(src_loc)/media/player/media_player_widget.h
|
||||
<(src_loc)/media/streaming/media_streaming_audio_track.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_audio_track.h
|
||||
<(src_loc)/media/streaming/media_streaming_common.h
|
||||
<(src_loc)/media/streaming/media_streaming_document.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_document.h
|
||||
<(src_loc)/media/streaming/media_streaming_file.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_file.h
|
||||
<(src_loc)/media/streaming/media_streaming_file_delegate.h
|
||||
<(src_loc)/media/streaming/media_streaming_loader.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_loader.h
|
||||
<(src_loc)/media/streaming/media_streaming_loader_local.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_loader_local.h
|
||||
<(src_loc)/media/streaming/media_streaming_loader_mtproto.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_loader_mtproto.h
|
||||
<(src_loc)/media/streaming/media_streaming_player.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_player.h
|
||||
<(src_loc)/media/streaming/media_streaming_reader.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_reader.h
|
||||
<(src_loc)/media/streaming/media_streaming_utility.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_utility.h
|
||||
<(src_loc)/media/streaming/media_streaming_video_track.cpp
|
||||
<(src_loc)/media/streaming/media_streaming_video_track.h
|
||||
<(src_loc)/media/view/media_view_playback_controls.cpp
|
||||
<(src_loc)/media/view/media_view_playback_controls.h
|
||||
<(src_loc)/media/view/media_view_playback_progress.cpp
|
||||
<(src_loc)/media/view/media_view_playback_progress.h
|
||||
<(src_loc)/media/view/media_view_group_thumbs.cpp
|
||||
<(src_loc)/media/view/media_view_group_thumbs.h
|
||||
<(src_loc)/media/view/media_view_overlay_widget.cpp
|
||||
<(src_loc)/media/view/media_view_overlay_widget.h
|
||||
<(src_loc)/mtproto/config_loader.cpp
|
||||
<(src_loc)/mtproto/config_loader.h
|
||||
<(src_loc)/mtproto/connection_abstract.cpp
|
||||
<(src_loc)/mtproto/connection_abstract.h
|
||||
<(src_loc)/mtproto/connection_http.cpp
|
||||
<(src_loc)/mtproto/connection_http.h
|
||||
<(src_loc)/mtproto/connection_resolving.cpp
|
||||
<(src_loc)/mtproto/connection_resolving.h
|
||||
<(src_loc)/mtproto/connection_tcp.cpp
|
||||
<(src_loc)/mtproto/connection_tcp.h
|
||||
<(src_loc)/mtproto/core_types.h
|
||||
<(src_loc)/mtproto/dc_options.cpp
|
||||
<(src_loc)/mtproto/dc_options.h
|
||||
<(src_loc)/mtproto/dedicated_file_loader.cpp
|
||||
<(src_loc)/mtproto/dedicated_file_loader.h
|
||||
<(src_loc)/mtproto/facade.cpp
|
||||
<(src_loc)/mtproto/facade.h
|
||||
<(src_loc)/mtproto/mtp_instance.cpp
|
||||
<(src_loc)/mtproto/mtp_instance.h
|
||||
<(src_loc)/mtproto/sender.h
|
||||
<(src_loc)/mtproto/session.cpp
|
||||
<(src_loc)/mtproto/session.h
|
||||
<(src_loc)/mtproto/session_private.cpp
|
||||
<(src_loc)/mtproto/session_private.h
|
||||
<(src_loc)/mtproto/special_config_request.cpp
|
||||
<(src_loc)/mtproto/special_config_request.h
|
||||
<(src_loc)/mtproto/type_utils.h
|
||||
<(src_loc)/overview/overview_layout.cpp
|
||||
<(src_loc)/overview/overview_layout.h
|
||||
<(src_loc)/passport/passport_encryption.cpp
|
||||
<(src_loc)/passport/passport_encryption.h
|
||||
<(src_loc)/passport/passport_form_controller.cpp
|
||||
<(src_loc)/passport/passport_form_controller.h
|
||||
<(src_loc)/passport/passport_form_view_controller.cpp
|
||||
<(src_loc)/passport/passport_form_view_controller.h
|
||||
<(src_loc)/passport/passport_panel.cpp
|
||||
<(src_loc)/passport/passport_panel.h
|
||||
<(src_loc)/passport/passport_panel_controller.cpp
|
||||
<(src_loc)/passport/passport_panel_controller.h
|
||||
<(src_loc)/passport/passport_panel_details_row.cpp
|
||||
<(src_loc)/passport/passport_panel_details_row.h
|
||||
<(src_loc)/passport/passport_panel_edit_contact.cpp
|
||||
<(src_loc)/passport/passport_panel_edit_contact.h
|
||||
<(src_loc)/passport/passport_panel_edit_document.cpp
|
||||
<(src_loc)/passport/passport_panel_edit_document.h
|
||||
<(src_loc)/passport/passport_panel_edit_scans.cpp
|
||||
<(src_loc)/passport/passport_panel_edit_scans.h
|
||||
<(src_loc)/passport/passport_panel_form.cpp
|
||||
<(src_loc)/passport/passport_panel_form.h
|
||||
<(src_loc)/passport/passport_panel_password.cpp
|
||||
<(src_loc)/passport/passport_panel_password.h
|
||||
<(src_loc)/platform/linux/linux_desktop_environment.cpp
|
||||
<(src_loc)/platform/linux/linux_desktop_environment.h
|
||||
<(src_loc)/platform/linux/linux_gdk_helper.cpp
|
||||
<(src_loc)/platform/linux/linux_gdk_helper.h
|
||||
<(src_loc)/platform/linux/linux_libs.cpp
|
||||
<(src_loc)/platform/linux/linux_libs.h
|
||||
<(src_loc)/platform/linux/file_utilities_linux.cpp
|
||||
<(src_loc)/platform/linux/file_utilities_linux.h
|
||||
<(src_loc)/platform/linux/launcher_linux.cpp
|
||||
<(src_loc)/platform/linux/launcher_linux.h
|
||||
<(src_loc)/platform/linux/main_window_linux.cpp
|
||||
<(src_loc)/platform/linux/main_window_linux.h
|
||||
<(src_loc)/platform/linux/notifications_manager_linux.cpp
|
||||
<(src_loc)/platform/linux/notifications_manager_linux.h
|
||||
<(src_loc)/platform/linux/specific_linux.cpp
|
||||
<(src_loc)/platform/linux/specific_linux.h
|
||||
<(src_loc)/platform/mac/file_utilities_mac.mm
|
||||
<(src_loc)/platform/mac/file_utilities_mac.h
|
||||
<(src_loc)/platform/mac/launcher_mac.mm
|
||||
<(src_loc)/platform/mac/launcher_mac.h
|
||||
<(src_loc)/platform/mac/mac_iconv_helper.c
|
||||
<(src_loc)/platform/mac/main_window_mac.mm
|
||||
<(src_loc)/platform/mac/main_window_mac.h
|
||||
<(src_loc)/platform/mac/notifications_manager_mac.mm
|
||||
<(src_loc)/platform/mac/notifications_manager_mac.h
|
||||
<(src_loc)/platform/mac/specific_mac.mm
|
||||
<(src_loc)/platform/mac/specific_mac.h
|
||||
<(src_loc)/platform/mac/specific_mac_p.mm
|
||||
<(src_loc)/platform/mac/specific_mac_p.h
|
||||
<(src_loc)/platform/mac/window_title_mac.mm
|
||||
<(src_loc)/platform/mac/window_title_mac.h
|
||||
<(src_loc)/platform/mac/mac_touchbar.h
|
||||
<(src_loc)/platform/mac/mac_touchbar.mm
|
||||
<(src_loc)/platform/win/audio_win.cpp
|
||||
<(src_loc)/platform/win/audio_win.h
|
||||
<(src_loc)/platform/win/file_utilities_win.cpp
|
||||
<(src_loc)/platform/win/file_utilities_win.h
|
||||
<(src_loc)/platform/win/launcher_win.cpp
|
||||
<(src_loc)/platform/win/launcher_win.h
|
||||
<(src_loc)/platform/win/main_window_win.cpp
|
||||
<(src_loc)/platform/win/main_window_win.h
|
||||
<(src_loc)/platform/win/notifications_manager_win.cpp
|
||||
<(src_loc)/platform/win/notifications_manager_win.h
|
||||
<(src_loc)/platform/win/specific_win.cpp
|
||||
<(src_loc)/platform/win/specific_win.h
|
||||
<(src_loc)/platform/win/window_title_win.cpp
|
||||
<(src_loc)/platform/win/window_title_win.h
|
||||
<(src_loc)/platform/win/windows_app_user_model_id.cpp
|
||||
<(src_loc)/platform/win/windows_app_user_model_id.h
|
||||
<(src_loc)/platform/win/windows_dlls.cpp
|
||||
<(src_loc)/platform/win/windows_dlls.h
|
||||
<(src_loc)/platform/win/windows_event_filter.cpp
|
||||
<(src_loc)/platform/win/windows_event_filter.h
|
||||
<(src_loc)/platform/win/wrapper_wrl_implements_h.h
|
||||
<(src_loc)/platform/platform_audio.h
|
||||
<(src_loc)/platform/platform_file_utilities.h
|
||||
<(src_loc)/platform/platform_launcher.h
|
||||
<(src_loc)/platform/platform_main_window.h
|
||||
<(src_loc)/platform/platform_notifications_manager.h
|
||||
<(src_loc)/platform/platform_specific.h
|
||||
<(src_loc)/platform/platform_window_title.h
|
||||
<(src_loc)/profile/profile_back_button.cpp
|
||||
<(src_loc)/profile/profile_back_button.h
|
||||
<(src_loc)/profile/profile_block_group_members.cpp
|
||||
<(src_loc)/profile/profile_block_group_members.h
|
||||
<(src_loc)/profile/profile_block_peer_list.cpp
|
||||
<(src_loc)/profile/profile_block_peer_list.h
|
||||
<(src_loc)/profile/profile_block_widget.cpp
|
||||
<(src_loc)/profile/profile_block_widget.h
|
||||
<(src_loc)/profile/profile_cover_drop_area.cpp
|
||||
<(src_loc)/profile/profile_cover_drop_area.h
|
||||
<(src_loc)/settings/settings_advanced.cpp
|
||||
<(src_loc)/settings/settings_advanced.h
|
||||
<(src_loc)/settings/settings_chat.cpp
|
||||
<(src_loc)/settings/settings_chat.h
|
||||
<(src_loc)/settings/settings_calls.cpp
|
||||
<(src_loc)/settings/settings_calls.h
|
||||
<(src_loc)/settings/settings_codes.cpp
|
||||
<(src_loc)/settings/settings_codes.h
|
||||
<(src_loc)/settings/settings_common.cpp
|
||||
<(src_loc)/settings/settings_common.h
|
||||
<(src_loc)/settings/settings_information.cpp
|
||||
<(src_loc)/settings/settings_information.h
|
||||
<(src_loc)/settings/settings_intro.cpp
|
||||
<(src_loc)/settings/settings_intro.h
|
||||
<(src_loc)/settings/settings_main.cpp
|
||||
<(src_loc)/settings/settings_main.h
|
||||
<(src_loc)/settings/settings_notifications.cpp
|
||||
<(src_loc)/settings/settings_notifications.h
|
||||
<(src_loc)/settings/settings_privacy_controllers.cpp
|
||||
<(src_loc)/settings/settings_privacy_controllers.h
|
||||
<(src_loc)/settings/settings_privacy_security.cpp
|
||||
<(src_loc)/settings/settings_privacy_security.h
|
||||
<(src_loc)/storage/download_manager_mtproto.cpp
|
||||
<(src_loc)/storage/download_manager_mtproto.h
|
||||
<(src_loc)/storage/file_download.cpp
|
||||
<(src_loc)/storage/file_download.h
|
||||
<(src_loc)/storage/file_download_mtproto.cpp
|
||||
<(src_loc)/storage/file_download_mtproto.h
|
||||
<(src_loc)/storage/file_download_web.cpp
|
||||
<(src_loc)/storage/file_download_web.h
|
||||
<(src_loc)/storage/file_upload.cpp
|
||||
<(src_loc)/storage/file_upload.h
|
||||
<(src_loc)/storage/localimageloader.cpp
|
||||
<(src_loc)/storage/localimageloader.h
|
||||
<(src_loc)/storage/localstorage.cpp
|
||||
<(src_loc)/storage/localstorage.h
|
||||
<(src_loc)/storage/serialize_common.cpp
|
||||
<(src_loc)/storage/serialize_common.h
|
||||
<(src_loc)/storage/serialize_document.cpp
|
||||
<(src_loc)/storage/serialize_document.h
|
||||
<(src_loc)/storage/storage_facade.cpp
|
||||
<(src_loc)/storage/storage_facade.h
|
||||
//<(src_loc)/storage/storage_feed_messages.cpp
|
||||
//<(src_loc)/storage/storage_feed_messages.h
|
||||
<(src_loc)/storage/storage_media_prepare.cpp
|
||||
<(src_loc)/storage/storage_media_prepare.h
|
||||
<(src_loc)/storage/storage_shared_media.cpp
|
||||
<(src_loc)/storage/storage_shared_media.h
|
||||
<(src_loc)/storage/storage_sparse_ids_list.cpp
|
||||
<(src_loc)/storage/storage_sparse_ids_list.h
|
||||
<(src_loc)/storage/storage_user_photos.cpp
|
||||
<(src_loc)/storage/storage_user_photos.h
|
||||
<(src_loc)/storage/streamed_file_downloader.cpp
|
||||
<(src_loc)/storage/streamed_file_downloader.h
|
||||
<(src_loc)/support/support_autocomplete.cpp
|
||||
<(src_loc)/support/support_autocomplete.h
|
||||
<(src_loc)/support/support_common.cpp
|
||||
<(src_loc)/support/support_common.h
|
||||
<(src_loc)/support/support_helper.cpp
|
||||
<(src_loc)/support/support_helper.h
|
||||
<(src_loc)/support/support_templates.cpp
|
||||
<(src_loc)/support/support_templates.h
|
||||
<(src_loc)/ui/effects/round_checkbox.cpp
|
||||
<(src_loc)/ui/effects/round_checkbox.h
|
||||
<(src_loc)/ui/effects/send_action_animations.cpp
|
||||
<(src_loc)/ui/effects/send_action_animations.h
|
||||
<(src_loc)/ui/image/image.cpp
|
||||
<(src_loc)/ui/image/image.h
|
||||
<(src_loc)/ui/image/image_location.cpp
|
||||
<(src_loc)/ui/image/image_location.h
|
||||
<(src_loc)/ui/image/image_source.cpp
|
||||
<(src_loc)/ui/image/image_source.h
|
||||
<(src_loc)/ui/widgets/continuous_sliders.cpp
|
||||
<(src_loc)/ui/widgets/continuous_sliders.h
|
||||
<(src_loc)/ui/widgets/discrete_sliders.cpp
|
||||
<(src_loc)/ui/widgets/discrete_sliders.h
|
||||
<(src_loc)/ui/widgets/level_meter.cpp
|
||||
<(src_loc)/ui/widgets/level_meter.h
|
||||
<(src_loc)/ui/widgets/multi_select.cpp
|
||||
<(src_loc)/ui/widgets/multi_select.h
|
||||
<(src_loc)/ui/widgets/separate_panel.cpp
|
||||
<(src_loc)/ui/widgets/separate_panel.h
|
||||
<(src_loc)/ui/countryinput.cpp
|
||||
<(src_loc)/ui/countryinput.h
|
||||
<(src_loc)/ui/empty_userpic.cpp
|
||||
<(src_loc)/ui/empty_userpic.h
|
||||
<(src_loc)/ui/grouped_layout.cpp
|
||||
<(src_loc)/ui/grouped_layout.h
|
||||
<(src_loc)/ui/resize_area.h
|
||||
<(src_loc)/ui/search_field_controller.cpp
|
||||
<(src_loc)/ui/search_field_controller.h
|
||||
<(src_loc)/ui/special_buttons.cpp
|
||||
<(src_loc)/ui/special_buttons.h
|
||||
<(src_loc)/ui/special_fields.cpp
|
||||
<(src_loc)/ui/special_fields.h
|
||||
<(src_loc)/ui/text_options.cpp
|
||||
<(src_loc)/ui/text_options.h
|
||||
<(src_loc)/ui/unread_badge.cpp
|
||||
<(src_loc)/ui/unread_badge.h
|
||||
<(src_loc)/window/main_window.cpp
|
||||
<(src_loc)/window/main_window.h
|
||||
<(src_loc)/window/notifications_manager.cpp
|
||||
<(src_loc)/window/notifications_manager.h
|
||||
<(src_loc)/window/notifications_manager_default.cpp
|
||||
<(src_loc)/window/notifications_manager_default.h
|
||||
<(src_loc)/window/notifications_utilities.cpp
|
||||
<(src_loc)/window/notifications_utilities.h
|
||||
<(src_loc)/window/section_memento.h
|
||||
<(src_loc)/window/section_widget.cpp
|
||||
<(src_loc)/window/section_widget.h
|
||||
<(src_loc)/window/window_connecting_widget.cpp
|
||||
<(src_loc)/window/window_connecting_widget.h
|
||||
<(src_loc)/window/window_controller.cpp
|
||||
<(src_loc)/window/window_controller.h
|
||||
<(src_loc)/window/window_history_hider.cpp
|
||||
<(src_loc)/window/window_history_hider.h
|
||||
<(src_loc)/window/window_lock_widgets.cpp
|
||||
<(src_loc)/window/window_lock_widgets.h
|
||||
<(src_loc)/window/window_main_menu.cpp
|
||||
<(src_loc)/window/window_main_menu.h
|
||||
<(src_loc)/window/window_media_preview.cpp
|
||||
<(src_loc)/window/window_media_preview.h
|
||||
<(src_loc)/window/window_outdated_bar.cpp
|
||||
<(src_loc)/window/window_outdated_bar.h
|
||||
<(src_loc)/window/window_peer_menu.cpp
|
||||
<(src_loc)/window/window_peer_menu.h
|
||||
<(src_loc)/window/window_session_controller.cpp
|
||||
<(src_loc)/window/window_session_controller.h
|
||||
<(src_loc)/window/window_slide_animation.cpp
|
||||
<(src_loc)/window/window_slide_animation.h
|
||||
<(src_loc)/window/window_title.h
|
||||
<(src_loc)/window/window_top_bar_wrap.h
|
||||
<(src_loc)/window/themes/window_theme.cpp
|
||||
<(src_loc)/window/themes/window_theme.h
|
||||
<(src_loc)/window/themes/window_theme_editor.cpp
|
||||
<(src_loc)/window/themes/window_theme_editor.h
|
||||
<(src_loc)/window/themes/window_theme_editor_block.cpp
|
||||
<(src_loc)/window/themes/window_theme_editor_block.h
|
||||
<(src_loc)/window/themes/window_theme_editor_box.cpp
|
||||
<(src_loc)/window/themes/window_theme_editor_box.h
|
||||
<(src_loc)/window/themes/window_theme_preview.cpp
|
||||
<(src_loc)/window/themes/window_theme_preview.h
|
||||
<(src_loc)/window/themes/window_theme_warning.cpp
|
||||
<(src_loc)/window/themes/window_theme_warning.h
|
||||
<(src_loc)/window/themes/window_themes_cloud_list.cpp
|
||||
<(src_loc)/window/themes/window_themes_cloud_list.h
|
||||
<(src_loc)/window/themes/window_themes_embedded.cpp
|
||||
<(src_loc)/window/themes/window_themes_embedded.h
|
||||
<(src_loc)/window/themes/window_themes_generate_name.cpp
|
||||
<(src_loc)/window/themes/window_themes_generate_name.h
|
||||
<(src_loc)/apiwrap.cpp
|
||||
<(src_loc)/apiwrap.h
|
||||
<(src_loc)/app.cpp
|
||||
<(src_loc)/app.h
|
||||
<(src_loc)/config.h
|
||||
<(src_loc)/facades.cpp
|
||||
<(src_loc)/facades.h
|
||||
<(src_loc)/layout.cpp
|
||||
<(src_loc)/layout.h
|
||||
<(src_loc)/logs.cpp
|
||||
<(src_loc)/logs.h
|
||||
<(src_loc)/main.cpp
|
||||
<(src_loc)/mainwidget.cpp
|
||||
<(src_loc)/mainwidget.h
|
||||
<(src_loc)/mainwindow.cpp
|
||||
<(src_loc)/mainwindow.h
|
||||
<(src_loc)/observer_peer.cpp
|
||||
<(src_loc)/observer_peer.h
|
||||
<(src_loc)/qt_static_plugins.cpp
|
||||
<(src_loc)/settings.cpp
|
||||
<(src_loc)/settings.h
|
||||
|
||||
platforms: !win
|
||||
<(minizip_loc)/crypt.h
|
||||
<(minizip_loc)/ioapi.c
|
||||
<(minizip_loc)/ioapi.h
|
||||
<(minizip_loc)/zip.c
|
||||
<(minizip_loc)/zip.h
|
||||
<(minizip_loc)/unzip.c
|
||||
<(minizip_loc)/unzip.h
|
||||
|
||||
platforms: win
|
||||
<(res_loc)/winrc/Telegram.rc
|
||||
|
||||
platforms: mac
|
||||
<(sp_media_key_tap_loc)/SPMediaKeyTap.m
|
||||
<(sp_media_key_tap_loc)/SPMediaKeyTap.h
|
||||
<(sp_media_key_tap_loc)/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.m
|
||||
<(sp_media_key_tap_loc)/SPInvocationGrabbing/NSObject+SPInvocationGrabbing.h
|
@ -1,64 +0,0 @@
|
||||
# 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
|
||||
|
||||
{
|
||||
'conditions': [[ 'build_win', {
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/ffmpeg',
|
||||
],
|
||||
'libraries': [
|
||||
'-lzlibstat',
|
||||
'-lLzmaLib',
|
||||
'-lUxTheme',
|
||||
'-lDbgHelp',
|
||||
'-lOpenAL32',
|
||||
'-lopus',
|
||||
'-lRstrtmgr',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
'AdditionalOptions': [
|
||||
'libavformat/libavformat.a',
|
||||
'libavcodec/libavcodec.a',
|
||||
'libavutil/libavutil.a',
|
||||
'libswresample/libswresample.a',
|
||||
'libswscale/libswscale.a',
|
||||
'windows/common.lib',
|
||||
'windows/handler/exception_handler.lib',
|
||||
'windows/crash_generation/crash_generation_client.lib',
|
||||
],
|
||||
},
|
||||
'VCManifestTool': {
|
||||
'AdditionalManifestFiles': '<(res_loc)/winrc/Telegram.manifest',
|
||||
}
|
||||
},
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
||||
'<(libs_loc)/opus/win32/VS2015/Win32/Debug',
|
||||
'<(libs_loc)/openal-soft/build/Debug',
|
||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
||||
'<(libs_loc)/breakpad/src/out/Debug/obj/client',
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
||||
'<(libs_loc)/opus/win32/VS2015/Win32/Release',
|
||||
'<(libs_loc)/openal-soft/build/Release',
|
||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
||||
'<(libs_loc)/breakpad/src/out/Release/obj/client',
|
||||
],
|
||||
},
|
||||
},
|
||||
}], [ 'build_uwp', {
|
||||
'defines': [
|
||||
'TDESKTOP_DISABLE_AUTOUPDATE',
|
||||
'OS_WIN_STORE',
|
||||
]
|
||||
}]],
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# 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': [
|
||||
'../helpers/common/executable.gypi',
|
||||
'../helpers/modules/qt.gypi',
|
||||
],
|
||||
'dependencies': [
|
||||
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(third_party_loc)/Catch/include',
|
||||
],
|
||||
'sources': [
|
||||
'<(submodules_loc)/lib_base/base/tests_main.cpp',
|
||||
],
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
'''
|
||||
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
|
||||
'''
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
import codecs
|
||||
|
||||
def eprint(*args, **kwargs):
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
sys.exit(1)
|
||||
|
||||
my_path = os.path.dirname(os.path.realpath(__file__)).replace('\\', '/')
|
||||
|
||||
next_input_path = 0
|
||||
input_path = ''
|
||||
write_sources = 0
|
||||
next_self = 1
|
||||
for arg in sys.argv:
|
||||
if next_self != 0:
|
||||
next_self = 0
|
||||
continue
|
||||
|
||||
if arg == '--sources':
|
||||
write_sources = 1
|
||||
continue
|
||||
|
||||
if arg == '--input':
|
||||
next_input_path = 1
|
||||
continue
|
||||
elif next_input_path == 1:
|
||||
next_input_path = 0
|
||||
input_path = arg
|
||||
continue
|
||||
|
||||
tests_names = []
|
||||
|
||||
if input_path != '':
|
||||
if not os.path.isfile(input_path):
|
||||
eprint('Input path not found.')
|
||||
else:
|
||||
with open(input_path, 'r') as f:
|
||||
for line in f:
|
||||
test_name = line.strip()
|
||||
if test_name[0:2] != '//' and test_name != '':
|
||||
tests_names.append(test_name)
|
||||
|
||||
if write_sources != 0:
|
||||
tests_path = my_path + '/';
|
||||
if not os.path.isdir(tests_path):
|
||||
os.mkdir(tests_path)
|
||||
for test_name in tests_names:
|
||||
test_path = tests_path + test_name + '.test'
|
||||
if not os.path.isfile(test_path):
|
||||
with open(test_path, 'w') as out:
|
||||
out.write('1')
|
||||
print(test_name + '.test')
|
||||
else:
|
||||
for test_name in tests_names:
|
||||
print(test_name)
|
@ -1,148 +0,0 @@
|
||||
# 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': [
|
||||
'../helpers/common/common.gypi',
|
||||
],
|
||||
'variables': {
|
||||
'src_loc': '../../SourceFiles',
|
||||
'base_loc': '<(submodules_loc)/lib_base',
|
||||
'rpl_loc': '<(submodules_loc)/lib_rpl',
|
||||
'mac_target': '10.12',
|
||||
'list_tests_command': 'python <(DEPTH)/tests/list_tests.py --input <(DEPTH)/tests/tests_list.txt',
|
||||
},
|
||||
'targets': [{
|
||||
'target_name': 'tests',
|
||||
'type': 'none',
|
||||
'includes': [
|
||||
'../helpers/common/common.gypi',
|
||||
],
|
||||
'dependencies': [
|
||||
'<!@(<(list_tests_command))',
|
||||
'tests_storage',
|
||||
],
|
||||
'sources': [
|
||||
'<!@(<(list_tests_command) --sources)',
|
||||
],
|
||||
'rules': [{
|
||||
'rule_name': 'run_tests',
|
||||
'extension': 'test',
|
||||
'inputs': [
|
||||
'<(PRODUCT_DIR)/<(RULE_INPUT_ROOT)<(exe_ext)',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).timestamp',
|
||||
],
|
||||
'action': [
|
||||
'<(PRODUCT_DIR)/<(RULE_INPUT_ROOT)<(exe_ext)',
|
||||
'--touch', '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).timestamp',
|
||||
],
|
||||
'message': 'Running <(RULE_INPUT_ROOT)..',
|
||||
}]
|
||||
}, {
|
||||
'target_name': 'tests_algorithm',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<(base_loc)/base/algorithm.h',
|
||||
'<(base_loc)/base/algorithm_tests.cpp',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'tests_flags',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<(base_loc)/base/flags.h',
|
||||
'<(base_loc)/base/flags_tests.cpp',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'tests_flat_map',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<(base_loc)/base/flat_map.h',
|
||||
'<(base_loc)/base/flat_map_tests.cpp',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'tests_flat_set',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<(base_loc)/base/flat_set.h',
|
||||
'<(base_loc)/base/flat_set_tests.cpp',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'tests_rpl',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
],
|
||||
'sources': [
|
||||
'<(rpl_loc)/rpl/details/callable.h',
|
||||
'<(rpl_loc)/rpl/details/superset_type.h',
|
||||
'<(rpl_loc)/rpl/details/type_list.h',
|
||||
'<(rpl_loc)/rpl/after_next.h',
|
||||
'<(rpl_loc)/rpl/before_next.h',
|
||||
'<(rpl_loc)/rpl/combine.h',
|
||||
'<(rpl_loc)/rpl/combine_previous.h',
|
||||
'<(rpl_loc)/rpl/complete.h',
|
||||
'<(rpl_loc)/rpl/conditional.h',
|
||||
'<(rpl_loc)/rpl/consumer.h',
|
||||
'<(rpl_loc)/rpl/deferred.h',
|
||||
'<(rpl_loc)/rpl/distinct_until_changed.h',
|
||||
'<(rpl_loc)/rpl/event_stream.h',
|
||||
'<(rpl_loc)/rpl/fail.h',
|
||||
'<(rpl_loc)/rpl/filter.h',
|
||||
'<(rpl_loc)/rpl/flatten_latest.h',
|
||||
'<(rpl_loc)/rpl/lifetime.h',
|
||||
'<(rpl_loc)/rpl/map.h',
|
||||
'<(rpl_loc)/rpl/mappers.h',
|
||||
'<(rpl_loc)/rpl/merge.h',
|
||||
'<(rpl_loc)/rpl/never.h',
|
||||
'<(rpl_loc)/rpl/operators_tests.cpp',
|
||||
'<(rpl_loc)/rpl/producer.h',
|
||||
'<(rpl_loc)/rpl/producer_tests.cpp',
|
||||
'<(rpl_loc)/rpl/range.h',
|
||||
'<(rpl_loc)/rpl/rpl.h',
|
||||
'<(rpl_loc)/rpl/skip.h',
|
||||
'<(rpl_loc)/rpl/take.h',
|
||||
'<(rpl_loc)/rpl/then.h',
|
||||
'<(rpl_loc)/rpl/type_erased.h',
|
||||
'<(rpl_loc)/rpl/variable.h',
|
||||
'<(rpl_loc)/rpl/variable_tests.cpp',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'tests_storage',
|
||||
'includes': [
|
||||
'common_test.gypi',
|
||||
'../helpers/modules/openssl.gypi',
|
||||
],
|
||||
'dependencies': [
|
||||
'../lib_storage.gyp:lib_storage',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/storage/storage_encrypted_file_tests.cpp',
|
||||
'<(src_loc)/storage/cache/storage_cache_database_tests.cpp',
|
||||
'<(src_loc)/platform/win/windows_dlls.cpp',
|
||||
'<(src_loc)/platform/win/windows_dlls.h',
|
||||
],
|
||||
'conditions': [[ 'not build_win', {
|
||||
'sources!': [
|
||||
'<(src_loc)/platform/win/windows_dlls.cpp',
|
||||
'<(src_loc)/platform/win/windows_dlls.h',
|
||||
],
|
||||
}], [ 'build_linux', {
|
||||
'libraries': [
|
||||
'<(linux_lib_ssl)',
|
||||
'<(linux_lib_crypto)',
|
||||
],
|
||||
}]],
|
||||
}],
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
tests_algorithm
|
||||
tests_flags
|
||||
tests_flat_map
|
||||
tests_flat_set
|
||||
tests_rpl
|
@ -1,145 +0,0 @@
|
||||
# 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': [
|
||||
'helpers/common/common.gypi',
|
||||
],
|
||||
'targets': [{
|
||||
'target_name': 'Updater',
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'res_loc': '../Resources',
|
||||
},
|
||||
'includes': [
|
||||
'helpers/common/executable.gypi',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/_other/updater_win.cpp',
|
||||
'<(src_loc)/_other/updater.h',
|
||||
'<(src_loc)/_other/updater_linux.cpp',
|
||||
'<(src_loc)/_other/updater_osx.m',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'build_win', {
|
||||
'sources': [
|
||||
'<(res_loc)/winrc/Updater.rc',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_linux)" != "1"', {
|
||||
'sources!': [
|
||||
'<(src_loc)/_other/updater_linux.cpp',
|
||||
],
|
||||
}, {
|
||||
'ldflags': [
|
||||
'-static-libstdc++',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_mac)" != "1"', {
|
||||
'sources!': [
|
||||
'<(src_loc)/_other/updater_osx.m',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_win)" != "1"', {
|
||||
'sources!': [
|
||||
'<(src_loc)/_other/updater_win.cpp',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}, {
|
||||
'target_name': 'Packer',
|
||||
'variables': {
|
||||
'src_loc': '../SourceFiles',
|
||||
'mac_target': '10.12',
|
||||
},
|
||||
'includes': [
|
||||
'helpers/common/executable.gypi',
|
||||
'helpers/modules/qt.gypi',
|
||||
'helpers/modules/openssl.gypi',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'build_win', {
|
||||
'libraries': [
|
||||
'zlibstat',
|
||||
'LzmaLib',
|
||||
],
|
||||
}],
|
||||
[ 'build_linux', {
|
||||
'libraries': [
|
||||
'<(linux_lib_ssl)',
|
||||
'<(linux_lib_crypto)',
|
||||
'lzma',
|
||||
],
|
||||
}],
|
||||
[ 'build_mac', {
|
||||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-llzma',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(src_loc)',
|
||||
'<(libs_loc)/lzma/C',
|
||||
'<(libs_loc)/zlib',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/_other/packer.cpp',
|
||||
'<(src_loc)/_other/packer.h',
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'conditions': [
|
||||
[ 'build_win', {
|
||||
'include_dirs': [
|
||||
'<(libs_loc)/openssl/inc32',
|
||||
],
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/openssl/out32.dbg',
|
||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
||||
],
|
||||
}, {
|
||||
'include_dirs': [
|
||||
'/usr/local/include',
|
||||
'<(libs_loc)/openssl/include'
|
||||
],
|
||||
'library_dirs': [
|
||||
'/usr/local/lib',
|
||||
],
|
||||
}]
|
||||
],
|
||||
},
|
||||
'Release': {
|
||||
'conditions': [
|
||||
[ 'build_win', {
|
||||
'include_dirs': [
|
||||
'<(libs_loc)/openssl/inc32',
|
||||
],
|
||||
'library_dirs': [
|
||||
'<(libs_loc)/openssl/out32',
|
||||
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
||||
],
|
||||
}, {
|
||||
'include_dirs': [
|
||||
'/usr/local/include',
|
||||
'<(libs_loc)/openssl/include'
|
||||
],
|
||||
'library_dirs': [
|
||||
'/usr/local/lib',
|
||||
],
|
||||
}]
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
}
|
@ -1 +1 @@
|
||||
Subproject commit 8ba86078fbe71ab857ee1b6e35acc4def4cc0d1c
|
||||
Subproject commit 9f8f5465d2178c5c0df9f0f0e93de87798e7237a
|
@ -1 +1 @@
|
||||
Subproject commit 5a740bf0b7fe8f1f9a7f3e0878d5238f56502da1
|
||||
Subproject commit 83ce48f25b3056a1bdbbea64244e3d8f997f51c6
|
@ -1 +1 @@
|
||||
Subproject commit a0a0269ffa44d1e23f0911eaeb286004a075b089
|
||||
Subproject commit 2d75b1a35a984f2a0379acbd0869b50b66acdf3c
|
@ -1 +1 @@
|
||||
Subproject commit c0a113a379df7aa52da09bd5bf4e20343e660f04
|
||||
Subproject commit 5f8ee69bebf3a249ecd0cbfe59d01a223acdf274
|
@ -1 +1 @@
|
||||
Subproject commit cb56ad46ca1bee22570a7f3f64d21531283ad84d
|
||||
Subproject commit 57027c7d6c071f0d958576a530c7c0411d8d4274
|
@ -1 +1 @@
|
||||
Subproject commit b0388a1a02b3f035f1486a6b66a01522c290b198
|
||||
Subproject commit 404c83d77e5edb8a39f8e9f56a6340960fe5070e
|
@ -1 +1 @@
|
||||
Subproject commit f401e8c08530fc7612548bac0e9f4325905c83f0
|
||||
Subproject commit 593c50f623113f4f8bac7a10399e6b3da92be7cd
|
2
cmake
2
cmake
@ -1 +1 @@
|
||||
Subproject commit e4214668a510436cd9ee82f0331fd1c3715850ab
|
||||
Subproject commit 7b68f17156842a052ec8d9094d47cbbb5744e3a1
|
Loading…
Reference in New Issue
Block a user