File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 5
5
using System ;
6
6
using System . Collections . Generic ;
7
7
using System . IO ;
8
- #if NETCOREAPP
9
- using System . Linq ;
10
- #endif
11
8
using System . Reflection ;
12
- #if NETCOREAPP
13
- using System . Runtime . InteropServices ;
14
- #endif
15
9
using System . Text ;
16
10
17
11
namespace CefSharp
@@ -27,11 +21,6 @@ public static class DependencyChecker
27
21
/// </summary>
28
22
public const string LocalesPackFile = @"locales\en-US.pak" ;
29
23
30
- /// <summary>
31
- /// File name of the Direct3D Compiler DLL.
32
- /// </summary>
33
- private const string D3DCompilerDll = "d3dcompiler_47.dll" ;
34
-
35
24
/// <summary>
36
25
/// List of Cef Dependencies
37
26
/// </summary>
@@ -71,8 +60,7 @@ public static class DependencyChecker
71
60
// Note: Without these components HTML5 accelerated content like 2D canvas, 3D CSS and WebGL will not function.
72
61
"libEGL.dll" ,
73
62
"libGLESv2.dll" ,
74
- // The D3D Compiler isn't included in the win-arm64 redist; we remove it in the static constructor.
75
- D3DCompilerDll ,
63
+ "d3dcompiler_47.dll" ,
76
64
//Crashpad support
77
65
"chrome_elf.dll"
78
66
} ;
@@ -111,17 +99,6 @@ public static class DependencyChecker
111
99
#endif
112
100
} ;
113
101
114
- #if NETCOREAPP
115
- static DependencyChecker ( )
116
- {
117
- // win-arm64 doesn't ship with a copy of the D3D Compiler, it's included with the OS.
118
- if ( RuntimeInformation . ProcessArchitecture is Architecture . Arm64 )
119
- {
120
- CefOptionalDependencies = CefOptionalDependencies . Where ( x => x != D3DCompilerDll ) . ToArray ( ) ;
121
- }
122
- }
123
- #endif
124
-
125
102
/// <summary>
126
103
/// CheckDependencies iterates through the list of Cef and CefSharp dependencines
127
104
/// relative to the path provided and returns a list of missing ones
You can’t perform that action at this time.
0 commit comments