summaryrefslogtreecommitdiff
path: root/buildstream/_context.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-10-18 10:52:50 +0200
committerJürg Billeter <j@bitron.ch>2018-02-08 14:04:38 +0100
commit399f09b74c0014066fbb32c3a7db84e5b4ef51e5 (patch)
tree0c671d0201ab2ddd663807ce8815bccdc621ed4f /buildstream/_context.py
parent82913c77409478dccf7797c631bb6bc1f5f57aa2 (diff)
downloadbuildstream-399f09b74c0014066fbb32c3a7db84e5b4ef51e5.tar.gz
Add junction support for subprojects
This introduces junctions as a new kind of elements to allow dependencies to cross project boundaries.
Diffstat (limited to 'buildstream/_context.py')
-rw-r--r--buildstream/_context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py
index 317621f0a..9c91eebb2 100644
--- a/buildstream/_context.py
+++ b/buildstream/_context.py
@@ -45,7 +45,7 @@ from ._artifactcache import artifact_cache_specs_from_config_node
#
class Context():
- def __init__(self):
+ def __init__(self, *, fetch_subprojects=False):
# Filename indicating which configuration file was used, or None for the defaults
self.config_origin = None
@@ -110,6 +110,7 @@ class Context():
self._message_depth = deque()
self._platform = None
self._project_overrides = {}
+ self._fetch_subprojects = fetch_subprojects
# load()
#