parameters: (build, platform, icon_list)
docstring: adds a platform's icons to a build config.
  	platform is a string platform, eg. "chrome"
  	icon_list is a list of string dimensions, eg. [36, 48, 72]
docstring_summary: adds a platform's icons to a build config.
  	platform is a string platform, eg. "chrome"
  	icon_list is a list of string dimensions, eg. [36, 48, 72]
docstring_tokens: adds a platform s icons to a build config . platform is a string platform eg . chrome icon_list is a list of string dimensions eg . [ 36 48 72 ]
function: def populate_icons(build, platform, icon_list):
  	'''
  	adds a platform's icons to a build config.
  	platform is a string platform, eg. "chrome"
  	icon_list is a list of string dimensions, eg. [36, 48, 72]
  	'''
  	if "icons" in build.config["plugins"] and "config" in build.config["plugins"]["icons"]:
  		if not platform in build.config["plugins"]["icons"]["config"]:
  			build.config["plugins"]["icons"]["config"][platform] = {}
  		for icon in icon_list:
  			str_icon = str(icon)
  			if not str_icon in build.config["plugins"]["icons"]["config"][platform]:
  				try:
  					build.config["plugins"]["icons"]["config"][platform][str_icon] = \
  						build.config["plugins"]["icons"]["config"][str_icon]
  				except KeyError:
  					build.log.warning('missing icon "%s" for platform "%s"' % (str_icon, platform))
  	else:
  		pass
function_tokens: def populate_icons ( build , platform , icon_list ) : if "icons" in build . config [ "plugins" ] and "config" in build . config [ "plugins" ] [ "icons" ] : if not platform in build . config [ "plugins" ] [ "icons" ] [ "config" ] : build . config [ "plugins" ] [ "icons" ] [ "config" ] [ platform ] = { } for icon in icon_list : str_icon = str ( icon ) if not str_icon in build . config [ "plugins" ] [ "icons" ] [ "config" ] [ platform ] : try : build . config [ "plugins" ] [ "icons" ] [ "config" ] [ platform ] [ str_icon ] = build . config [ "plugins" ] [ "icons" ] [ "config" ] [ str_icon ] except KeyError : build . log . warning ( 'missing icon "%s" for platform "%s"' % ( str_icon , platform ) ) else : pass