Bug 823109. Only extract d3d dlls when necessary. r=ted

This adds proper dependencies so that make can do better.

--HG--
extra : rebase_source : 4878bf741f29d738603f090e914a1adf2e31732b
This commit is contained in:
Jeff Muizelaar 2013-01-15 11:14:04 -05:00
parent 46f72e2365
commit cb79bf28d9

View File

@ -124,11 +124,17 @@ ifdef MOZ_ANGLE_RENDERER
# libEGL depends on (links against!) libGLESv2!
DIRS = src/libGLESv2 src/libEGL
libs::
ifdef MOZ_D3DX9_CAB
libs:: $(DIST)/bin/$(MOZ_D3DX9_DLL)
$(DIST)/bin/$(MOZ_D3DX9_DLL): $(MOZ_D3DX9_CAB)
expand "$(MOZ_D3DX9_CAB)" -F:$(MOZ_D3DX9_DLL) "$(DIST)/bin"
endif
ifdef MOZ_D3DCOMPILER_CAB
libs:: $(DIST)/bin/$(MOZ_D3DCOMPILER_DLL)
$(DIST)/bin/$(MOZ_D3DCOMPILER_DLL): $(MOZ_D3DCOMPILER_CAB)
expand "$(MOZ_D3DCOMPILER_CAB)" -F:$(MOZ_D3DCOMPILER_DLL) "$(DIST)/bin"
endif