Windows: Explicitly specify the DLLs to include in the binary distribution.
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1599 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
fae6bcfce4
commit
ff6d6e60ee
|
@ -490,6 +490,14 @@ if mode == 'standard':
|
|||
output_dir, options.quiet)
|
||||
|
||||
if platform == 'windows':
|
||||
binaries = [
|
||||
'd3dcompiler_46.dll',
|
||||
'ffmpegsumo.dll',
|
||||
'libcef.dll',
|
||||
'libEGL.dll',
|
||||
'libGLESv2.dll',
|
||||
]
|
||||
|
||||
if options.ninjabuild:
|
||||
out_dir = os.path.join(src_dir, 'out')
|
||||
libcef_dll_file = 'libcef.dll.lib'
|
||||
|
@ -525,7 +533,8 @@ if platform == 'windows':
|
|||
dst_dir = os.path.join(output_dir, 'Debug')
|
||||
make_dir(dst_dir, options.quiet)
|
||||
copy_files(os.path.join(script_dir, 'distrib/win/*.dll'), dst_dir, options.quiet)
|
||||
copy_files(os.path.join(build_dir, '*.dll'), dst_dir, options.quiet)
|
||||
for binary in binaries:
|
||||
copy_file(os.path.join(build_dir, binary), os.path.join(dst_dir, binary), options.quiet)
|
||||
copy_file(os.path.join(build_dir, libcef_dll_file), os.path.join(dst_dir, 'libcef.lib'), \
|
||||
options.quiet)
|
||||
combine_libs(build_dir, sandbox_libs, os.path.join(dst_dir, 'cef_sandbox.lib'));
|
||||
|
@ -545,7 +554,8 @@ if platform == 'windows':
|
|||
dst_dir = os.path.join(output_dir, 'Release')
|
||||
make_dir(dst_dir, options.quiet)
|
||||
copy_files(os.path.join(script_dir, 'distrib/win/*.dll'), dst_dir, options.quiet)
|
||||
copy_files(os.path.join(build_dir, '*.dll'), dst_dir, options.quiet)
|
||||
for binary in binaries:
|
||||
copy_file(os.path.join(build_dir, binary), os.path.join(dst_dir, binary), options.quiet)
|
||||
|
||||
if mode != 'client':
|
||||
copy_file(os.path.join(build_dir, libcef_dll_file), os.path.join(dst_dir, 'libcef.lib'), \
|
||||
|
|
Loading…
Reference in New Issue