From a39b499db8ea9eb82eb7a0a4a92943b9d768cd64 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 11 Apr 2013 23:30:13 +0000 Subject: [PATCH] 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 --- tools/make_distrib.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/make_distrib.py b/tools/make_distrib.py index 715da17ca..836ca4c4b 100644 --- a/tools/make_distrib.py +++ b/tools/make_distrib.py @@ -614,10 +614,14 @@ elif platform == 'linux': valid_build_dir = build_dir dst_dir = os.path.join(output_dir, 'Release') 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': + 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) + else: + copy_file(os.path.join(build_dir, lib_dir_name, 'libcef.so'), dst_dir, options.quiet) else: sys.stderr.write("No Release build files.\n") @@ -626,6 +630,7 @@ elif platform == 'linux': build_dir = valid_build_dir if mode == 'client': 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: dst_dir = os.path.join(output_dir, 'Resources') make_dir(dst_dir, options.quiet)