File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ LICENSING
3
3
4
4
The CEF project is BSD licensed. Please read the LICENSE.txt file included with
5
5
this binary distribution for licensing terms and conditions. Other software
6
- included in this distribution is provided under other licenses. Please visit
7
- "about:credits" in a CEF-based application for complete Chromium and third-party
8
- licensing information.
6
+ included in this distribution is provided under other licenses. Please see the
7
+ CREDITS.html file or visit "about:credits" in a CEF-based application for
8
+ complete Chromium and third-party licensing information.
Original file line number Diff line number Diff line change @@ -913,6 +913,16 @@ def print_error(msg):
913
913
build_dir_debug = os .path .join (out_dir , 'Debug' + build_dir_suffix )
914
914
build_dir_release = os .path .join (out_dir , 'Release' + build_dir_suffix )
915
915
916
+ # Transfer the about_credits.html file.
917
+ # Debug and Release build should be the same so grab whichever exists.
918
+ rel_path = os .path .join ('gen' , 'components' , 'resources' , 'about_credits.html' )
919
+ src_path = os .path .join (build_dir_release , rel_path )
920
+ if not os .path .exists (src_path ):
921
+ src_path = os .path .join (build_dir_debug , rel_path )
922
+ if not os .path .exists (src_path ):
923
+ raise Exception ('Missing generated resources file: %s' % rel_path )
924
+ copy_file (src_path , os .path .join (output_dir , 'CREDITS.html' ), options .quiet )
925
+
916
926
if mode == 'standard' or mode == 'minimal' :
917
927
# create the include directory
918
928
include_dir = os .path .join (output_dir , 'include' )
You can’t perform that action at this time.
0 commit comments