forked from firka/flutter
[Windows] Move to Visual Studio 2019 (flutter/engine#36538)
This commit is contained in:
@@ -10,11 +10,18 @@ namespace testing {
|
||||
|
||||
namespace {
|
||||
|
||||
#ifdef _WIN32
|
||||
#define FLUTTER_NOINLINE __declspec(noinline)
|
||||
#else
|
||||
#define FLUTTER_NOINLINE __attribute__((noinline))
|
||||
#endif
|
||||
|
||||
using TestWindowProcDelegate = std::function<std::optional<
|
||||
LRESULT>(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,
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user