From 35760d7a3ba836fb7759a922aab07316f2951a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Sharma?= <737941+loic-sharma@users.noreply.github.com> Date: Tue, 4 Oct 2022 17:13:19 -0700 Subject: [PATCH] Revert "[Windows] Move to Visual Studio 2019" (flutter/engine#36606) --- DEPS | 2 +- .../windows/window_proc_delegate_manager_unittests.cc | 7 ------- engine/src/flutter/tools/dia_dll.py | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/DEPS b/DEPS index 719a3ef112..0d9ad0d279 100644 --- a/DEPS +++ b/DEPS @@ -109,7 +109,7 @@ allowed_hosts = [ ] deps = { - 'src': 'https://github.com/flutter/buildroot.git' + '@' + '24bd842dde44696462562fb02f9e2226f9297d92', + 'src': 'https://github.com/flutter/buildroot.git' + '@' + '64d07cbd3d9fa0c15f06c8e24c3bdbf5a9a06329', # Fuchsia compatibility # diff --git a/engine/src/flutter/shell/platform/windows/window_proc_delegate_manager_unittests.cc b/engine/src/flutter/shell/platform/windows/window_proc_delegate_manager_unittests.cc index 195fb5b88c..9177638c62 100644 --- a/engine/src/flutter/shell/platform/windows/window_proc_delegate_manager_unittests.cc +++ b/engine/src/flutter/shell/platform/windows/window_proc_delegate_manager_unittests.cc @@ -10,18 +10,11 @@ namespace testing { namespace { -#ifdef _WIN32 -#define FLUTTER_NOINLINE __declspec(noinline) -#else -#define FLUTTER_NOINLINE __attribute__((noinline)) -#endif - using TestWindowProcDelegate = std::function(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)>; // A FlutterDesktopWindowProcCallback that forwards to a std::function provided // as user_data. -FLUTTER_NOINLINE bool TestWindowProcCallback(HWND hwnd, UINT message, WPARAM wparam, diff --git a/engine/src/flutter/tools/dia_dll.py b/engine/src/flutter/tools/dia_dll.py index 4c0d45f2c4..8d367ca691 100644 --- a/engine/src/flutter/tools/dia_dll.py +++ b/engine/src/flutter/tools/dia_dll.py @@ -44,7 +44,7 @@ def GetDiaDll(): msvs_version = vs_toolchain.GetVisualStudioVersion() if bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1'))): - dia_path = os.path.join(win_sdk_dir, '..', '..', 'DIA SDK', 'bin', 'amd64') + dia_path = os.path.join(win_sdk_dir, '..', 'DIA SDK', 'bin', 'amd64') else: if 'GYP_MSVS_OVERRIDE_PATH' in os.environ: vs_path = os.environ['GYP_MSVS_OVERRIDE_PATH']