Repository: flutter
Issue: Build error while building libflutter_engine.so
Labels: engine,platform-linux,P2,team-engine,triaged-engine

I am attempting to build libflutter_engine.so for my custom embedder, and I get the error shown below while building for my host (linux):

These are tests that are failing to build. I have vulcan disabled in my `args.gn` so these tests shouldn't be built, should they?

```
[2475/7306] CXX obj/flutter/vulkan/vulkan.vulkan_window.o
FAILED: obj/flutter/vulkan/vulkan.vulkan_window.o 
../../buildtools/linux-x64/clang/bin/clang++ -MD -MF obj/flutter/vulkan/vulkan.vulkan_window.o.d -DUSE_OPENSSL=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_AVAILABILITY=1 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DVULKAN_HPP_NO_EXCEPTIONS=1 -DSK_GL -DSK_SUPPORT_GPU=1 -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_CODEC_DECODES_PNG -DSK_ENCODE_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_WEBP -DSK_HAS_WUFFS_LIBRARY -DFLUTTER_RUNTIME_MODE_DEBUG=1 -DFLUTTER_RUNTIME_MODE_PROFILE=2 -DFLUTTER_RUNTIME_MODE_RELEASE=3 -DFLUTTER_RUNTIME_MODE_JIT_RELEASE=4 -DDART_LEGACY_API=\[\[deprecated\]\] -DFLUTTER_RUNTIME_MODE=1 -DFLUTTER_JIT_RUNTIME=1 -DSK_R32_SHIFT=16 -DSK_ENABLE_DUMP_GPU -DSK_DISABLE_AAA -DSK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION -DSK_LEGACY_INNER_JOINS -DSK_LEGACY_IGNORE_DRAW_VERTICES_BLEND_WITH_NO_SHADER -DSK_DISABLE_LEGACY_SHADERCONTEXT -DSK_DISABLE_LOWP_RASTER_PIPELINE -DSK_FORCE_RASTER_PIPELINE_BLITTER -DSK_METAL_WAIT_UNTIL_SCHEDULED -DSK_GL -DSK_DISABLE_EFFECT_DESERIALIZATION -DSK_ENABLE_SKSL -DSK_ENABLE_PRECOMPILE -I../.. -Igen -I../../third_party/libcxx/include -I../../third_party/libcxxabi/include -I../../third_party/libcxxabi/include -I../../third_party/vulkan_memory_allocator/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../.. -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/skia -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -m64 -march=x86-64 -fPIC -pipe -pthread -fcolor-diagnostics -Wall -Wextra -Wendif-labels -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-deprecated-copy -Wno-psabi -Wno-unqualified-std-cast-call -Wno-non-c-typedef-for-linkage -Wno-range-loop-construct -fvisibility=hidden --sysroot=/p/flutter/f/flutter-stable/engine/src/build/linux/debian_sid_amd64-sysroot -Wstring-conversion -Wnewline-eof -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility-inlines-hidden -std=c++17 -fno-rtti -nostdinc++ -nostdinc++ -fvisibility=hidden -fno-exceptions   -c ../../flutter/vulkan/vulkan_window.cc -o obj/flutter/vulkan/vulkan.vulkan_window.o
../../flutter/vulkan/vulkan_window.cc:120:24: error: no member named 'MakeVulkan' in 'GrDirectContext'
      GrDirectContext::MakeVulkan(backend_context, options);
      ~~~~~~~~~~~~~~~~~^
1 error generated.
[2492/7306] CXX obj/flutter/third_party/txt/tests/txt_unittests.paragraph_unittests.o
ninja: build stopped: subcommand failed.
```