mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
don't try to use vendored crates in non-fbsource builds
Summary: Watchman's vagrant images rely on mapping a watchman source directory fetched from fbsource into the VM. Thus, they sometimes look like fbsource, and that's largely okay. However, the vendored cargo support breaks. Instead, explicitly skip vendored cargo when there is no fbsource dir. Reviewed By: xavierd Differential Revision: D36386674 fbshipit-source-id: 61f2af19507fecd2342cfc94bbb7120ab91c33b4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
56228ee67f
commit
bf8ab89efe
@@ -83,7 +83,7 @@ class BuildOptions(object):
|
||||
# If we are running from an fbsource repository, set self.fbsource_dir
|
||||
# to allow the ShipIt-based fetchers to use it.
|
||||
if self.repo_project == "fbsource":
|
||||
self.fbsource_dir = self.repo_root
|
||||
self.fbsource_dir: Optional[str] = self.repo_root
|
||||
else:
|
||||
self.fbsource_dir = None
|
||||
|
||||
|
Reference in New Issue
Block a user