parameters: (source)
return_statement: return contents['variables']
docstring: Read the |source| gypi file and extract the variables section.
docstring_summary: Read the |source| gypi file and extract the variables section.
docstring_tokens: Read the |source| gypi file and extract the variables section .
function: def read_gypi_variables(source):
      """ Read the |source| gypi file and extract the variables section. """
      path = os.path.join(cef_dir, source + '.gypi')
      if not os.path.exists(path):
          raise Exception('File %s does not exist' % path)
      contents = eval_file(path)
      if not 'variables' in contents:
          raise Exception('File %s does not have a variables section' % path)
      return contents['variables']
function_tokens: def read_gypi_variables ( source ) : path = os . path . join ( cef_dir , source + '.gypi' ) if not os . path . exists ( path ) : raise Exception ( 'File %s does not exist' % path ) contents = eval_file ( path ) if not 'variables' in contents : raise Exception ( 'File %s does not have a variables section' % path ) return contents [ 'variables' ]