From fbea25172243496d7a9c20561d7374137c4b0517 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Wed, 6 Sep 2023 10:40:05 -0700 Subject: [PATCH] Remove android API 26 bump for validation layers (flutter/engine#45468) not necessary after: https://github.com/flutter/engine/pull/45350 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/tools/gn | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index 3bac2e7219..c80590bd67 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -650,8 +650,6 @@ def to_gn_args(args): runtime_mode == 'debug' and gn_args['target_cpu'] == 'arm64'): gn_args['enable_vulkan_validation_layers'] = True - if args.target_os == 'android': - gn_args['android_api_level'] = 26 # Enable pointer compression on 64-bit mobile targets. iOS is excluded due to # its inability to allocate address space without allocating memory.