You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:34:43 UTC
[buildstream] 02/02: import.py: Set BST_FORBID_BDEPENDS
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch juerg/import-no-build-deps
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 309963f46c5f6c76b5a72f33f392e28607e1731b
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Sat Mar 2 09:03:33 2019 +0100
import.py: Set BST_FORBID_BDEPENDS
Import elements do not require or use build dependencies.
---
buildstream/plugins/elements/import.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py
index 3ae979d..941a812 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