Open Bug 1411711 Opened 7 years ago Updated 2 years ago

Remove MOZ_D3DCOMPILER_XP_CAB, move MOZ_D3DCOMPILER_VISTA_DLL_PATH to moz.build

Categories

(Core :: Graphics, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- ?

People

(Reporter: ted, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

gfx/angle/Makefile.in has a libs rule to copy some files out of the Windows SDK:
https://hg.mozilla.org/mozilla-central/file/e56ae7213756d93da1c1c72805c8f8b8ddb9dcdd/gfx/angle/Makefile.in#l7

Given that we no longer support Vista or XP, I would guess that we probably don't need those rules anymore.
Bas: do we still need to ship these files for Windows builds?

It doesn't look like MOZ_D3DCOMPILER_XP_CAB is actually set for any of our builds:
https://dxr.mozilla.org/mozilla-central/search?tree=mozilla-central&q=MOZ_D3DCOMPILER_XP_CAB

We copy d3dcompiler_47.dll out of the Windows SDK:
https://dxr.mozilla.org/mozilla-central/rev/a124f4901430f6db74cfc7fe3b07957a1c691b40/old-configure.in#2924

Is that still needed now that we've dropped Vista support?
Flags: needinfo?(bas)
MOZ_D3DCOMPILER_VISTA_DLL_PATH is used for Vista *or later*. Perhaps we should rename the misleading name.

Removing MOZ_D3DCOMPILER_VISTA_DLL_PATH is fine.
> Removing MOZ_D3DCOMPILER_VISTA_DLL_PATH is fine.

Correction: Removing MOZ_D3DCOMPILER_XP_CAB is fine.
Priority: -- → P5
Whiteboard: [gfx-noted]
(In reply to Masatoshi Kimura [:emk] from comment #2)
> MOZ_D3DCOMPILER_VISTA_DLL_PATH is used for Vista *or later*. Perhaps we
> should rename the misleading name.

Thanks! Resummarizing.
Flags: needinfo?(bas)
Summary: Do we still need MOZ_D3DCOMPILER_VISTA_DLL_PATH and MOZ_D3DCOMPILER_XP_CAB? → Remove MOZ_D3DCOMPILER_XP_CAB, move MOZ_D3DCOMPILER_VISTA_DLL_PATH to moz.build
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.