parameters: (env, tool_bin_path, tool_prefix, extras_flags='')
docstring: Configure the build tools build flags in env.
  
    Given the absolute path to the toolchain's bin directory, tool_prefix and
    optional extra_flags build flags, set the entries for the build tools
    in env. For instance, using the sample path from GetToolchainPath above and
    tool_prefix = 'i686-nacl-' we would get
  
    env['CC'] =
        '/cool_code/nacl_sdk/pepper_17/toolchain/mac_x86_newlib/bin/i686-nacl-gcc'
  
    Args:
      env: the env map to setup.
      tool_bin_path: the absolute path to the toolchain's bin directory.
      tool_prefix: a string with the tool's prefix, such as 'i686-nacl-'.
      extra_flags: optional extra flags, such as ' -m64'.
docstring_summary: Configure the build tools build flags in env.
docstring_tokens: Configure the build tools build flags in env .
function: def SetBuildTools(env, tool_bin_path, tool_prefix, extras_flags=''):
    ''' Configure the build tools build flags in env.
  
    Given the absolute path to the toolchain's bin directory, tool_prefix and
    optional extra_flags build flags, set the entries for the build tools
    in env. For instance, using the sample path from GetToolchainPath above and
    tool_prefix = 'i686-nacl-' we would get
  
    env['CC'] =
        '/cool_code/nacl_sdk/pepper_17/toolchain/mac_x86_newlib/bin/i686-nacl-gcc'
  
    Args:
      env: the env map to setup.
      tool_bin_path: the absolute path to the toolchain's bin directory.
      tool_prefix: a string with the tool's prefix, such as 'i686-nacl-'.
      extra_flags: optional extra flags, such as ' -m64'.
    '''
    for key, val in __BUILD_TOOLS.iteritems():
      tool_name = val.format(prefix=tool_prefix, extras=extras_flags)
      env[key] = os.path.join(tool_bin_path, tool_name)
function_tokens: def SetBuildTools ( env , tool_bin_path , tool_prefix , extras_flags = '' ) : for key , val in __BUILD_TOOLS . iteritems ( ) : tool_name = val . format ( prefix = tool_prefix , extras = extras_flags ) env [ key ] = os . path . join ( tool_bin_path , tool_name )