From 89e83412eb9eacba02c768295140a60616f017cc Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Fri, 9 Apr 2021 17:02:06 -0700 Subject: [PATCH] Eliminate unnecessary conditional on UWP in build (flutter/engine#25522) This conditional unconditionally adds the common desktop_library_implementation target, so we just do that instead. --- engine/src/flutter/shell/platform/windows/BUILD.gn | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/engine/src/flutter/shell/platform/windows/BUILD.gn b/engine/src/flutter/shell/platform/windows/BUILD.gn index d628d31672..24b506abef 100644 --- a/engine/src/flutter/shell/platform/windows/BUILD.gn +++ b/engine/src/flutter/shell/platform/windows/BUILD.gn @@ -39,13 +39,8 @@ source_set("flutter_windows_headers") { public_deps = [ "//flutter/shell/platform/common:common_cpp_library_headers" ] - if (target_os == "winuwp") { - configs += - [ "//flutter/shell/platform/common:desktop_library_implementation" ] - } else { - configs += - [ "//flutter/shell/platform/common:desktop_library_implementation" ] - } + configs += + [ "//flutter/shell/platform/common:desktop_library_implementation" ] public_configs = [ "//flutter/shell/platform/common:relative_flutter_library_headers" ]