diff --git a/tools/distrib/README.footer.txt b/tools/distrib/README.footer.txt index e57a66224..035e9ad61 100644 --- a/tools/distrib/README.footer.txt +++ b/tools/distrib/README.footer.txt @@ -3,6 +3,6 @@ LICENSING The CEF project is BSD licensed. Please read the LICENSE.txt file included with this binary distribution for licensing terms and conditions. Other software -included in this distribution is provided under other licenses. Please visit -"about:credits" in a CEF-based application for complete Chromium and third-party -licensing information. +included in this distribution is provided under other licenses. Please see the +CREDITS.html file or visit "about:credits" in a CEF-based application for +complete Chromium and third-party licensing information. diff --git a/tools/make_distrib.py b/tools/make_distrib.py index 088bbcc7a..dd24122aa 100644 --- a/tools/make_distrib.py +++ b/tools/make_distrib.py @@ -913,6 +913,16 @@ out_dir = os.path.join(src_dir, 'out') build_dir_debug = os.path.join(out_dir, 'Debug' + build_dir_suffix) build_dir_release = os.path.join(out_dir, 'Release' + build_dir_suffix) +# Transfer the about_credits.html file. +# Debug and Release build should be the same so grab whichever exists. +rel_path = os.path.join('gen', 'components', 'resources', 'about_credits.html') +src_path = os.path.join(build_dir_release, rel_path) +if not os.path.exists(src_path): + src_path = os.path.join(build_dir_debug, rel_path) + if not os.path.exists(src_path): + raise Exception('Missing generated resources file: %s' % rel_path) +copy_file(src_path, os.path.join(output_dir, 'CREDITS.html'), options.quiet) + if mode == 'standard' or mode == 'minimal': # create the include directory include_dir = os.path.join(output_dir, 'include')