From d60b48b05fe30b5b366cb4808be6e8604339a579 Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Tue, 5 Sep 2023 14:58:08 -0700 Subject: [PATCH] Add comment on arm64_apilevel26 Android GN toolchain --- build/toolchain/android/BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn index 285f2d7ff1..cb1d95da6f 100644 --- a/build/toolchain/android/BUILD.gn +++ b/build/toolchain/android/BUILD.gn @@ -178,6 +178,10 @@ android_gcc_toolchains_helper("arm64") { toolchain_cpu = "aarch64" } +# This toolchain should only be used to build the target +# //third_party/vulkan_validation_layers. This is because vulkan validation +# layers requires API level >= 26, but Flutter officially supports down to API +# level 22, which is the default value of the android_api_level argument. android_gcc_toolchains_helper("arm64_apilevel26") { android_ndk_lib_dir = arm64_android_lib