parameters: (env_file)
docstring: Parses a ninja environment.<arch> file and merges its values into the
    existing environment variables.
docstring_summary: Parses a ninja environment.<arch> file and merges its values into the
    existing environment variables.
docstring_tokens: Parses a ninja environment . <arch > file and merges its values into the existing environment variables .
function: def ParseNinjaEnvironmentFile(env_file):
    """Parses a ninja environment.<arch> file and merges its values into the
    existing environment variables.
    """
    with open(env_file, 'rb') as f:
      lines = f.read().split('\0')
      env = {}
      for line in lines:
        if '=' not in line:
          continue
        key, value = line.split('=')
        os.environ[key] = value
function_tokens: def ParseNinjaEnvironmentFile ( env_file ) : with open ( env_file , 'rb' ) as f : lines = f . read ( ) . split ( '\0' ) env = { } for line in lines : if '=' not in line : continue key , value = line . split ( '=' ) os . environ [ key ] = value