Bug 1412037 - Include testing/webdriver as vendored dependency. r?jgraham
This is required for "./mach vendor rust" to pick up on
testing/webdriver's dependency tree. This change should have been
made when the webdriver crate was vendored in the tree in the first place.
MozReview-Commit-ID: 5sqRojm0bGD
--- a/python/mozbuild/mozbuild/vendor_rust.py
+++ b/python/mozbuild/mozbuild/vendor_rust.py
@@ -266,16 +266,17 @@ license file's hash.
self.log(logging.INFO, 'rm_vendor_dir', {}, 'rm -rf %s' % vendor_dir)
mozfile.remove(vendor_dir)
# Once we require a new enough cargo to switch to workspaces, we can
# just do this once on the workspace root crate.
crates_and_roots = (
('gkrust', 'toolkit/library/rust'),
('gkrust-gtest', 'toolkit/library/gtest/rust'),
('js', 'js/rust'),
+ ('webdriver', 'testing/webdriver'),
('geckodriver', 'testing/geckodriver'),
)
lockfiles = []
for (lib, crate_root) in crates_and_roots:
path = mozpath.join(self.topsrcdir, crate_root)
# We use check_call instead of mozprocess to ensure errors are displayed.
# We do an |update -p| here to regenerate the Cargo.lock file with minimal changes. See bug 1324462