Fix WinUWP build (flutter/engine#25267)
This commit is contained in:
@@ -142,10 +142,15 @@ source_set("flutter_windows_source") {
|
||||
|
||||
public_configs = [ ":relative_angle_headers" ]
|
||||
|
||||
defines = [
|
||||
"FLUTTER_ENGINE_NO_PROTOTYPES",
|
||||
"USECOREWINDOW",
|
||||
]
|
||||
if (target_os == "winuwp") {
|
||||
defines = [
|
||||
"_SILENCE_CLANG_COROUTINE_MESSAGE",
|
||||
"FLUTTER_ENGINE_NO_PROTOTYPES",
|
||||
"USECOREWINDOW",
|
||||
]
|
||||
} else {
|
||||
defines = [ "FLUTTER_ENGINE_NO_PROTOTYPES" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":flutter_windows_headers",
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef UI_GFX_GEOMETRY_INSETS_H_
|
||||
#define UI_GFX_GEOMETRY_INSETS_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "gfx/gfx_export.h"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#define UI_GFX_GEOMETRY_VECTOR2D_F_H_
|
||||
|
||||
#include <iosfwd>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "gfx/gfx_export.h"
|
||||
|
||||
Reference in New Issue
Block a user