From 95386ef56f9148065e7ca84fffbcecfc83ba80a2 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 6 Feb 2019 06:39:01 +0530 Subject: [PATCH] Disable swiftshader for arm32 --- patches/common/chromium/.patches | 1 + .../revert_build_swiftshader_for_arm32.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 patches/common/chromium/revert_build_swiftshader_for_arm32.patch diff --git a/patches/common/chromium/.patches b/patches/common/chromium/.patches index 9bb068f1f680..6bc7a8945c56 100644 --- a/patches/common/chromium/.patches +++ b/patches/common/chromium/.patches @@ -70,3 +70,4 @@ support_mixed_sandbox_with_zygote.patch disable_color_correct_rendering.patch disable_time_ticks_dcheck.patch autofill_size_calculation.patch +revert_build_swiftshader_for_arm32.patch diff --git a/patches/common/chromium/revert_build_swiftshader_for_arm32.patch b/patches/common/chromium/revert_build_swiftshader_for_arm32.patch new file mode 100644 index 000000000000..cccd54671c74 --- /dev/null +++ b/patches/common/chromium/revert_build_swiftshader_for_arm32.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: deepak1556 +Date: Wed, 6 Feb 2019 06:36:32 +0530 +Subject: Revert "Build swiftshader for ARM32." + +This reverts commit e7caa7ca82fc015675aea8cecf178c83a94ab3a7. + +diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn +index 77750dc5e9f24347bba17811da7d86c9ef28e99c..07fb1573d21cf84dfd295927104fb82a254664a8 100644 +--- a/ui/gl/BUILD.gn ++++ b/ui/gl/BUILD.gn +@@ -15,8 +15,8 @@ declare_args() { + enable_swiftshader = (is_win || is_linux || (is_mac && use_egl) || + is_chromeos || is_fuchsia) && + (target_cpu == "x86" || target_cpu == "x64" || +- target_cpu == "arm" || target_cpu == "arm64" || +- target_cpu == "mipsel" || target_cpu == "mips64el") ++ target_cpu == "arm64" || target_cpu == "mipsel" || ++ target_cpu == "mips64el") + + # Whether service side logging (actual calls into the GL driver) is enabled + # or not.