summaryrefslogtreecommitdiff
path: root/tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py')
-rw-r--r--tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py b/tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py
new file mode 100644
index 000000000..a8e39562a
--- /dev/null
+++ b/tests/plugins/deprecationwarnings/project/plugins/elements/deprecated_plugin.py
@@ -0,0 +1,11 @@
+from buildstream import BuildElement, SandboxFlags
+
+
+class DeprecatedPlugin(BuildElement):
+ BST_PLUGIN_DEPRECATED = True
+ BST_PLUGIN_DEPRECATION_MESSAGE = "Here is some detail."
+
+
+# Plugin entry point
+def setup():
+ return DeprecatedPlugin