diff options
author | Jürg Billeter <j@bitron.ch> | 2019-03-02 09:03:33 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-06 10:41:29 +0100 |
commit | 309963f46c5f6c76b5a72f33f392e28607e1731b (patch) | |
tree | 569865235e8df05f2d931e0480eb0193cde6f1e2 | |
parent | dcb3bf26e6af8a6d4867f4ec4d85d1027e93a130 (diff) | |
download | buildstream-juerg/import-no-build-deps.tar.gz |
import.py: Set BST_FORBID_BDEPENDSjuerg/import-no-build-deps
Import elements do not require or use build dependencies.
-rw-r--r-- | buildstream/plugins/elements/import.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py index 3ae979d7a..941a812b5 100644 --- a/buildstream/plugins/elements/import.py +++ b/buildstream/plugins/elements/import.py @@ -38,6 +38,9 @@ from buildstream import Element, ElementError class ImportElement(Element): # pylint: disable=attribute-defined-outside-init + # Import elements do not require build dependencies + BST_FORBID_BDEPENDS = True + # This plugin has been modified to avoid the use of Sandbox.get_directory BST_VIRTUAL_DIRECTORY = True |