summarylogtreecommitdiffstats
path: root/angle-disable-vulkan.patch
blob: 0347c938852335d2e0312f9044451f50b06ab6aa (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
35
36
37
38
39
40
41
42
43
44
45
--- a/third_party/angle/BUILD.gn	2017-08-05 00:06:22.000000000 +0200
+++ b/third_party/angle/BUILD.gn	2017-09-03 11:19:35.412969192 +0200
@@ -282,13 +282,6 @@
     defines += [ "ANGLE_ENABLE_HLSL" ]
   }
 
-  if (angle_enable_vulkan || use_libfuzzer) {
-    sources += rebase_path(compiler_gypi.angle_translator_lib_vulkan_sources,
-                           ".",
-                           "src")
-    defines += [ "ANGLE_ENABLE_VULKAN" ]
-  }
-
   configs -= angle_undefine_configs
   configs += [ ":internal_config" ]
   public_configs = [ ":external_config" ]
@@ -374,9 +367,6 @@
       defines += [ "ANGLE_USE_X11" ]
     }
   }
-  if (angle_enable_vulkan) {
-    defines += [ "ANGLE_ENABLE_VULKAN" ]
-  }
   if (angle_enable_null) {
     defines += [ "ANGLE_ENABLE_NULL" ]
   }
@@ -467,18 +457,6 @@
     }
   }
 
-  if (angle_enable_vulkan) {
-    sources += rebase_path(gles_gypi.libangle_vulkan_sources, ".", "src")
-    if (is_win) {
-      sources +=
-          rebase_path(gles_gypi.libangle_vulkan_win32_sources, ".", "src")
-    }
-    if (is_linux) {
-      sources += rebase_path(gles_gypi.libangle_vulkan_xcb_sources, ".", "src")
-    }
-    deps += [ "//third_party/angle/src/vulkan_support:angle_vulkan" ]
-  }
-
   if (angle_enable_null) {
     sources += rebase_path(gles_gypi.libangle_null_sources, ".", "src")
   }