def get_dependencies(component_dict):
    # type: (dict) -> tuple
    """
    Returns tuple of two lists - dependencies for including in the source file and dependencies for adding to manifest
    """
    if 'dependencies' not in component_dict.keys():
        return [], []
    dependencies = component_dict['dependencies']
    include_list = [
        dependencies[library].pop('include', None) for library in dependencies.keys()
        if dependencies[library].get('include', None)
    ]
    libraries_for_manifest = [
        library for library in dependencies.keys()
        if 'git' in dependencies[library].keys() or 'version' in dependencies[library].keys()
    ]

    return include_list, libraries_for_manifest