Commit 8883e9be authored by apatrick@chromium.org's avatar apatrick@chromium.org

Reland 175201 with fixes for installer.

> Windows: Remove content's dependency on d3dx9_43.dll.
> 
> ANGLE doesn't need this loaded anymore.
> 
> Review URL: https://chromiumcodereview.appspot.com/11737027

See also: https://codereview.chromium.org/11747017/

TBR=apatrick@chromium.org
Review URL: https://codereview.chromium.org/11820033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175957 0039d316-1c4b-4281-b951-d872f2087c98
parent e6530318
......@@ -23,7 +23,6 @@ chrome_frame_helper.dll: %(VersionDir)s\
Extensions\*.*: %(VersionDir)s\Extensions\
ffmpegsumo.dll: %(VersionDir)s\
pdf.dll: %(VersionDir)s\
d3dx9_43.dll: %(VersionDir)s\
D3DCompiler_43.dll: %(VersionDir)s\
libEGL.dll: %(VersionDir)s\
libGLESv2.dll: %(VersionDir)s\
......
......@@ -313,10 +313,6 @@ FILES = [
'buildtype': ['dev', 'official'],
},
# ANGLE files:
{
'filename': 'd3dx9_43.dll',
'buildtype': ['dev', 'official'],
},
{
'filename': 'D3DCompiler_43.dll',
'buildtype': ['dev', 'official'],
......
......@@ -531,7 +531,6 @@
'link_settings': {
'libraries': [
'-ld3d9.lib',
'-ld3dx9.lib',
'-ldxva2.lib',
'-lstrmiids.lib',
'-lmf.lib',
......@@ -543,7 +542,6 @@
'AdditionalLibraryDirectories': ['$(DXSDK_DIR)/lib/x86'],
'DelayLoadDLLs': [
'd3d9.dll',
'd3dx9_43.dll',
'dxva2.dll',
'mf.dll',
'mfplat.dll',
......
......@@ -47,26 +47,6 @@
}],
['OS=="win" and directxsdk_exists=="True"', {
'actions': [
{
'action_name': 'extract_d3dx9',
'variables': {
'input': 'Jun2010_d3dx9_43_x86.cab',
'output': 'd3dx9_43.dll',
},
'inputs': [
'../third_party/directxsdk/files/Redist/<(input)',
],
'outputs': [
'<(PRODUCT_DIR)/<(output)',
],
'action': [
'python',
'../build/extract_from_cab.py',
'..\\third_party\\directxsdk\\files\\Redist\\<(input)',
'<(output)',
'<(PRODUCT_DIR)',
],
},
{
'action_name': 'extract_d3dcompiler',
'variables': {
......
......@@ -115,14 +115,12 @@ bool InitializeGLBindings(GLImplementation implementation) {
if (!PathService::Get(base::DIR_MODULE, &module_path))
return false;
// Attempt to load D3DX and its dependencies using the default search path
// Attempt to load the D3DX shader compiler using the default search path
// and if that fails, using an absolute path. This is to ensure these DLLs
// are loaded before ANGLE is loaded in case they are not in the default
// search path.
LoadD3DXLibrary(module_path, base::StringPrintf(L"d3dcompiler_%d.dll",
kPinnedD3DXVersion));
LoadD3DXLibrary(module_path, base::StringPrintf(L"d3dx9_%d.dll",
kPinnedD3DXVersion));
FilePath gles_path;
const CommandLine* command_line = CommandLine::ForCurrentProcess();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment