diff options
author | Jürg Billeter <j@bitron.ch> | 2017-10-18 10:52:50 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-08 14:04:38 +0100 |
commit | 399f09b74c0014066fbb32c3a7db84e5b4ef51e5 (patch) | |
tree | 0c671d0201ab2ddd663807ce8815bccdc621ed4f /buildstream/_context.py | |
parent | 82913c77409478dccf7797c631bb6bc1f5f57aa2 (diff) | |
download | buildstream-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.py | 3 |
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() # |