Skip to content

Commit

Permalink
Merge pull request #3611 from kenvandine/libdrm_layout
Browse files Browse the repository at this point in the history
extensions: add layout for libdrm
  • Loading branch information
sergiusens committed Jan 11, 2022
2 parents 4c78e53 + 31347a7 commit 765a6fb
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
Expand Up @@ -139,7 +139,8 @@ def __init__(self, *, extension_name: str, yaml_data: Dict[str, Any]) -> None:
"layout": {
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
}
},
"/usr/share/libdrm": {"bind": "$SNAP/gnome-platform/usr/share/libdrm"},
},
}

Expand Down
Expand Up @@ -102,6 +102,7 @@ def __init__(self, *, extension_name: str, yaml_data: Dict[str, Any]) -> None:
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {"bind": "$SNAP/gnome-platform/usr/share/libdrm"},
},
}

Expand Down
Expand Up @@ -105,6 +105,7 @@ def __init__(self, *, extension_name: str, yaml_data: Dict[str, Any]) -> None:
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {"bind": "$SNAP/gnome-platform/usr/share/libdrm"},
},
}

Expand Down
Expand Up @@ -105,6 +105,7 @@ def __init__(self, *, extension_name: str, yaml_data: Dict[str, Any]) -> None:
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {"bind": "$SNAP/gnome-platform/usr/share/libdrm"},
},
}

Expand Down
3 changes: 2 additions & 1 deletion tests/unit/project_loader/extensions/test_flutter.py
Expand Up @@ -64,7 +64,8 @@ def test_extension(extension_class):
"layout": {
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
}
},
"/usr/share/libdrm": {"bind": "$SNAP/gnome-platform/usr/share/libdrm"},
},
}

Expand Down
3 changes: 3 additions & 0 deletions tests/unit/project_loader/extensions/test_gnome_3_28.py
Expand Up @@ -72,6 +72,9 @@ def test_extension(self):
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {
"bind": "$SNAP/gnome-platform/usr/share/libdrm"
},
},
}
),
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/project_loader/extensions/test_gnome_3_34.py
Expand Up @@ -75,6 +75,9 @@ def test_extension(self):
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {
"bind": "$SNAP/gnome-platform/usr/share/libdrm"
},
},
}
),
Expand Down
3 changes: 3 additions & 0 deletions tests/unit/project_loader/extensions/test_gnome_3_38.py
Expand Up @@ -75,6 +75,9 @@ def test_extension(self):
"/usr/share/xml/iso-codes": {
"bind": "$SNAP/gnome-platform/usr/share/xml/iso-codes"
},
"/usr/share/libdrm": {
"bind": "$SNAP/gnome-platform/usr/share/libdrm"
},
},
}
),
Expand Down

0 comments on commit 765a6fb

Please sign in to comment.