tdesktop/Telegram/gyp/lib_ui.gyp

79 lines
2.4 KiB
Python

# This file is part of Telegram Desktop,
# the official desktop application for the Telegram messaging service.
#
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
{
'includes': [
'common.gypi',
],
'targets': [{
'target_name': 'lib_ui',
'type': 'static_library',
'hard_dependency': 1,
'includes': [
'common.gypi',
'qt.gypi',
'qt_moc.gypi',
'codegen_rules_ui.gypi',
'pch.gypi',
],
'dependencies': [
'codegen.gyp:codegen_emoji',
'codegen.gyp:codegen_style',
'crl.gyp:crl',
],
'variables': {
'variables': {
'libs_loc': '../../../Libraries',
},
'libs_loc': '<(libs_loc)',
'src_loc': '../SourceFiles',
'res_loc': '../Resources',
'official_build_target%': '',
'submodules_loc': '../ThirdParty',
'emoji_suggestions_loc': '<(submodules_loc)/emoji_suggestions',
'style_files': [
'<(res_loc)/colors.palette',
'<(res_loc)/basic.style',
'<(src_loc)/ui/widgets/widgets.style',
],
'dependent_style_files': [
],
'style_timestamp': '<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles_ui.timestamp',
'pch_source': '<(src_loc)/ui/ui_pch.cpp',
'pch_header': '<(src_loc)/ui/ui_pch.h',
},
'defines': [
],
'include_dirs': [
'<(src_loc)',
'<(SHARED_INTERMEDIATE_DIR)',
'<(libs_loc)/range-v3/include',
'<(submodules_loc)/GSL/include',
'<(submodules_loc)/variant/include',
'<(submodules_loc)/crl/src',
'<(emoji_suggestions_loc)',
],
'sources': [
'<@(style_files)',
'<(src_loc)/ui/style/style_core.cpp',
'<(src_loc)/ui/style/style_core.h',
'<(src_loc)/ui/style/style_core_color.cpp',
'<(src_loc)/ui/style/style_core_color.h',
'<(src_loc)/ui/style/style_core_font.cpp',
'<(src_loc)/ui/style/style_core_font.h',
'<(src_loc)/ui/style/style_core_icon.cpp',
'<(src_loc)/ui/style/style_core_icon.h',
'<(src_loc)/ui/style/style_core_scale.cpp',
'<(src_loc)/ui/style/style_core_scale.h',
'<(src_loc)/ui/style/style_core_types.cpp',
'<(src_loc)/ui/style/style_core_types.h',
'<(src_loc)/ui/painter.h',
'<(emoji_suggestions_loc)/emoji_suggestions.cpp',
'<(emoji_suggestions_loc)/emoji_suggestions.h',
],
}],
}