parameters: (self)
docstring: Changes contents of files in the new project as needed.
  
      Goes through each file in the project that is being created and replaces
      contents as necessary.
docstring_summary: Changes contents of files in the new project as needed.
docstring_tokens: Changes contents of files in the new project as needed .
function: def PrepareFileContent(self):
      """Changes contents of files in the new project as needed.
  
      Goes through each file in the project that is being created and replaces
      contents as necessary.
      """
      camel_case_name = GetCamelCaseName(self.__project_name)
      sdk_root_dir = self.__nacl_sdk_root
      if not sdk_root_dir:
        raise Error("Error: NACL_SDK_ROOT is not set")
      sdk_root_dir = self.os.path.abspath(sdk_root_dir)
      if  self.__is_vs_project:
        project_uuid = str(uuid.uuid4()).upper()
        vs_source_uuid = str(uuid.uuid4()).upper()
        vs_header_uuid = str(uuid.uuid4()).upper()
        vs_resource_uuid = str(uuid.uuid4()).upper()
      for project_file in self.__project_files:
        self.ReplaceInFile(project_file, PROJECT_NAME_TAG, self.__project_name)
        self.ReplaceInFile(project_file,
                           PROJECT_NAME_CAMEL_CASE_TAG,
                           camel_case_name)
        self.ReplaceInFile(project_file, SDK_ROOT_TAG, sdk_root_dir)
        self.ReplaceInFile(project_file, NACL_PLATFORM_TAG, self.__nacl_platform)
        if  self.__is_vs_project:
          self.ReplaceInFile(project_file, VS_PROJECT_UUID_TAG, project_uuid)
          self.ReplaceInFile(project_file, VS_SOURCE_UUID_TAG, vs_source_uuid)
          self.ReplaceInFile(project_file, VS_HEADER_UUID_TAG, vs_header_uuid)
          self.ReplaceInFile(project_file, VS_RESOURCE_UUID_TAG, vs_resource_uuid)
function_tokens: def PrepareFileContent ( self ) : camel_case_name = GetCamelCaseName ( self . __project_name ) sdk_root_dir = self . __nacl_sdk_root if not sdk_root_dir : raise Error ( "Error: NACL_SDK_ROOT is not set" ) sdk_root_dir = self . os . path . abspath ( sdk_root_dir ) if self . __is_vs_project : project_uuid = str ( uuid . uuid4 ( ) ) . upper ( ) vs_source_uuid = str ( uuid . uuid4 ( ) ) . upper ( ) vs_header_uuid = str ( uuid . uuid4 ( ) ) . upper ( ) vs_resource_uuid = str ( uuid . uuid4 ( ) ) . upper ( ) for project_file in self . __project_files : self . ReplaceInFile ( project_file , PROJECT_NAME_TAG , self . __project_name ) self . ReplaceInFile ( project_file , PROJECT_NAME_CAMEL_CASE_TAG , camel_case_name ) self . ReplaceInFile ( project_file , SDK_ROOT_TAG , sdk_root_dir ) self . ReplaceInFile ( project_file , NACL_PLATFORM_TAG , self . __nacl_platform ) if self . __is_vs_project : self . ReplaceInFile ( project_file , VS_PROJECT_UUID_TAG , project_uuid ) self . ReplaceInFile ( project_file , VS_SOURCE_UUID_TAG , vs_source_uuid ) self . ReplaceInFile ( project_file , VS_HEADER_UUID_TAG , vs_header_uuid ) self . ReplaceInFile ( project_file , VS_RESOURCE_UUID_TAG , vs_resource_uuid )