@@ -242,7 +242,12 @@ def main_linux(output_directory, results_collector, size_path):
242242 """
243243 assert size_path is None
244244 binaries = [
245- 'libcobalt.so' ,
245+ 'chrome' ,
246+ 'nacl_helper' ,
247+ 'nacl_helper_bootstrap' ,
248+ 'libffmpegsumo.so' ,
249+ 'libgcflashplayer.so' ,
250+ 'libppGoogleNaClPluginChrome.so' ,
246251 ]
247252
248253 result = 0
@@ -384,6 +389,25 @@ def main_win(output_directory, results_collector, size_path):
384389 return 0
385390
386391
392+ def main_cobalt_evergreen (output_directory , results_collector , size_path ):
393+ """Print appropriate size information about built Cobalt Evergreen targets."""
394+ assert size_path is None
395+ binaries = [
396+ 'libcobalt.so' ,
397+ ]
398+
399+ result = 0
400+
401+ for binary in binaries :
402+ this_result , this_sizes = check_linux_binary (binary , output_directory )
403+ if result == 0 :
404+ result = this_result
405+ for name , identifier , _ , value , units in this_sizes :
406+ results_collector .add_result (name , identifier , value , units )
407+
408+ return result
409+
410+
387411def format_for_histograms_conversion (data ):
388412 # We need to do two things to the provided data to make it compatible with the
389413 # conversion script:
@@ -410,6 +434,7 @@ def main():
410434 main_map = {
411435 'android' : main_android ,
412436 'android-cronet' : main_android_cronet ,
437+ 'cobalt-evergreen' : main_cobalt_evergreen ,
413438 'linux' : main_linux ,
414439 'mac' : main_mac ,
415440 'win' : main_win ,
0 commit comments