def get_project_args(self, compiler, project, for_cross):
    d = (self.cross_projects_args if for_cross else self.projects_args)
    args = d.get(project)
    if (not args):
        return []
    return args.get(compiler.get_language(), [])
def get_project_args(self, compiler, project, for_cross):
    d = (self.cross_projects_args if for_cross else self.projects_args)
    args = d.get(project)
    if (not args):
        return []
    return args.get(compiler.get_language(), [])