Remove architecture restriction from //flutter/testing:opengl. (flutter/engine#35098)

Cf. f7163f555c.

Bug: https://github.com/flutter/flutter/issues/90425
Bug: https://github.com/flutter/flutter/issues/103386
This commit is contained in:
Ryan Macnak
2022-08-02 13:46:29 -07:00
committed by GitHub
parent f15121f17a
commit 3efe2e75e1

View File

@@ -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) {