1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

Subprojects support

Summary:
X-link: https://github.com/facebookincubator/zstrong/pull/857

Where one project should be checked out in a subdirectory of another
project. Like git submodules.

This is how the Glean build currently works: hsthrift is a separate
git repo, but Glean builds with hsthrift checked out in a
subdirectory.

Reviewed By: chadaustin

Differential Revision: D58055066

fbshipit-source-id: 1a22abaa8c5261c40b752d685a03d01625215b12
This commit is contained in:
Simon Marlow
2024-06-03 16:10:36 -07:00
committed by Facebook GitHub Bot
parent a9cca47023
commit 75ca7ab807
3 changed files with 50 additions and 2 deletions

View File

@@ -251,7 +251,7 @@ class ManifestLoader(object):
return override
ctx = self.ctx_gen.get_context(manifest.name)
return manifest.create_fetcher(self.build_opts, ctx)
return manifest.create_fetcher(self.build_opts, self, ctx)
def get_project_hash(self, manifest):
h = self._project_hashes.get(manifest.name)