Bug 1412037 - Include testing/webdriver as vendored dependency. r=jgraham
authorAndreas Tolfsen <ato@sny.no>
Mon, 30 Oct 2017 15:02:19 +0000
changeset 389055 540273e5cf22e5b7b8b85f584c6a7efd5e7a90ab
parent 389054 5fb427c50ca3e2adb541581c68721c845d1130ac
child 389056 047b0a0c8312d9e8e51cd6a1e80b55393cbfc989
push id32777
push userarchaeopteryx@coole-files.de
push dateMon, 30 Oct 2017 22:44:45 +0000
treeherdermozilla-central@dd0f265a1300 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1412037
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
python/mozbuild/mozbuild/vendor_rust.py
--- 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