From 3efe2e75e1cfd7435092977e87ed92a6282cf68b Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Tue, 2 Aug 2022 13:46:29 -0700 Subject: [PATCH] Remove architecture restriction from //flutter/testing:opengl. (flutter/engine#35098) Cf. f7163f555c764e00ff220d079361fe9511f959f4. Bug: https://github.com/flutter/flutter/issues/90425 Bug: https://github.com/flutter/flutter/issues/103386 --- engine/src/flutter/shell/common/BUILD.gn | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/engine/src/flutter/shell/common/BUILD.gn b/engine/src/flutter/shell/common/BUILD.gn index 22bde213f9..40320c9c76 100644 --- a/engine/src/flutter/shell/common/BUILD.gn +++ b/engine/src/flutter/shell/common/BUILD.gn @@ -229,16 +229,13 @@ if (enable_unittests) { ":shell_unittests_gpu_configuration_config", ] - # SwiftShader only supports x86/x86_64 - if (target_cpu == "x86" || target_cpu == "x64") { - if (test_enable_gl) { - sources += [ - "shell_test_platform_view_gl.cc", - "shell_test_platform_view_gl.h", - ] + if (test_enable_gl) { + sources += [ + "shell_test_platform_view_gl.cc", + "shell_test_platform_view_gl.h", + ] - public_deps += [ "//flutter/testing:opengl" ] - } + public_deps += [ "//flutter/testing:opengl" ] } if (test_enable_vulkan) {