Exemple #1
0
    def get_external_project(self, target, proj_ext):
        if not ((isinstance(target, gen_base.TargetLinked) or isinstance(
                target, gen_base.TargetI18N)) and target.external_project):
            return None

        if target.external_project.find('/') != -1:
            path = target.external_project
        else:
            path = os.path.join(self.projfilesdir, target.external_project)

        return "%s.%s" % (gen_base.native_path(path), proj_ext)
Exemple #2
0
  def get_external_project(self, target, proj_ext):
    if not ((isinstance(target, gen_base.TargetLinked)
             or isinstance(target, gen_base.TargetI18N))
            and target.external_project):
      return None

    if target.external_project.find('/') != -1:
      path = target.external_project
    else:
      path = os.path.join(self.projfilesdir, target.external_project)

    return "%s.%s" % (gen_base.native_path(path), proj_ext)
Exemple #3
0
    def get_external_project(self, target, proj_ext):
        if not ((isinstance(target, gen_base.TargetLinked) or isinstance(
                target, gen_base.TargetI18N)) and target.external_project):
            return None

        if target.external_project[:5] == 'serf/' and 'serf' in self._libraries:
            path = self.serf_path + target.external_project[4:]
        elif target.external_project.find('/') != -1:
            path = target.external_project
        else:
            path = os.path.join(self.projfilesdir, target.external_project)

        return "%s.%s" % (gen_base.native_path(path), proj_ext)
Exemple #4
0
  def get_external_project(self, target, proj_ext):
    if not ((isinstance(target, gen_base.TargetLinked)
             or isinstance(target, gen_base.TargetI18N))
            and target.external_project):
      return None

    if target.external_project[:5] == 'neon/':
      path = self.neon_path + target.external_project[4:]
    elif target.external_project[:5] == 'serf/' and self.serf_lib:
      path = self.serf_path + target.external_project[4:]
    else:
      path = target.external_project

    return "%s.%s" % (gen_base.native_path(path), proj_ext)
Exemple #5
0
  def get_external_project(self, target, proj_ext):
    if not ((isinstance(target, gen_base.TargetLinked)
             or isinstance(target, gen_base.TargetI18N))
            and target.external_project):
      return None

    if target.external_project[:5] == 'serf/' and 'serf' in self._libraries:
      path = self.serf_path + target.external_project[4:]
    elif target.external_project.find('/') != -1:
      path = target.external_project
    else:
      path = os.path.join(self.projfilesdir, target.external_project)

    return "%s.%s" % (gen_base.native_path(path), proj_ext)
Exemple #6
0
    def get_external_project(self, target, proj_ext):
        if not ((isinstance(target, gen_base.TargetLinked) or isinstance(
                target, gen_base.TargetI18N)) and target.external_project):
            return None

        if target.external_project[:10] == 'apr-iconv/':
            path = self.apr_iconv_path + target.external_project[9:]
        elif target.external_project[:9] == 'apr-util/':
            path = self.apr_util_path + target.external_project[8:]
        elif target.external_project[:4] == 'apr/':
            path = self.apr_path + target.external_project[3:]
        elif target.external_project[:5] == 'neon/':
            path = self.neon_path + target.external_project[4:]
        elif target.external_project[:5] == 'serf/' and self.serf_path:
            path = self.serf_path + target.external_project[4:]
        else:
            path = target.external_project

        return "%s.%s" % (gen_base.native_path(path), proj_ext)