Linux: Fix files included by make_distrib for cefclient mode
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1214 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
4b6ac3a662
commit
a39b499db8
|
@ -614,10 +614,14 @@ elif platform == 'linux':
|
||||||
valid_build_dir = build_dir
|
valid_build_dir = build_dir
|
||||||
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_file(os.path.join(build_dir, lib_dir_name, 'libcef.so'), dst_dir, options.quiet)
|
|
||||||
|
|
||||||
if mode == 'client':
|
if mode == 'client':
|
||||||
|
lib_dst_dir = os.path.join(dst_dir, lib_dir_name)
|
||||||
|
make_dir(lib_dst_dir, options.quiet)
|
||||||
|
copy_file(os.path.join(build_dir, lib_dir_name, 'libcef.so'), lib_dst_dir, options.quiet)
|
||||||
copy_file(os.path.join(build_dir, 'cefclient'), dst_dir, options.quiet)
|
copy_file(os.path.join(build_dir, 'cefclient'), dst_dir, options.quiet)
|
||||||
|
else:
|
||||||
|
copy_file(os.path.join(build_dir, lib_dir_name, 'libcef.so'), dst_dir, options.quiet)
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("No Release build files.\n")
|
sys.stderr.write("No Release build files.\n")
|
||||||
|
|
||||||
|
@ -626,6 +630,7 @@ elif platform == 'linux':
|
||||||
build_dir = valid_build_dir
|
build_dir = valid_build_dir
|
||||||
if mode == 'client':
|
if mode == 'client':
|
||||||
dst_dir = os.path.join(output_dir, 'Release')
|
dst_dir = os.path.join(output_dir, 'Release')
|
||||||
|
copy_dir(os.path.join(build_dir, 'files'), os.path.join(dst_dir, 'files'), options.quiet)
|
||||||
else:
|
else:
|
||||||
dst_dir = os.path.join(output_dir, 'Resources')
|
dst_dir = os.path.join(output_dir, 'Resources')
|
||||||
make_dir(dst_dir, options.quiet)
|
make_dir(dst_dir, options.quiet)
|
||||||
|
|
Loading…
Reference in New Issue