Skip to content

Commit

Permalink
Remove architecture restriction from //flutter/testing:opengl. (flutt…
Browse files Browse the repository at this point in the history
  • Loading branch information
rmacnak-google authored and betrevisan committed Aug 5, 2022
1 parent d9618b9 commit df11fd1
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions shell/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

public_deps += [ "//flutter/testing:opengl" ]
}
if (test_enable_gl) {
sources += [
"shell_test_platform_view_gl.cc",
"shell_test_platform_view_gl.h",
]

public_deps += [ "//flutter/testing:opengl" ]
}

if (test_enable_vulkan) {
Expand Down

0 comments on commit df11fd1

Please sign in to comment.