build/apple/tweak_info_plist.py
def _AddGTMKeys(plist, platform):
  """Adds the GTM metadata keys. This must be called AFTER _AddVersionKeys()."""
  plist['GTMUserAgentID'] = plist['CFBundleName']
  if platform == 'ios':
    plist['GTMUserAgentVersion'] = plist['CFBundleVersion']
  else:
    plist['GTMUserAgentVersion'] = plist['CFBundleShortVersionString']
Adds the GTM metadata keys. This must be called AFTER _AddVersionKeys().
Adds the GTM metadata keys. This must be called AFTER _AddVersionKeys().
Adds the GTM metadata keys . This must be called AFTER _AddVersionKeys () .
def _AddGTMKeys(plist, platform):
  plist['GTMUserAgentID'] = plist['CFBundleName']
  if platform == 'ios':
    plist['GTMUserAgentVersion'] = plist['CFBundleVersion']
  else:
    plist['GTMUserAgentVersion'] = plist['CFBundleShortVersionString']
def _AddGTMKeys ( plist , platform ) : plist [ 'GTMUserAgentID' ] = plist [ 'CFBundleName' ] if platform == 'ios' : plist [ 'GTMUserAgentVersion' ] = plist [ 'CFBundleVersion' ] else : plist [ 'GTMUserAgentVersion' ] = plist [ 'CFBundleShortVersionString' ]
Adds the GTM metadata keys.
Adds the GTM metadata keys .
"""Adds the GTM metadata keys. This must be called AFTER _AddVersionKeys()."""
plist
platform