From 0923e179104f40f1d8b7dce24b521d3700c50f32 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Thu, 6 May 2021 23:25:51 -0700 Subject: [PATCH] Canonicalize cppwinrt input paths (#449) Canonicalizes input paths we pass to cppwinrt to avoid failures to open files. Followup to https://github.com/flutter/buildroot/pull/448 --- build/win/generate_winrt_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/win/generate_winrt_headers.py b/build/win/generate_winrt_headers.py index 81ada4c32b..39616124c7 100644 --- a/build/win/generate_winrt_headers.py +++ b/build/win/generate_winrt_headers.py @@ -44,7 +44,7 @@ def get_inputs(sdk_path, sdk_version): name = contract.getAttribute('name') version = contract.getAttribute('version') winmd_path = os.path.join(reference_dir, name, version, '%s.winmd' % name) - inputs.append(winmd_path) + inputs.append(os.path.realpath(winmd_path)) return inputs