def FindMissingAndroidPlainAssets(referenced_images, android_assets):
 for (name, inset) in referenced_images.iteritems():
  if (inset is not None):
   continue
  if (name in SKIP_PLAIN):
   print ('WARNING: %s: skipping due to hard-coded exclusion in assets-tool.py' % name)
   continue
  android_name = ImageNameAndroid(name)
  if (android_name not in android_assets):
   name_2x = ImageName2X(name)
   shutil.copyfile(os.path.join(IOS_IMAGES_DIR, name_2x), os.path.join(ANDROID_IMAGES_DIR, android_name))
   print ('%s: not in android assets, copied %s -> %s' % (name, name_2x, android_name))
  elif options.options.v:
   print ('%s: OK' % name)

def FindMissingAndroidPlainAssets ( referenced_images , android_assets ) : for ( name , inset ) in referenced_images . iteritems ( ) : if ( inset is not None ) : continue if ( name in SKIP_PLAIN ) : print ( 'WARNING: %s: skipping due to hard-coded exclusion in assets-tool.py' % name ) continue android_name = ImageNameAndroid ( name ) if ( android_name not in android_assets ) : name_2x = ImageName2X ( name ) shutil . copyfile ( os . path . join ( IOS_IMAGES_DIR , name_2x ) , os . path . join ( ANDROID_IMAGES_DIR , android_name ) ) print ( '%s: not in android assets, copied %s -> %s' % ( name , name_2x , android_name ) ) elif options . options . v : print ( '%s: OK' % name )
iterate over all referenced images in ios .