# 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', ], 'build_defines%': '', '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', '<(third_party_loc)/libtgvoip/libtgvoip.gyp:libtgvoip', 'tests/tests.gyp:tests', 'utils.gyp:Updater', 'lib_export.gyp:lib_export', 'lib_storage.gyp:lib_storage', 'lib_lottie.gyp:lib_lottie', '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)', '