Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: content/gpu/BUILD.gn

Issue 506633002: Remove the use of d3dcompiler_43.dll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_gpu.gypi ('k') | ui/gl/gl_implementation_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/BUILD.gn
diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn
index 45a7fa2861542bd24f112e5de5f8f7892eb27808..eaa2b8e409f52fed0e2132a681dcbb3b592409fc 100644
--- a/content/gpu/BUILD.gn
+++ b/content/gpu/BUILD.gn
@@ -5,10 +5,6 @@
import("//build/config/ui.gni")
import("//content/content.gni")
-# We don't support x64 prior to Win7 and D3DCompiler_43.dll is not needed on
-# Vista+.
-need_d3dcompiler = (is_win && cpu_arch == "x86" && directxsdk_exists)
-
source_set("gpu") {
# TODO(brettw) it seems like this should be only visible to content like
# the other non-public content directories are. But this is depended on by
@@ -48,10 +44,6 @@ source_set("gpu") {
]
}
- if (need_d3dcompiler) {
- deps += [ ":extract_d3dcompiler" ]
- }
-
if (is_chromeos && cpu_arch != "arm") {
configs += [ "//third_party/libva/libva_config" ]
}
@@ -60,22 +52,3 @@ source_set("gpu") {
deps += [ "//ui/events/platform/x11" ]
}
}
-
-if (need_d3dcompiler) {
- action("extract_d3dcompiler") {
- visibility = ":*"
- script = "//build/extract_from_cab.py"
-
- cabfile = "//third_party/directxsdk/files/Redist/Jun2010_D3DCompiler_43_x86.cab"
- dllfile = "D3DCompiler_43.dll"
-
- inputs = [ cabfile ]
- outputs = [ "$root_out_dir/$dllfile" ]
-
- args = [
- rebase_path(cabfile, root_build_dir),
- dllfile,
- rebase_path(root_out_dir, root_build_dir),
- ]
- }
-}
« no previous file with comments | « content/content_gpu.gypi ('k') | ui/gl/gl_implementation_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698