File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 314
314
'type' : 'none' ,
315
315
'dependencies' : [
316
316
'generate_nw_resources' ,
317
+ 'about_credits' ,
317
318
],
318
319
'variables' : {
319
320
'grit_out_dir' : '<(SHARED_INTERMEDIATE_DIR)/content' ,
344
345
},
345
346
],
346
347
},
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
+ },
347
375
{
348
376
# We build a minimal set of resources so WebKit in nw has
349
377
# access to necessary resources.
Original file line number Diff line number Diff line change 78
78
'nw.pak' ,
79
79
'libffmpegsumo.so' ,
80
80
'nwsnapshot' ,
81
+ 'credits.html' ,
81
82
)
82
83
83
84
required_file_win = (
88
89
'nw.exe' ,
89
90
'nw.pak' ,
90
91
'nwsnapshot.exe' ,
92
+ 'credits.html' ,
91
93
)
92
94
93
95
required_file_mac = (
94
96
'node-webkit.app' ,
95
97
'nwsnapshot' ,
98
+ 'credits.html' ,
96
99
)
97
100
98
101
required_chromedriver2_file_win = (
You can’t perform that action at this time.
0 commit comments