mirror of https://github.com/procxx/kepka.git
Include only required moc_*.cpp in the build.
Use a python script to generate the list of sources to build. Now we don't include moc_*.cpp files in build by default, instead we list only non-empty ones. If you change a header so that the corresponding moc_*.cpp changes its emptyness you may need to gyp/refresh to apply this change. This should speed up the build significantly on GCC.
This commit is contained in:
parent
2e17b480a5
commit
929c55a2a1
|
@ -60,6 +60,7 @@
|
|||
'pt-BR',
|
||||
],
|
||||
'build_defines%': '',
|
||||
'list_sources_command': 'python <(DEPTH)/list_sources.py --input <(DEPTH)/telegram_sources.txt --replace src_loc=<(src_loc)',
|
||||
},
|
||||
'includes': [
|
||||
'common_executable.gypi',
|
||||
|
@ -101,514 +102,10 @@
|
|||
'sources': [
|
||||
'<@(qrc_files)',
|
||||
'<@(style_files)',
|
||||
'<(src_loc)/boxes/aboutbox.cpp',
|
||||
'<(src_loc)/boxes/aboutbox.h',
|
||||
'<(src_loc)/boxes/abstractbox.cpp',
|
||||
'<(src_loc)/boxes/abstractbox.h',
|
||||
'<(src_loc)/boxes/addcontactbox.cpp',
|
||||
'<(src_loc)/boxes/addcontactbox.h',
|
||||
'<(src_loc)/boxes/autolockbox.cpp',
|
||||
'<(src_loc)/boxes/autolockbox.h',
|
||||
'<(src_loc)/boxes/backgroundbox.cpp',
|
||||
'<(src_loc)/boxes/backgroundbox.h',
|
||||
'<(src_loc)/boxes/calendarbox.cpp',
|
||||
'<(src_loc)/boxes/calendarbox.h',
|
||||
'<(src_loc)/boxes/confirmbox.cpp',
|
||||
'<(src_loc)/boxes/confirmbox.h',
|
||||
'<(src_loc)/boxes/confirmphonebox.cpp',
|
||||
'<(src_loc)/boxes/confirmphonebox.h',
|
||||
'<(src_loc)/boxes/connectionbox.cpp',
|
||||
'<(src_loc)/boxes/connectionbox.h',
|
||||
'<(src_loc)/boxes/contactsbox.cpp',
|
||||
'<(src_loc)/boxes/contactsbox.h',
|
||||
'<(src_loc)/boxes/downloadpathbox.cpp',
|
||||
'<(src_loc)/boxes/downloadpathbox.h',
|
||||
'<(src_loc)/boxes/editcolorbox.cpp',
|
||||
'<(src_loc)/boxes/editcolorbox.h',
|
||||
'<(src_loc)/boxes/emojibox.cpp',
|
||||
'<(src_loc)/boxes/emojibox.h',
|
||||
'<(src_loc)/boxes/languagebox.cpp',
|
||||
'<(src_loc)/boxes/languagebox.h',
|
||||
'<(src_loc)/boxes/localstoragebox.cpp',
|
||||
'<(src_loc)/boxes/localstoragebox.h',
|
||||
'<(src_loc)/boxes/members_box.cpp',
|
||||
'<(src_loc)/boxes/members_box.h',
|
||||
'<(src_loc)/boxes/notifications_box.cpp',
|
||||
'<(src_loc)/boxes/notifications_box.h',
|
||||
'<(src_loc)/boxes/passcodebox.cpp',
|
||||
'<(src_loc)/boxes/passcodebox.h',
|
||||
'<(src_loc)/boxes/photocropbox.cpp',
|
||||
'<(src_loc)/boxes/photocropbox.h',
|
||||
'<(src_loc)/boxes/report_box.cpp',
|
||||
'<(src_loc)/boxes/report_box.h',
|
||||
'<(src_loc)/boxes/send_files_box.cpp',
|
||||
'<(src_loc)/boxes/send_files_box.h',
|
||||
'<(src_loc)/boxes/sessionsbox.cpp',
|
||||
'<(src_loc)/boxes/sessionsbox.h',
|
||||
'<(src_loc)/boxes/sharebox.cpp',
|
||||
'<(src_loc)/boxes/sharebox.h',
|
||||
'<(src_loc)/boxes/stickersetbox.cpp',
|
||||
'<(src_loc)/boxes/stickersetbox.h',
|
||||
'<(src_loc)/boxes/stickers_box.cpp',
|
||||
'<(src_loc)/boxes/stickers_box.h',
|
||||
'<(src_loc)/boxes/usernamebox.cpp',
|
||||
'<(src_loc)/boxes/usernamebox.h',
|
||||
'<(src_loc)/core/build_config.h',
|
||||
'<(src_loc)/core/basic_types.h',
|
||||
'<(src_loc)/core/click_handler.cpp',
|
||||
'<(src_loc)/core/click_handler.h',
|
||||
'<(src_loc)/core/click_handler_types.cpp',
|
||||
'<(src_loc)/core/click_handler_types.h',
|
||||
'<(src_loc)/core/file_utilities.cpp',
|
||||
'<(src_loc)/core/file_utilities.h',
|
||||
'<(src_loc)/core/lambda.h',
|
||||
'<(src_loc)/core/observer.cpp',
|
||||
'<(src_loc)/core/observer.h',
|
||||
'<(src_loc)/core/ordered_set.h',
|
||||
'<(src_loc)/core/parse_helper.cpp',
|
||||
'<(src_loc)/core/parse_helper.h',
|
||||
'<(src_loc)/core/qthelp_regex.h',
|
||||
'<(src_loc)/core/qthelp_url.cpp',
|
||||
'<(src_loc)/core/qthelp_url.h',
|
||||
'<(src_loc)/core/runtime_composer.cpp',
|
||||
'<(src_loc)/core/runtime_composer.h',
|
||||
'<(src_loc)/core/single_timer.cpp',
|
||||
'<(src_loc)/core/single_timer.h',
|
||||
'<(src_loc)/core/task_queue.h',
|
||||
'<(src_loc)/core/task_queue.cpp',
|
||||
'<(src_loc)/core/type_traits.h',
|
||||
'<(src_loc)/core/utils.cpp',
|
||||
'<(src_loc)/core/utils.h',
|
||||
'<(src_loc)/core/variant.h',
|
||||
'<(src_loc)/core/version.h',
|
||||
'<(src_loc)/core/virtual_method.h',
|
||||
'<(src_loc)/core/zlib_help.h',
|
||||
'<(src_loc)/data/data_abstract_structure.cpp',
|
||||
'<(src_loc)/data/data_abstract_structure.h',
|
||||
'<(src_loc)/data/data_drafts.cpp',
|
||||
'<(src_loc)/data/data_drafts.h',
|
||||
'<(src_loc)/dialogs/dialogs_common.h',
|
||||
'<(src_loc)/dialogs/dialogs_indexed_list.cpp',
|
||||
'<(src_loc)/dialogs/dialogs_indexed_list.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_row.cpp',
|
||||
'<(src_loc)/dialogs/dialogs_row.h',
|
||||
'<(src_loc)/history/field_autocomplete.cpp',
|
||||
'<(src_loc)/history/field_autocomplete.h',
|
||||
'<(src_loc)/history/history_common.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_location_manager.cpp',
|
||||
'<(src_loc)/history/history_location_manager.h',
|
||||
'<(src_loc)/history/history_media.h',
|
||||
'<(src_loc)/history/history_media_types.cpp',
|
||||
'<(src_loc)/history/history_media_types.h',
|
||||
'<(src_loc)/history/history_message.cpp',
|
||||
'<(src_loc)/history/history_message.h',
|
||||
'<(src_loc)/history/history_service_layout.cpp',
|
||||
'<(src_loc)/history/history_service_layout.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)/intro/introwidget.cpp',
|
||||
'<(src_loc)/intro/introwidget.h',
|
||||
'<(src_loc)/intro/introcode.cpp',
|
||||
'<(src_loc)/intro/introcode.h',
|
||||
'<(src_loc)/intro/introphone.cpp',
|
||||
'<(src_loc)/intro/introphone.h',
|
||||
'<(src_loc)/intro/intropwdcheck.cpp',
|
||||
'<(src_loc)/intro/intropwdcheck.h',
|
||||
'<(src_loc)/intro/introsignup.cpp',
|
||||
'<(src_loc)/intro/introsignup.h',
|
||||
'<(src_loc)/intro/introstart.cpp',
|
||||
'<(src_loc)/intro/introstart.h',
|
||||
'<(src_loc)/media/player/media_player_button.cpp',
|
||||
'<(src_loc)/media/player/media_player_button.h',
|
||||
'<(src_loc)/media/player/media_player_cover.cpp',
|
||||
'<(src_loc)/media/player/media_player_cover.h',
|
||||
'<(src_loc)/media/player/media_player_instance.cpp',
|
||||
'<(src_loc)/media/player/media_player_instance.h',
|
||||
'<(src_loc)/media/player/media_player_list.cpp',
|
||||
'<(src_loc)/media/player/media_player_list.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/view/media_clip_controller.cpp',
|
||||
'<(src_loc)/media/view/media_clip_controller.h',
|
||||
'<(src_loc)/media/view/media_clip_playback.cpp',
|
||||
'<(src_loc)/media/view/media_clip_playback.h',
|
||||
'<(src_loc)/media/view/media_clip_volume_controller.cpp',
|
||||
'<(src_loc)/media/view/media_clip_volume_controller.h',
|
||||
'<(src_loc)/media/media_audio.cpp',
|
||||
'<(src_loc)/media/media_audio.h',
|
||||
'<(src_loc)/media/media_audio_capture.cpp',
|
||||
'<(src_loc)/media/media_audio_capture.h',
|
||||
'<(src_loc)/media/media_audio_ffmpeg_loader.cpp',
|
||||
'<(src_loc)/media/media_audio_ffmpeg_loader.h',
|
||||
'<(src_loc)/media/media_audio_loader.cpp',
|
||||
'<(src_loc)/media/media_audio_loader.h',
|
||||
'<(src_loc)/media/media_audio_loaders.cpp',
|
||||
'<(src_loc)/media/media_audio_loaders.h',
|
||||
'<(src_loc)/media/media_child_ffmpeg_loader.cpp',
|
||||
'<(src_loc)/media/media_child_ffmpeg_loader.h',
|
||||
'<(src_loc)/media/media_clip_ffmpeg.cpp',
|
||||
'<(src_loc)/media/media_clip_ffmpeg.h',
|
||||
'<(src_loc)/media/media_clip_implementation.cpp',
|
||||
'<(src_loc)/media/media_clip_implementation.h',
|
||||
'<(src_loc)/media/media_clip_qtgif.cpp',
|
||||
'<(src_loc)/media/media_clip_qtgif.h',
|
||||
'<(src_loc)/media/media_clip_reader.cpp',
|
||||
'<(src_loc)/media/media_clip_reader.h',
|
||||
'<(src_loc)/mtproto/auth_key.cpp',
|
||||
'<(src_loc)/mtproto/auth_key.h',
|
||||
'<(src_loc)/mtproto/connection.cpp',
|
||||
'<(src_loc)/mtproto/connection.h',
|
||||
'<(src_loc)/mtproto/connection_abstract.cpp',
|
||||
'<(src_loc)/mtproto/connection_abstract.h',
|
||||
'<(src_loc)/mtproto/connection_auto.cpp',
|
||||
'<(src_loc)/mtproto/connection_auto.h',
|
||||
'<(src_loc)/mtproto/connection_http.cpp',
|
||||
'<(src_loc)/mtproto/connection_http.h',
|
||||
'<(src_loc)/mtproto/connection_tcp.cpp',
|
||||
'<(src_loc)/mtproto/connection_tcp.h',
|
||||
'<(src_loc)/mtproto/core_types.cpp',
|
||||
'<(src_loc)/mtproto/core_types.h',
|
||||
'<(src_loc)/mtproto/dcenter.cpp',
|
||||
'<(src_loc)/mtproto/dcenter.h',
|
||||
'<(src_loc)/mtproto/dc_options.cpp',
|
||||
'<(src_loc)/mtproto/dc_options.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/rsa_public_key.cpp',
|
||||
'<(src_loc)/mtproto/rsa_public_key.h',
|
||||
'<(src_loc)/mtproto/rpc_sender.cpp',
|
||||
'<(src_loc)/mtproto/rpc_sender.h',
|
||||
'<(src_loc)/mtproto/scheme_auto.cpp',
|
||||
'<(src_loc)/mtproto/scheme_auto.h',
|
||||
'<(src_loc)/mtproto/session.cpp',
|
||||
'<(src_loc)/mtproto/session.h',
|
||||
'<(src_loc)/overview/overview_layout.cpp',
|
||||
'<(src_loc)/overview/overview_layout.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_libnotify.cpp',
|
||||
'<(src_loc)/platform/linux/linux_libnotify.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/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/mac_utilities.mm',
|
||||
'<(src_loc)/platform/mac/mac_utilities.h',
|
||||
'<(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.cpp',
|
||||
'<(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/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/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/platform_audio.h',
|
||||
'<(src_loc)/platform/platform_file_utilities.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_actions.cpp',
|
||||
'<(src_loc)/profile/profile_block_actions.h',
|
||||
'<(src_loc)/profile/profile_block_channel_members.cpp',
|
||||
'<(src_loc)/profile/profile_block_channel_members.h',
|
||||
'<(src_loc)/profile/profile_block_info.cpp',
|
||||
'<(src_loc)/profile/profile_block_info.h',
|
||||
'<(src_loc)/profile/profile_block_invite_link.cpp',
|
||||
'<(src_loc)/profile/profile_block_invite_link.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_settings.cpp',
|
||||
'<(src_loc)/profile/profile_block_settings.h',
|
||||
'<(src_loc)/profile/profile_block_shared_media.cpp',
|
||||
'<(src_loc)/profile/profile_block_shared_media.h',
|
||||
'<(src_loc)/profile/profile_block_widget.cpp',
|
||||
'<(src_loc)/profile/profile_block_widget.h',
|
||||
'<(src_loc)/profile/profile_common_groups_section.cpp',
|
||||
'<(src_loc)/profile/profile_common_groups_section.h',
|
||||
'<(src_loc)/profile/profile_cover_drop_area.cpp',
|
||||
'<(src_loc)/profile/profile_cover_drop_area.h',
|
||||
'<(src_loc)/profile/profile_cover.cpp',
|
||||
'<(src_loc)/profile/profile_cover.h',
|
||||
'<(src_loc)/profile/profile_fixed_bar.cpp',
|
||||
'<(src_loc)/profile/profile_fixed_bar.h',
|
||||
'<(src_loc)/profile/profile_inner_widget.cpp',
|
||||
'<(src_loc)/profile/profile_inner_widget.h',
|
||||
'<(src_loc)/profile/profile_section_memento.cpp',
|
||||
'<(src_loc)/profile/profile_section_memento.h',
|
||||
'<(src_loc)/profile/profile_userpic_button.cpp',
|
||||
'<(src_loc)/profile/profile_userpic_button.h',
|
||||
'<(src_loc)/profile/profile_widget.cpp',
|
||||
'<(src_loc)/profile/profile_widget.h',
|
||||
'<(src_loc)/settings/settings_advanced_widget.cpp',
|
||||
'<(src_loc)/settings/settings_advanced_widget.h',
|
||||
'<(src_loc)/settings/settings_background_widget.cpp',
|
||||
'<(src_loc)/settings/settings_background_widget.h',
|
||||
'<(src_loc)/settings/settings_block_widget.cpp',
|
||||
'<(src_loc)/settings/settings_block_widget.h',
|
||||
'<(src_loc)/settings/settings_chat_settings_widget.cpp',
|
||||
'<(src_loc)/settings/settings_chat_settings_widget.h',
|
||||
'<(src_loc)/settings/settings_cover.cpp',
|
||||
'<(src_loc)/settings/settings_cover.h',
|
||||
'<(src_loc)/settings/settings_fixed_bar.cpp',
|
||||
'<(src_loc)/settings/settings_fixed_bar.h',
|
||||
'<(src_loc)/settings/settings_general_widget.cpp',
|
||||
'<(src_loc)/settings/settings_general_widget.h',
|
||||
'<(src_loc)/settings/settings_info_widget.cpp',
|
||||
'<(src_loc)/settings/settings_info_widget.h',
|
||||
'<(src_loc)/settings/settings_inner_widget.cpp',
|
||||
'<(src_loc)/settings/settings_inner_widget.h',
|
||||
'<(src_loc)/settings/settings_layer.cpp',
|
||||
'<(src_loc)/settings/settings_layer.h',
|
||||
'<(src_loc)/settings/settings_notifications_widget.cpp',
|
||||
'<(src_loc)/settings/settings_notifications_widget.h',
|
||||
'<(src_loc)/settings/settings_privacy_widget.cpp',
|
||||
'<(src_loc)/settings/settings_privacy_widget.h',
|
||||
'<(src_loc)/settings/settings_scale_widget.cpp',
|
||||
'<(src_loc)/settings/settings_scale_widget.h',
|
||||
'<(src_loc)/settings/settings_widget.cpp',
|
||||
'<(src_loc)/settings/settings_widget.h',
|
||||
'<(src_loc)/stickers/emoji_pan.cpp',
|
||||
'<(src_loc)/stickers/emoji_pan.h',
|
||||
'<(src_loc)/stickers/stickers.cpp',
|
||||
'<(src_loc)/stickers/stickers.h',
|
||||
'<(src_loc)/storage/file_download.cpp',
|
||||
'<(src_loc)/storage/file_download.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)/ui/effects/cross_animation.cpp',
|
||||
'<(src_loc)/ui/effects/cross_animation.h',
|
||||
'<(src_loc)/ui/effects/panel_animation.cpp',
|
||||
'<(src_loc)/ui/effects/panel_animation.h',
|
||||
'<(src_loc)/ui/effects/radial_animation.cpp',
|
||||
'<(src_loc)/ui/effects/radial_animation.h',
|
||||
'<(src_loc)/ui/effects/ripple_animation.cpp',
|
||||
'<(src_loc)/ui/effects/ripple_animation.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/effects/slide_animation.cpp',
|
||||
'<(src_loc)/ui/effects/slide_animation.h',
|
||||
'<(src_loc)/ui/effects/widget_fade_wrap.cpp',
|
||||
'<(src_loc)/ui/effects/widget_fade_wrap.h',
|
||||
'<(src_loc)/ui/effects/widget_slide_wrap.cpp',
|
||||
'<(src_loc)/ui/effects/widget_slide_wrap.h',
|
||||
'<(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_types.cpp',
|
||||
'<(src_loc)/ui/style/style_core_types.h',
|
||||
'<(src_loc)/ui/text/text.cpp',
|
||||
'<(src_loc)/ui/text/text.h',
|
||||
'<(src_loc)/ui/text/text_block.cpp',
|
||||
'<(src_loc)/ui/text/text_block.h',
|
||||
'<(src_loc)/ui/text/text_entity.cpp',
|
||||
'<(src_loc)/ui/text/text_entity.h',
|
||||
'<(src_loc)/ui/toast/toast.cpp',
|
||||
'<(src_loc)/ui/toast/toast.h',
|
||||
'<(src_loc)/ui/toast/toast_manager.cpp',
|
||||
'<(src_loc)/ui/toast/toast_manager.h',
|
||||
'<(src_loc)/ui/toast/toast_widget.cpp',
|
||||
'<(src_loc)/ui/toast/toast_widget.h',
|
||||
'<(src_loc)/ui/widgets/buttons.cpp',
|
||||
'<(src_loc)/ui/widgets/buttons.h',
|
||||
'<(src_loc)/ui/widgets/checkbox.cpp',
|
||||
'<(src_loc)/ui/widgets/checkbox.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/dropdown_menu.cpp',
|
||||
'<(src_loc)/ui/widgets/dropdown_menu.h',
|
||||
'<(src_loc)/ui/widgets/inner_dropdown.cpp',
|
||||
'<(src_loc)/ui/widgets/inner_dropdown.h',
|
||||
'<(src_loc)/ui/widgets/input_fields.cpp',
|
||||
'<(src_loc)/ui/widgets/input_fields.h',
|
||||
'<(src_loc)/ui/widgets/labels.cpp',
|
||||
'<(src_loc)/ui/widgets/labels.h',
|
||||
'<(src_loc)/ui/widgets/menu.cpp',
|
||||
'<(src_loc)/ui/widgets/menu.h',
|
||||
'<(src_loc)/ui/widgets/multi_select.cpp',
|
||||
'<(src_loc)/ui/widgets/multi_select.h',
|
||||
'<(src_loc)/ui/widgets/popup_menu.cpp',
|
||||
'<(src_loc)/ui/widgets/popup_menu.h',
|
||||
'<(src_loc)/ui/widgets/scroll_area.cpp',
|
||||
'<(src_loc)/ui/widgets/scroll_area.h',
|
||||
'<(src_loc)/ui/widgets/shadow.cpp',
|
||||
'<(src_loc)/ui/widgets/shadow.h',
|
||||
'<(src_loc)/ui/widgets/tooltip.cpp',
|
||||
'<(src_loc)/ui/widgets/tooltip.h',
|
||||
'<(src_loc)/ui/abstract_button.cpp',
|
||||
'<(src_loc)/ui/abstract_button.h',
|
||||
'<(src_loc)/ui/animation.cpp',
|
||||
'<(src_loc)/ui/animation.h',
|
||||
'<(src_loc)/ui/countryinput.cpp',
|
||||
'<(src_loc)/ui/countryinput.h',
|
||||
'<(src_loc)/ui/emoji_config.cpp',
|
||||
'<(src_loc)/ui/emoji_config.h',
|
||||
'<(src_loc)/ui/images.cpp',
|
||||
'<(src_loc)/ui/images.h',
|
||||
'<(src_loc)/ui/special_buttons.cpp',
|
||||
'<(src_loc)/ui/special_buttons.h',
|
||||
'<(src_loc)/ui/twidget.cpp',
|
||||
'<(src_loc)/ui/twidget.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/player_wrap_widget.cpp',
|
||||
'<(src_loc)/window/player_wrap_widget.h',
|
||||
'<(src_loc)/window/section_memento.h',
|
||||
'<(src_loc)/window/section_widget.cpp',
|
||||
'<(src_loc)/window/section_widget.h',
|
||||
'<(src_loc)/window/window_slide_animation.cpp',
|
||||
'<(src_loc)/window/window_slide_animation.h',
|
||||
'<(src_loc)/window/top_bar_widget.cpp',
|
||||
'<(src_loc)/window/top_bar_widget.h',
|
||||
'<(src_loc)/window/window_main_menu.cpp',
|
||||
'<(src_loc)/window/window_main_menu.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_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/window_title.h',
|
||||
'<(src_loc)/apiwrap.cpp',
|
||||
'<(src_loc)/apiwrap.h',
|
||||
'<(src_loc)/app.cpp',
|
||||
'<(src_loc)/app.h',
|
||||
'<(src_loc)/application.cpp',
|
||||
'<(src_loc)/application.h',
|
||||
'<(src_loc)/auth_session.cpp',
|
||||
'<(src_loc)/auth_session.h',
|
||||
'<(src_loc)/autoupdater.cpp',
|
||||
'<(src_loc)/autoupdater.h',
|
||||
'<(src_loc)/config.h',
|
||||
'<(src_loc)/countries.h',
|
||||
'<(src_loc)/dialogswidget.cpp',
|
||||
'<(src_loc)/dialogswidget.h',
|
||||
'<(src_loc)/facades.cpp',
|
||||
'<(src_loc)/facades.h',
|
||||
'<(src_loc)/history.cpp',
|
||||
'<(src_loc)/history.h',
|
||||
'<(src_loc)/historywidget.cpp',
|
||||
'<(src_loc)/historywidget.h',
|
||||
'<(src_loc)/lang.cpp',
|
||||
'<(src_loc)/lang.h',
|
||||
'<(src_loc)/langloaderplain.cpp',
|
||||
'<(src_loc)/langloaderplain.h',
|
||||
'<(src_loc)/layerwidget.cpp',
|
||||
'<(src_loc)/layerwidget.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)/mediaview.cpp',
|
||||
'<(src_loc)/mediaview.h',
|
||||
'<(src_loc)/messenger.cpp',
|
||||
'<(src_loc)/messenger.h',
|
||||
'<(src_loc)/observer_peer.cpp',
|
||||
'<(src_loc)/observer_peer.h',
|
||||
'<(src_loc)/overviewwidget.cpp',
|
||||
'<(src_loc)/overviewwidget.h',
|
||||
'<(src_loc)/passcodewidget.cpp',
|
||||
'<(src_loc)/passcodewidget.h',
|
||||
'<(src_loc)/qt_static_plugins.cpp',
|
||||
'<(src_loc)/settings.cpp',
|
||||
'<(src_loc)/settings.h',
|
||||
'<(src_loc)/shortcuts.cpp',
|
||||
'<(src_loc)/shortcuts.h',
|
||||
'<(src_loc)/stdafx.cpp',
|
||||
'<(src_loc)/stdafx.h',
|
||||
'<(src_loc)/structs.cpp',
|
||||
'<(src_loc)/structs.h',
|
||||
|
||||
'<(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',
|
||||
'<!@(<(list_sources_command) <(qt_moc_list_sources_arg))',
|
||||
],
|
||||
'sources!': [
|
||||
'<!@(<(list_sources_command) <(qt_moc_list_sources_arg) --exclude_for <(build_os))',
|
||||
],
|
||||
'conditions': [
|
||||
[ '"<(official_build_target)" != ""', {
|
||||
|
@ -619,79 +116,6 @@
|
|||
'utils.gyp:Packer',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_linux)" != "1"', {
|
||||
'sources!': [
|
||||
'<(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_libnotify.cpp',
|
||||
'<(src_loc)/platform/linux/linux_libnotify.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/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',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_mac)" != "1"', {
|
||||
'sources!': [
|
||||
'<(src_loc)/platform/mac/file_utilities_mac.mm',
|
||||
'<(src_loc)/platform/mac/file_utilities_mac.h',
|
||||
'<(src_loc)/platform/mac/mac_utilities.mm',
|
||||
'<(src_loc)/platform/mac/mac_utilities.h',
|
||||
'<(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.cpp',
|
||||
'<(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',
|
||||
'<(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',
|
||||
],
|
||||
}],
|
||||
[ '"<(build_win)" != "1"', {
|
||||
'sources': [
|
||||
'<(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',
|
||||
],
|
||||
'sources!': [
|
||||
'<(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/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',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
}
|
||||
|
|
|
@ -28,6 +28,12 @@
|
|||
'src_loc': '../SourceFiles',
|
||||
'gen_loc': '../GeneratedFiles',
|
||||
'mac_target': '10.10',
|
||||
'sources': [
|
||||
'<(src_loc)/_other/mlmain.cpp',
|
||||
'<(src_loc)/_other/mlmain.h',
|
||||
'<(src_loc)/_other/genlang.cpp',
|
||||
'<(src_loc)/_other/genlang.h',
|
||||
],
|
||||
},
|
||||
'includes': [
|
||||
'common_executable.gypi',
|
||||
|
@ -39,10 +45,7 @@
|
|||
'<(gen_loc)',
|
||||
],
|
||||
'sources': [
|
||||
'<(src_loc)/_other/mlmain.cpp',
|
||||
'<(src_loc)/_other/mlmain.h',
|
||||
'<(src_loc)/_other/genlang.cpp',
|
||||
'<(src_loc)/_other/genlang.h',
|
||||
'<!@(python <(DEPTH)/list_sources.py <@(sources) <(qt_moc_list_sources_arg))',
|
||||
],
|
||||
}, {
|
||||
'target_name': 'codegen_style',
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
|
||||
],
|
||||
'action': [
|
||||
'python', '<(DEPTH)/update_dependent.py', '-tstyle',
|
||||
'python', '<(DEPTH)/update_dependent.py', '--styles',
|
||||
'-I<(res_loc)', '-I<(src_loc)',
|
||||
'-o<(SHARED_INTERMEDIATE_DIR)/update_dependent_styles.timestamp',
|
||||
'<@(style_files)',
|
||||
|
@ -39,13 +39,13 @@
|
|||
'inputs': [
|
||||
'<(DEPTH)/update_dependent.py',
|
||||
'<@(qrc_files)',
|
||||
'<!@(python <(DEPTH)/update_dependent.py -tqrc_list <@(qrc_files))',
|
||||
'<!@(python <(DEPTH)/update_dependent.py --qrc_list <@(qrc_files))',
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp',
|
||||
],
|
||||
'action': [
|
||||
'python', '<(DEPTH)/update_dependent.py', '-tqrc',
|
||||
'python', '<(DEPTH)/update_dependent.py', '--qrc',
|
||||
'-o<(SHARED_INTERMEDIATE_DIR)/update_dependent_qrc.timestamp',
|
||||
'<@(qrc_files)',
|
||||
],
|
||||
|
|
|
@ -0,0 +1,161 @@
|
|||
'''
|
||||
This file is part of Telegram Desktop,
|
||||
the official desktop version of Telegram messaging app, see https://telegram.org
|
||||
|
||||
Telegram Desktop is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
It is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
In addition, as a special exception, the copyright holders give permission
|
||||
to link the code of portions of this program with the OpenSSL library.
|
||||
|
||||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014 John Preston, https://desktop.telegram.org
|
||||
'''
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
|
||||
def eprint(*args, **kwargs):
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
sys.exit(1)
|
||||
|
||||
def check_non_empty_moc(file_path):
|
||||
if not os.path.isfile(file_path):
|
||||
return False
|
||||
if re.search(r'\.h$', file_path):
|
||||
with open(file_path, "r") as f:
|
||||
for line in f:
|
||||
if re.search(r'(^|\s)Q_OBJECT(\s|$)', line):
|
||||
return True
|
||||
return False
|
||||
|
||||
def should_exclude(rules, exclude_for):
|
||||
for rule in rules:
|
||||
if rule[0:1] == '!':
|
||||
return (rule[1:] == exclude_for)
|
||||
elif rule == exclude_for:
|
||||
return False
|
||||
return len(rules) > 0
|
||||
|
||||
my_path = os.path.dirname(os.path.realpath(__file__)).replace('\\', '/')
|
||||
|
||||
file_paths = []
|
||||
platform_rules = {}
|
||||
next_input_path = 0
|
||||
input_path = ''
|
||||
next_moc_prefix = 0
|
||||
moc_prefix = ''
|
||||
next_replace = 0
|
||||
replaces = []
|
||||
next_exclude_for = 0
|
||||
exclude_for = ''
|
||||
next_self = 1
|
||||
for arg in sys.argv:
|
||||
if next_self != 0:
|
||||
next_self = 0
|
||||
continue
|
||||
|
||||
if arg == '--moc-prefix':
|
||||
next_moc_prefix = 1
|
||||
continue
|
||||
elif next_moc_prefix == 1:
|
||||
next_moc_prefix = 0
|
||||
moc_prefix = arg.replace('SHARED_INTERMEDIATE_DIR', '<(SHARED_INTERMEDIATE_DIR)')
|
||||
continue
|
||||
|
||||
if arg == '--input':
|
||||
next_input_path = 1
|
||||
continue
|
||||
elif next_input_path == 1:
|
||||
next_input_path = 0
|
||||
input_path = arg
|
||||
continue
|
||||
|
||||
if arg == '--replace':
|
||||
next_replace = 1
|
||||
continue
|
||||
elif next_replace == 1:
|
||||
next_replace = 0
|
||||
replaces.append(arg)
|
||||
continue
|
||||
|
||||
if arg == '--exclude_for':
|
||||
next_exclude_for = 1
|
||||
continue
|
||||
elif next_exclude_for == 1:
|
||||
next_exclude_for = 0
|
||||
exclude_for = arg
|
||||
continue
|
||||
|
||||
file_paths.append(arg)
|
||||
|
||||
if input_path != '':
|
||||
if len(file_paths) != 0:
|
||||
eprint('You need to specify input file or input paths in command line.')
|
||||
elif not os.path.isfile(input_path):
|
||||
eprint('Input path not found.')
|
||||
else:
|
||||
platforms = []
|
||||
with open(input_path, 'r') as f:
|
||||
for line in f:
|
||||
file_path = line.strip()
|
||||
if file_path[0:10] == 'platforms:':
|
||||
platforms_list = file_path[10:].split(' ')
|
||||
platforms = []
|
||||
for platform in file_path[10:].split(' '):
|
||||
platform = platform.strip()
|
||||
if platform != '':
|
||||
platforms.append(platform)
|
||||
elif file_path[0:2] != '//' and file_path != '':
|
||||
file_paths.append(file_path)
|
||||
if len(platforms):
|
||||
platform_rules[file_path] = platforms
|
||||
elif '/platform/win/' in file_path:
|
||||
platform_rules[file_path] = [ 'win' ]
|
||||
elif '/platform/mac/' in file_path:
|
||||
platform_rules[file_path] = [ 'mac' ]
|
||||
elif '/platform/linux/' in file_path:
|
||||
platform_rules[file_path] = [ 'linux' ]
|
||||
|
||||
for replace in replaces:
|
||||
replace_parts = replace.split('=', 1)
|
||||
if len(replace_parts) != 2:
|
||||
eprint('Bad replace: ' + replace)
|
||||
real_paths = []
|
||||
real_platform_rules = {}
|
||||
for file_path in file_paths:
|
||||
real_path = file_path.replace('<(' + replace_parts[0] + ')', replace_parts[1])
|
||||
real_paths.append(real_path)
|
||||
if file_path in platform_rules:
|
||||
real_platform_rules[real_path] = platform_rules[file_path]
|
||||
file_paths = real_paths
|
||||
platform_rules = real_platform_rules
|
||||
|
||||
if exclude_for != '':
|
||||
real_paths = []
|
||||
for file_path in file_paths:
|
||||
if not file_path in platform_rules:
|
||||
continue
|
||||
if not should_exclude(platform_rules[file_path], exclude_for):
|
||||
continue
|
||||
real_paths.append(file_path)
|
||||
file_paths = real_paths
|
||||
|
||||
for file_path in file_paths:
|
||||
print(file_path)
|
||||
if moc_prefix != '':
|
||||
for file_path in file_paths:
|
||||
if check_non_empty_moc(file_path):
|
||||
m = re.search(r'(^|/)([^/]+)\.h$', file_path)
|
||||
if not m:
|
||||
eprint('Bad file path: ' + file_path)
|
||||
print(moc_prefix + m.group(2) + '.cpp')
|
|
@ -135,6 +135,11 @@
|
|||
}],
|
||||
],
|
||||
|
||||
# If you need moc sources include a line in your 'sources':
|
||||
# '<!@(python <(DEPTH)/list_sources.py [sources] <(qt_moc_list_sources_arg))'
|
||||
# where [sources] contains all your source files
|
||||
'qt_moc_list_sources_arg': '--moc-prefix SHARED_INTERMEDIATE_DIR/<(_target_name)/moc/moc_',
|
||||
|
||||
'linux_path_xkbcommon%': '/usr/local',
|
||||
'linux_lib_ssl%': '/usr/local/ssl/lib/libssl.a',
|
||||
'linux_lib_crypto%': '/usr/local/ssl/lib/libcrypto.a',
|
||||
|
@ -265,6 +270,5 @@
|
|||
'-o', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
|
||||
],
|
||||
'message': 'Moc-ing <(RULE_INPUT_ROOT).h..',
|
||||
'process_outputs_as_sources': 1,
|
||||
}],
|
||||
}
|
||||
|
|
|
@ -0,0 +1,518 @@
|
|||
<(src_loc)/boxes/aboutbox.cpp
|
||||
<(src_loc)/boxes/aboutbox.h
|
||||
<(src_loc)/boxes/abstractbox.cpp
|
||||
<(src_loc)/boxes/abstractbox.h
|
||||
<(src_loc)/boxes/addcontactbox.cpp
|
||||
<(src_loc)/boxes/addcontactbox.h
|
||||
<(src_loc)/boxes/autolockbox.cpp
|
||||
<(src_loc)/boxes/autolockbox.h
|
||||
<(src_loc)/boxes/backgroundbox.cpp
|
||||
<(src_loc)/boxes/backgroundbox.h
|
||||
<(src_loc)/boxes/calendarbox.cpp
|
||||
<(src_loc)/boxes/calendarbox.h
|
||||
<(src_loc)/boxes/confirmbox.cpp
|
||||
<(src_loc)/boxes/confirmbox.h
|
||||
<(src_loc)/boxes/confirmphonebox.cpp
|
||||
<(src_loc)/boxes/confirmphonebox.h
|
||||
<(src_loc)/boxes/connectionbox.cpp
|
||||
<(src_loc)/boxes/connectionbox.h
|
||||
<(src_loc)/boxes/contactsbox.cpp
|
||||
<(src_loc)/boxes/contactsbox.h
|
||||
<(src_loc)/boxes/downloadpathbox.cpp
|
||||
<(src_loc)/boxes/downloadpathbox.h
|
||||
<(src_loc)/boxes/editcolorbox.cpp
|
||||
<(src_loc)/boxes/editcolorbox.h
|
||||
<(src_loc)/boxes/emojibox.cpp
|
||||
<(src_loc)/boxes/emojibox.h
|
||||
<(src_loc)/boxes/languagebox.cpp
|
||||
<(src_loc)/boxes/languagebox.h
|
||||
<(src_loc)/boxes/localstoragebox.cpp
|
||||
<(src_loc)/boxes/localstoragebox.h
|
||||
<(src_loc)/boxes/members_box.cpp
|
||||
<(src_loc)/boxes/members_box.h
|
||||
<(src_loc)/boxes/notifications_box.cpp
|
||||
<(src_loc)/boxes/notifications_box.h
|
||||
<(src_loc)/boxes/passcodebox.cpp
|
||||
<(src_loc)/boxes/passcodebox.h
|
||||
<(src_loc)/boxes/photocropbox.cpp
|
||||
<(src_loc)/boxes/photocropbox.h
|
||||
<(src_loc)/boxes/report_box.cpp
|
||||
<(src_loc)/boxes/report_box.h
|
||||
<(src_loc)/boxes/send_files_box.cpp
|
||||
<(src_loc)/boxes/send_files_box.h
|
||||
<(src_loc)/boxes/sessionsbox.cpp
|
||||
<(src_loc)/boxes/sessionsbox.h
|
||||
<(src_loc)/boxes/sharebox.cpp
|
||||
<(src_loc)/boxes/sharebox.h
|
||||
<(src_loc)/boxes/stickersetbox.cpp
|
||||
<(src_loc)/boxes/stickersetbox.h
|
||||
<(src_loc)/boxes/stickers_box.cpp
|
||||
<(src_loc)/boxes/stickers_box.h
|
||||
<(src_loc)/boxes/usernamebox.cpp
|
||||
<(src_loc)/boxes/usernamebox.h
|
||||
<(src_loc)/core/build_config.h
|
||||
<(src_loc)/core/basic_types.h
|
||||
<(src_loc)/core/click_handler.cpp
|
||||
<(src_loc)/core/click_handler.h
|
||||
<(src_loc)/core/click_handler_types.cpp
|
||||
<(src_loc)/core/click_handler_types.h
|
||||
<(src_loc)/core/file_utilities.cpp
|
||||
<(src_loc)/core/file_utilities.h
|
||||
<(src_loc)/core/lambda.h
|
||||
<(src_loc)/core/observer.cpp
|
||||
<(src_loc)/core/observer.h
|
||||
<(src_loc)/core/ordered_set.h
|
||||
<(src_loc)/core/parse_helper.cpp
|
||||
<(src_loc)/core/parse_helper.h
|
||||
<(src_loc)/core/qthelp_regex.h
|
||||
<(src_loc)/core/qthelp_url.cpp
|
||||
<(src_loc)/core/qthelp_url.h
|
||||
<(src_loc)/core/runtime_composer.cpp
|
||||
<(src_loc)/core/runtime_composer.h
|
||||
<(src_loc)/core/single_timer.cpp
|
||||
<(src_loc)/core/single_timer.h
|
||||
<(src_loc)/core/task_queue.h
|
||||
<(src_loc)/core/task_queue.cpp
|
||||
<(src_loc)/core/type_traits.h
|
||||
<(src_loc)/core/utils.cpp
|
||||
<(src_loc)/core/utils.h
|
||||
<(src_loc)/core/variant.h
|
||||
<(src_loc)/core/version.h
|
||||
<(src_loc)/core/virtual_method.h
|
||||
<(src_loc)/core/zlib_help.h
|
||||
<(src_loc)/data/data_abstract_structure.cpp
|
||||
<(src_loc)/data/data_abstract_structure.h
|
||||
<(src_loc)/data/data_drafts.cpp
|
||||
<(src_loc)/data/data_drafts.h
|
||||
<(src_loc)/dialogs/dialogs_common.h
|
||||
<(src_loc)/dialogs/dialogs_indexed_list.cpp
|
||||
<(src_loc)/dialogs/dialogs_indexed_list.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_row.cpp
|
||||
<(src_loc)/dialogs/dialogs_row.h
|
||||
<(src_loc)/history/field_autocomplete.cpp
|
||||
<(src_loc)/history/field_autocomplete.h
|
||||
<(src_loc)/history/history_common.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_location_manager.cpp
|
||||
<(src_loc)/history/history_location_manager.h
|
||||
<(src_loc)/history/history_media.h
|
||||
<(src_loc)/history/history_media_types.cpp
|
||||
<(src_loc)/history/history_media_types.h
|
||||
<(src_loc)/history/history_message.cpp
|
||||
<(src_loc)/history/history_message.h
|
||||
<(src_loc)/history/history_service_layout.cpp
|
||||
<(src_loc)/history/history_service_layout.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)/intro/introwidget.cpp
|
||||
<(src_loc)/intro/introwidget.h
|
||||
<(src_loc)/intro/introcode.cpp
|
||||
<(src_loc)/intro/introcode.h
|
||||
<(src_loc)/intro/introphone.cpp
|
||||
<(src_loc)/intro/introphone.h
|
||||
<(src_loc)/intro/intropwdcheck.cpp
|
||||
<(src_loc)/intro/intropwdcheck.h
|
||||
<(src_loc)/intro/introsignup.cpp
|
||||
<(src_loc)/intro/introsignup.h
|
||||
<(src_loc)/intro/introstart.cpp
|
||||
<(src_loc)/intro/introstart.h
|
||||
<(src_loc)/media/player/media_player_button.cpp
|
||||
<(src_loc)/media/player/media_player_button.h
|
||||
<(src_loc)/media/player/media_player_cover.cpp
|
||||
<(src_loc)/media/player/media_player_cover.h
|
||||
<(src_loc)/media/player/media_player_instance.cpp
|
||||
<(src_loc)/media/player/media_player_instance.h
|
||||
<(src_loc)/media/player/media_player_list.cpp
|
||||
<(src_loc)/media/player/media_player_list.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/view/media_clip_controller.cpp
|
||||
<(src_loc)/media/view/media_clip_controller.h
|
||||
<(src_loc)/media/view/media_clip_playback.cpp
|
||||
<(src_loc)/media/view/media_clip_playback.h
|
||||
<(src_loc)/media/view/media_clip_volume_controller.cpp
|
||||
<(src_loc)/media/view/media_clip_volume_controller.h
|
||||
<(src_loc)/media/media_audio.cpp
|
||||
<(src_loc)/media/media_audio.h
|
||||
<(src_loc)/media/media_audio_capture.cpp
|
||||
<(src_loc)/media/media_audio_capture.h
|
||||
<(src_loc)/media/media_audio_ffmpeg_loader.cpp
|
||||
<(src_loc)/media/media_audio_ffmpeg_loader.h
|
||||
<(src_loc)/media/media_audio_loader.cpp
|
||||
<(src_loc)/media/media_audio_loader.h
|
||||
<(src_loc)/media/media_audio_loaders.cpp
|
||||
<(src_loc)/media/media_audio_loaders.h
|
||||
<(src_loc)/media/media_child_ffmpeg_loader.cpp
|
||||
<(src_loc)/media/media_child_ffmpeg_loader.h
|
||||
<(src_loc)/media/media_clip_ffmpeg.cpp
|
||||
<(src_loc)/media/media_clip_ffmpeg.h
|
||||
<(src_loc)/media/media_clip_implementation.cpp
|
||||
<(src_loc)/media/media_clip_implementation.h
|
||||
<(src_loc)/media/media_clip_qtgif.cpp
|
||||
<(src_loc)/media/media_clip_qtgif.h
|
||||
<(src_loc)/media/media_clip_reader.cpp
|
||||
<(src_loc)/media/media_clip_reader.h
|
||||
<(src_loc)/mtproto/auth_key.cpp
|
||||
<(src_loc)/mtproto/auth_key.h
|
||||
<(src_loc)/mtproto/connection.cpp
|
||||
<(src_loc)/mtproto/connection.h
|
||||
<(src_loc)/mtproto/connection_abstract.cpp
|
||||
<(src_loc)/mtproto/connection_abstract.h
|
||||
<(src_loc)/mtproto/connection_auto.cpp
|
||||
<(src_loc)/mtproto/connection_auto.h
|
||||
<(src_loc)/mtproto/connection_http.cpp
|
||||
<(src_loc)/mtproto/connection_http.h
|
||||
<(src_loc)/mtproto/connection_tcp.cpp
|
||||
<(src_loc)/mtproto/connection_tcp.h
|
||||
<(src_loc)/mtproto/core_types.cpp
|
||||
<(src_loc)/mtproto/core_types.h
|
||||
<(src_loc)/mtproto/dcenter.cpp
|
||||
<(src_loc)/mtproto/dcenter.h
|
||||
<(src_loc)/mtproto/dc_options.cpp
|
||||
<(src_loc)/mtproto/dc_options.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/rsa_public_key.cpp
|
||||
<(src_loc)/mtproto/rsa_public_key.h
|
||||
<(src_loc)/mtproto/rpc_sender.cpp
|
||||
<(src_loc)/mtproto/rpc_sender.h
|
||||
<(src_loc)/mtproto/scheme_auto.cpp
|
||||
<(src_loc)/mtproto/scheme_auto.h
|
||||
<(src_loc)/mtproto/session.cpp
|
||||
<(src_loc)/mtproto/session.h
|
||||
<(src_loc)/overview/overview_layout.cpp
|
||||
<(src_loc)/overview/overview_layout.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_libnotify.cpp
|
||||
<(src_loc)/platform/linux/linux_libnotify.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/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/mac_utilities.mm
|
||||
<(src_loc)/platform/mac/mac_utilities.h
|
||||
<(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.cpp
|
||||
<(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/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/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/platform_audio.h
|
||||
<(src_loc)/platform/platform_file_utilities.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_actions.cpp
|
||||
<(src_loc)/profile/profile_block_actions.h
|
||||
<(src_loc)/profile/profile_block_channel_members.cpp
|
||||
<(src_loc)/profile/profile_block_channel_members.h
|
||||
<(src_loc)/profile/profile_block_info.cpp
|
||||
<(src_loc)/profile/profile_block_info.h
|
||||
<(src_loc)/profile/profile_block_invite_link.cpp
|
||||
<(src_loc)/profile/profile_block_invite_link.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_settings.cpp
|
||||
<(src_loc)/profile/profile_block_settings.h
|
||||
<(src_loc)/profile/profile_block_shared_media.cpp
|
||||
<(src_loc)/profile/profile_block_shared_media.h
|
||||
<(src_loc)/profile/profile_block_widget.cpp
|
||||
<(src_loc)/profile/profile_block_widget.h
|
||||
<(src_loc)/profile/profile_common_groups_section.cpp
|
||||
<(src_loc)/profile/profile_common_groups_section.h
|
||||
<(src_loc)/profile/profile_cover_drop_area.cpp
|
||||
<(src_loc)/profile/profile_cover_drop_area.h
|
||||
<(src_loc)/profile/profile_cover.cpp
|
||||
<(src_loc)/profile/profile_cover.h
|
||||
<(src_loc)/profile/profile_fixed_bar.cpp
|
||||
<(src_loc)/profile/profile_fixed_bar.h
|
||||
<(src_loc)/profile/profile_inner_widget.cpp
|
||||
<(src_loc)/profile/profile_inner_widget.h
|
||||
<(src_loc)/profile/profile_section_memento.cpp
|
||||
<(src_loc)/profile/profile_section_memento.h
|
||||
<(src_loc)/profile/profile_userpic_button.cpp
|
||||
<(src_loc)/profile/profile_userpic_button.h
|
||||
<(src_loc)/profile/profile_widget.cpp
|
||||
<(src_loc)/profile/profile_widget.h
|
||||
<(src_loc)/settings/settings_advanced_widget.cpp
|
||||
<(src_loc)/settings/settings_advanced_widget.h
|
||||
<(src_loc)/settings/settings_background_widget.cpp
|
||||
<(src_loc)/settings/settings_background_widget.h
|
||||
<(src_loc)/settings/settings_block_widget.cpp
|
||||
<(src_loc)/settings/settings_block_widget.h
|
||||
<(src_loc)/settings/settings_chat_settings_widget.cpp
|
||||
<(src_loc)/settings/settings_chat_settings_widget.h
|
||||
<(src_loc)/settings/settings_cover.cpp
|
||||
<(src_loc)/settings/settings_cover.h
|
||||
<(src_loc)/settings/settings_fixed_bar.cpp
|
||||
<(src_loc)/settings/settings_fixed_bar.h
|
||||
<(src_loc)/settings/settings_general_widget.cpp
|
||||
<(src_loc)/settings/settings_general_widget.h
|
||||
<(src_loc)/settings/settings_info_widget.cpp
|
||||
<(src_loc)/settings/settings_info_widget.h
|
||||
<(src_loc)/settings/settings_inner_widget.cpp
|
||||
<(src_loc)/settings/settings_inner_widget.h
|
||||
<(src_loc)/settings/settings_layer.cpp
|
||||
<(src_loc)/settings/settings_layer.h
|
||||
<(src_loc)/settings/settings_notifications_widget.cpp
|
||||
<(src_loc)/settings/settings_notifications_widget.h
|
||||
<(src_loc)/settings/settings_privacy_widget.cpp
|
||||
<(src_loc)/settings/settings_privacy_widget.h
|
||||
<(src_loc)/settings/settings_scale_widget.cpp
|
||||
<(src_loc)/settings/settings_scale_widget.h
|
||||
<(src_loc)/settings/settings_widget.cpp
|
||||
<(src_loc)/settings/settings_widget.h
|
||||
<(src_loc)/stickers/emoji_pan.cpp
|
||||
<(src_loc)/stickers/emoji_pan.h
|
||||
<(src_loc)/stickers/stickers.cpp
|
||||
<(src_loc)/stickers/stickers.h
|
||||
<(src_loc)/storage/file_download.cpp
|
||||
<(src_loc)/storage/file_download.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)/ui/effects/cross_animation.cpp
|
||||
<(src_loc)/ui/effects/cross_animation.h
|
||||
<(src_loc)/ui/effects/panel_animation.cpp
|
||||
<(src_loc)/ui/effects/panel_animation.h
|
||||
<(src_loc)/ui/effects/radial_animation.cpp
|
||||
<(src_loc)/ui/effects/radial_animation.h
|
||||
<(src_loc)/ui/effects/ripple_animation.cpp
|
||||
<(src_loc)/ui/effects/ripple_animation.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/effects/slide_animation.cpp
|
||||
<(src_loc)/ui/effects/slide_animation.h
|
||||
<(src_loc)/ui/effects/widget_fade_wrap.cpp
|
||||
<(src_loc)/ui/effects/widget_fade_wrap.h
|
||||
<(src_loc)/ui/effects/widget_slide_wrap.cpp
|
||||
<(src_loc)/ui/effects/widget_slide_wrap.h
|
||||
<(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_types.cpp
|
||||
<(src_loc)/ui/style/style_core_types.h
|
||||
<(src_loc)/ui/text/text.cpp
|
||||
<(src_loc)/ui/text/text.h
|
||||
<(src_loc)/ui/text/text_block.cpp
|
||||
<(src_loc)/ui/text/text_block.h
|
||||
<(src_loc)/ui/text/text_entity.cpp
|
||||
<(src_loc)/ui/text/text_entity.h
|
||||
<(src_loc)/ui/toast/toast.cpp
|
||||
<(src_loc)/ui/toast/toast.h
|
||||
<(src_loc)/ui/toast/toast_manager.cpp
|
||||
<(src_loc)/ui/toast/toast_manager.h
|
||||
<(src_loc)/ui/toast/toast_widget.cpp
|
||||
<(src_loc)/ui/toast/toast_widget.h
|
||||
<(src_loc)/ui/widgets/buttons.cpp
|
||||
<(src_loc)/ui/widgets/buttons.h
|
||||
<(src_loc)/ui/widgets/checkbox.cpp
|
||||
<(src_loc)/ui/widgets/checkbox.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/dropdown_menu.cpp
|
||||
<(src_loc)/ui/widgets/dropdown_menu.h
|
||||
<(src_loc)/ui/widgets/inner_dropdown.cpp
|
||||
<(src_loc)/ui/widgets/inner_dropdown.h
|
||||
<(src_loc)/ui/widgets/input_fields.cpp
|
||||
<(src_loc)/ui/widgets/input_fields.h
|
||||
<(src_loc)/ui/widgets/labels.cpp
|
||||
<(src_loc)/ui/widgets/labels.h
|
||||
<(src_loc)/ui/widgets/menu.cpp
|
||||
<(src_loc)/ui/widgets/menu.h
|
||||
<(src_loc)/ui/widgets/multi_select.cpp
|
||||
<(src_loc)/ui/widgets/multi_select.h
|
||||
<(src_loc)/ui/widgets/popup_menu.cpp
|
||||
<(src_loc)/ui/widgets/popup_menu.h
|
||||
<(src_loc)/ui/widgets/scroll_area.cpp
|
||||
<(src_loc)/ui/widgets/scroll_area.h
|
||||
<(src_loc)/ui/widgets/shadow.cpp
|
||||
<(src_loc)/ui/widgets/shadow.h
|
||||
<(src_loc)/ui/widgets/tooltip.cpp
|
||||
<(src_loc)/ui/widgets/tooltip.h
|
||||
<(src_loc)/ui/abstract_button.cpp
|
||||
<(src_loc)/ui/abstract_button.h
|
||||
<(src_loc)/ui/animation.cpp
|
||||
<(src_loc)/ui/animation.h
|
||||
<(src_loc)/ui/countryinput.cpp
|
||||
<(src_loc)/ui/countryinput.h
|
||||
<(src_loc)/ui/emoji_config.cpp
|
||||
<(src_loc)/ui/emoji_config.h
|
||||
<(src_loc)/ui/images.cpp
|
||||
<(src_loc)/ui/images.h
|
||||
<(src_loc)/ui/special_buttons.cpp
|
||||
<(src_loc)/ui/special_buttons.h
|
||||
<(src_loc)/ui/twidget.cpp
|
||||
<(src_loc)/ui/twidget.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/player_wrap_widget.cpp
|
||||
<(src_loc)/window/player_wrap_widget.h
|
||||
<(src_loc)/window/section_memento.h
|
||||
<(src_loc)/window/section_widget.cpp
|
||||
<(src_loc)/window/section_widget.h
|
||||
<(src_loc)/window/window_slide_animation.cpp
|
||||
<(src_loc)/window/window_slide_animation.h
|
||||
<(src_loc)/window/top_bar_widget.cpp
|
||||
<(src_loc)/window/top_bar_widget.h
|
||||
<(src_loc)/window/window_main_menu.cpp
|
||||
<(src_loc)/window/window_main_menu.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_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/window_title.h
|
||||
<(src_loc)/apiwrap.cpp
|
||||
<(src_loc)/apiwrap.h
|
||||
<(src_loc)/app.cpp
|
||||
<(src_loc)/app.h
|
||||
<(src_loc)/application.cpp
|
||||
<(src_loc)/application.h
|
||||
<(src_loc)/auth_session.cpp
|
||||
<(src_loc)/auth_session.h
|
||||
<(src_loc)/autoupdater.cpp
|
||||
<(src_loc)/autoupdater.h
|
||||
<(src_loc)/config.h
|
||||
<(src_loc)/countries.h
|
||||
<(src_loc)/dialogswidget.cpp
|
||||
<(src_loc)/dialogswidget.h
|
||||
<(src_loc)/facades.cpp
|
||||
<(src_loc)/facades.h
|
||||
<(src_loc)/history.cpp
|
||||
<(src_loc)/history.h
|
||||
<(src_loc)/historywidget.cpp
|
||||
<(src_loc)/historywidget.h
|
||||
<(src_loc)/lang.cpp
|
||||
<(src_loc)/lang.h
|
||||
<(src_loc)/langloaderplain.cpp
|
||||
<(src_loc)/langloaderplain.h
|
||||
<(src_loc)/layerwidget.cpp
|
||||
<(src_loc)/layerwidget.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)/mediaview.cpp
|
||||
<(src_loc)/mediaview.h
|
||||
<(src_loc)/messenger.cpp
|
||||
<(src_loc)/messenger.h
|
||||
<(src_loc)/observer_peer.cpp
|
||||
<(src_loc)/observer_peer.h
|
||||
<(src_loc)/overviewwidget.cpp
|
||||
<(src_loc)/overviewwidget.h
|
||||
<(src_loc)/passcodewidget.cpp
|
||||
<(src_loc)/passcodewidget.h
|
||||
<(src_loc)/qt_static_plugins.cpp
|
||||
<(src_loc)/settings.cpp
|
||||
<(src_loc)/settings.h
|
||||
<(src_loc)/shortcuts.cpp
|
||||
<(src_loc)/shortcuts.h
|
||||
<(src_loc)/stdafx.cpp
|
||||
<(src_loc)/stdafx.h
|
||||
<(src_loc)/structs.cpp
|
||||
<(src_loc)/structs.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: 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
|
|
@ -123,9 +123,8 @@ def handle_style_dependencies(file_path):
|
|||
one_modified = 1
|
||||
|
||||
file_paths = []
|
||||
file_type = ''
|
||||
request = ''
|
||||
output_file = ''
|
||||
next_file_type = 0
|
||||
next_include_dir = 0
|
||||
next_output_file = 0
|
||||
next_self = 1
|
||||
|
@ -133,9 +132,11 @@ for arg in sys.argv:
|
|||
if next_self != 0:
|
||||
next_self = 0
|
||||
continue
|
||||
if next_file_type != 0:
|
||||
next_file_type = 0
|
||||
file_type = arg
|
||||
if arg == '--styles' or arg == '--qrc_list' or arg == '--qrc':
|
||||
if request == '':
|
||||
request = arg[2:]
|
||||
else:
|
||||
eprint('Only one request required.')
|
||||
continue
|
||||
if next_include_dir != 0:
|
||||
next_include_dir = 0
|
||||
|
@ -146,13 +147,6 @@ for arg in sys.argv:
|
|||
output_file = arg
|
||||
continue
|
||||
|
||||
type_match = re.match(r'^\-t(.*)$', arg)
|
||||
if type_match:
|
||||
file_type = type_match.group(1)
|
||||
if file_type == '':
|
||||
next_file_type = 1
|
||||
continue
|
||||
|
||||
include_dir_match = re.match(r'^\-I(.*)$', arg)
|
||||
if include_dir_match:
|
||||
include_dir = include_dir_match.group(1)
|
||||
|
@ -171,19 +165,17 @@ for arg in sys.argv:
|
|||
|
||||
file_paths.append(arg)
|
||||
|
||||
if file_type == 'style':
|
||||
if request == 'styles':
|
||||
for file_path in file_paths:
|
||||
handle_style_dependencies(file_path)
|
||||
elif file_type == 'qrc':
|
||||
elif request == 'qrc':
|
||||
for file_path in file_paths:
|
||||
handle_qrc_dependencies(file_path)
|
||||
elif file_type == 'qrc_list':
|
||||
elif request == 'qrc_list':
|
||||
for file_path in file_paths:
|
||||
list_qrc_dependencies(file_path)
|
||||
elif file_type != '':
|
||||
eprint('Unknown file type: ' + file_type)
|
||||
else:
|
||||
eprint('File type was not provided.')
|
||||
eprint('Request required.')
|
||||
|
||||
if not os.path.isfile(output_file):
|
||||
with open(output_file, "w") as f:
|
||||
|
|
Loading…
Reference in New Issue