Skip to content

Commit c486314

Browse files
ilya-fedinjohn-preston
authored andcommitted
Avoid full Telegram target rebuild on version change
1 parent ae167db commit c486314

28 files changed

Lines changed: 27 additions & 1 deletion

Telegram/SourceFiles/boxes/about_box.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ For license and copyright information please follow this link:
1111
#include "core/application.h"
1212
#include "core/file_utilities.h"
1313
#include "core/update_checker.h"
14+
#include "core/version.h"
1415
#include "lang/lang_keys.h"
1516
#include "ui/boxes/confirm_box.h"
1617
#include "ui/painter.h"

Telegram/SourceFiles/boxes/phone_banned_box.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ For license and copyright information please follow this link:
99

1010
#include "ui/boxes/confirm_box.h"
1111
#include "core/click_handler_types.h" // UrlClickHandler
12+
#include "core/version.h"
1213
#include "base/qthelp_url.h" // qthelp::url_encode
1314
#include "base/platform/base_platform_info.h"
1415
#include "window/window_controller.h"

Telegram/SourceFiles/chat_helpers/spellchecker_common.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ For license and copyright information please follow this link:
2525
#include "spellcheck/spellcheck_value.h"
2626
#include "core/application.h"
2727
#include "core/core_settings.h"
28+
#include "core/version.h"
2829

2930
#include <QtCore/QJsonArray>
3031
#include <QtCore/QJsonDocument>

Telegram/SourceFiles/config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ For license and copyright information please follow this link:
77
*/
88
#pragma once
99

10-
#include "core/version.h"
1110
#include "settings.h"
1211

1312
enum {

Telegram/SourceFiles/core/application.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ For license and copyright information please follow this link:
2929
#include "core/launcher.h"
3030
#include "core/proxy_rotation_manager.h"
3131
#include "core/ui_integration.h"
32+
#include "core/version.h"
3233
#include "chat_helpers/emoji_keywords.h"
3334
#include "chat_helpers/stickers_emoji_image_loader.h"
3435
#include "base/platform/base_platform_global_shortcuts.h"

Telegram/SourceFiles/core/changelogs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ For license and copyright information please follow this link:
99

1010
#include "lang/lang_keys.h"
1111
#include "core/application.h"
12+
#include "core/version.h"
1213
#include "main/main_domain.h"
1314
#include "main/main_session.h"
1415
#include "storage/storage_domain.h"

Telegram/SourceFiles/core/crash_report_window.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For license and copyright information please follow this link:
1212
#include "core/sandbox.h"
1313
#include "core/update_checker.h"
1414
#include "core/ui_integration.h"
15+
#include "core/version.h"
1516
#include "window/main_window.h"
1617
#include "platform/platform_specific.h"
1718
#include "base/zlib_help.h"

Telegram/SourceFiles/core/file_utilities.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ For license and copyright information please follow this link:
77
*/
88
#include "core/file_utilities.h"
99

10+
#include "core/version.h"
1011
#include "storage/localstorage.h"
1112
#include "storage/storage_account.h"
1213
#include "base/platform/base_platform_file_utilities.h"

Telegram/SourceFiles/core/launcher.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ For license and copyright information please follow this link:
1616
#include "core/crash_reports.h"
1717
#include "core/update_checker.h"
1818
#include "core/sandbox.h"
19+
#include "core/version.h"
1920
#include "base/concurrent_timer.h"
2021
#include "base/options.h"
2122

Telegram/SourceFiles/core/shortcuts.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ For license and copyright information please follow this link:
1111
#include "base/event_filter.h"
1212
#include "base/parse_helper.h"
1313
#include "core/application.h"
14+
#include "core/version.h"
1415
#include "mainwindow.h"
1516
#include "mainwidget.h"
1617
#include "window/window_controller.h"

0 commit comments

Comments
 (0)