File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 314314 'type' : 'none' ,
315315 'dependencies' : [
316316 'generate_nw_resources' ,
317+ 'about_credits' ,
317318 ],
318319 'variables' : {
319320 'grit_out_dir' : '<(SHARED_INTERMEDIATE_DIR)/content' ,
344345 },
345346 ],
346347 },
348+ {
349+ 'target_name' : 'about_credits' ,
350+ 'type' : 'none' ,
351+ 'actions' : [
352+ {
353+ 'variables' : {
354+ 'generator_path' : '../../tools/licenses.py' ,
355+ 'about_credits_file' : '<(PRODUCT_DIR)/credits.html' ,
356+ },
357+ 'action_name' : 'generate_about_credits' ,
358+ 'inputs' : [
359+ # TODO(phajdan.jr): make licenses.py print inputs too.
360+ '<(generator_path)' ,
361+ ],
362+ 'outputs' : [
363+ '<(about_credits_file)' ,
364+ ],
365+ 'hard_dependency' : 1 ,
366+ 'action' : ['python' ,
367+ '<(generator_path)' ,
368+ 'credits' ,
369+ '<(about_credits_file)' ,
370+ ],
371+ 'message' : 'Generating about:credits.' ,
372+ },
373+ ],
374+ },
347375 {
348376 # We build a minimal set of resources so WebKit in nw has
349377 # access to necessary resources.
Original file line number Diff line number Diff line change 7878 'nw.pak' ,
7979 'libffmpegsumo.so' ,
8080 'nwsnapshot' ,
81+ 'credits.html' ,
8182)
8283
8384required_file_win = (
8889 'nw.exe' ,
8990 'nw.pak' ,
9091 'nwsnapshot.exe' ,
92+ 'credits.html' ,
9193)
9294
9395required_file_mac = (
9496 'node-webkit.app' ,
9597 'nwsnapshot' ,
98+ 'credits.html' ,
9699)
97100
98101required_chromedriver2_file_win = (
You can’t perform that action at this time.
0 commit comments