blob: dbafaece2681d4cd7eaef6282246f583b8d3c2c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
description: avoid building the swiftshader library
author: Michael Gilbert <mgilbert@debian.org>
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -495,7 +495,7 @@ group("gn_all") {
]
}
- if ((is_win || is_mac || is_linux || is_chromeos || is_fuchsia) &&
+ if (false &&
(target_cpu == "x86" || target_cpu == "x64")) {
deps += [
"//third_party/swiftshader/src/Vulkan:icd_file",
--- a/third_party/angle/gni/angle.gni
+++ b/third_party/angle/gni/angle.gni
@@ -171,7 +171,7 @@ declare_args() {
((angle_use_x11 && !is_chromeos) || angle_use_wayland || is_castos)) &&
!is_fuchsia && !angle_is_winuwp && !is_ggp && !is_win_arm64
- angle_enable_vulkan =
+ angle_enable_vulkan = false &&
angle_has_build &&
!(is_android && build_with_chromium && is_official_build) &&
((is_win && !angle_is_winuwp) ||
--- a/gpu/vulkan/features.gni
+++ b/gpu/vulkan/features.gni
@@ -14,5 +14,5 @@ declare_args() {
# Enable swiftshader vulkan. Disabling it can save build time, however
# --use-vulkan=swiftshader and some tests which use swiftshader vulkan will
# not work.
- enable_swiftshader_vulkan = true
+ enable_swiftshader_vulkan = false
}
|