From 83c4708ccf127fb038ef06c7b110beed129a1a83 Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Wed, 9 Nov 2022 19:54:20 -0500 Subject: [PATCH] Include AndroidSurfaceVulkanImpeller behind a flag (flutter/engine#37486) This is to enable building in google3. See also: b/258506856 --- .../src/flutter/shell/platform/android/platform_view_android.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/flutter/shell/platform/android/platform_view_android.cc b/engine/src/flutter/shell/platform/android/platform_view_android.cc index f4b02c3251..1b9d440a2d 100644 --- a/engine/src/flutter/shell/platform/android/platform_view_android.cc +++ b/engine/src/flutter/shell/platform/android/platform_view_android.cc @@ -16,7 +16,9 @@ #include "flutter/shell/platform/android/android_surface_gl_impeller.h" #include "flutter/shell/platform/android/android_surface_gl_skia.h" #include "flutter/shell/platform/android/android_surface_software.h" +#if IMPELLER_ENABLE_VULKAN // b/258506856 for why this is behind an if #include "flutter/shell/platform/android/android_surface_vulkan_impeller.h" +#endif #include "flutter/shell/platform/android/context/android_context.h" #include "flutter/shell/platform/android/external_view_embedder/external_view_embedder.h" #include "flutter/shell/platform/android/jni/platform_view_android_jni.h"