mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -490,6 +490,14 @@ if mode == 'standard':
|
|||||||
output_dir, options.quiet)
|
output_dir, options.quiet)
|
||||||
|
|
||||||
if platform == 'windows':
|
if platform == 'windows':
|
||||||
|
binaries = [
|
||||||
|
'd3dcompiler_46.dll',
|
||||||
|
'ffmpegsumo.dll',
|
||||||
|
'libcef.dll',
|
||||||
|
'libEGL.dll',
|
||||||
|
'libGLESv2.dll',
|
||||||
|
]
|
||||||
|
|
||||||
if options.ninjabuild:
|
if options.ninjabuild:
|
||||||
out_dir = os.path.join(src_dir, 'out')
|
out_dir = os.path.join(src_dir, 'out')
|
||||||
libcef_dll_file = 'libcef.dll.lib'
|
libcef_dll_file = 'libcef.dll.lib'
|
||||||
@@ -525,7 +533,8 @@ if platform == 'windows':
|
|||||||
dst_dir = os.path.join(output_dir, 'Debug')
|
dst_dir = os.path.join(output_dir, 'Debug')
|
||||||
make_dir(dst_dir, options.quiet)
|
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(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'), \
|
copy_file(os.path.join(build_dir, libcef_dll_file), os.path.join(dst_dir, 'libcef.lib'), \
|
||||||
options.quiet)
|
options.quiet)
|
||||||
combine_libs(build_dir, sandbox_libs, os.path.join(dst_dir, 'cef_sandbox.lib'));
|
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')
|
dst_dir = os.path.join(output_dir, 'Release')
|
||||||
make_dir(dst_dir, options.quiet)
|
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(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':
|
if mode != 'client':
|
||||||
copy_file(os.path.join(build_dir, libcef_dll_file), os.path.join(dst_dir, 'libcef.lib'), \
|
copy_file(os.path.join(build_dir, libcef_dll_file), os.path.join(dst_dir, 'libcef.lib'), \
|
||||||
|
Reference in New Issue
Block a user