diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-09-17 10:22:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 10:22:41 -0400 |
commit | 540a73ed2970948e916db0c53880ca20cb5083e9 (patch) | |
tree | 20996cc836c8151e3c2f4e73583788218081528e /python/servo | |
parent | 8bc8981ae5ccc54caf443663ddb51ab9053d3ad4 (diff) | |
parent | 94eeea36645a8279ef0aa7a7344244f6b60baf19 (diff) | |
download | servo-540a73ed2970948e916db0c53880ca20cb5083e9.tar.gz servo-540a73ed2970948e916db0c53880ca20cb5083e9.zip |
Auto merge of #24226 - paulrouget:openxrup, r=jdm
OpenXR loader update
Fix #24181
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24226)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/build_commands.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 3846cd86877..f5ea9739391 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -729,6 +729,26 @@ class MachCommands(CommandBase): print('Removing virtualenv directory: %s' % virtualenv_path) shutil.rmtree(virtualenv_path) + uwp_artifacts = [ + "support/hololens/x64/", + "support/hololens/ARM/", + "support/hololens/ARM64/", + "support/hololens/ServoApp/x64/", + "support/hololens/ServoApp/ARM/", + "support/hololens/ServoApp/ARM64/", + "support/hololens/ServoApp/Generated Files/", + "support/hololens/ServoApp/BundleArtifacts/", + "support/hololens/ServoApp/support/", + "support/hololens/ServoApp/Debug/", + "support/hololens/ServoApp/Release/", + "support/hololens/packages/", + ] + + for uwp_artifact in uwp_artifacts: + dir_path = path.join(self.get_top_dir(), uwp_artifact) + if path.exists(dir_path): + shutil.rmtree(dir_path) + opts = ["--manifest-path", manifest_path or path.join(self.context.topdir, "Cargo.toml")] if verbose: opts += ["-v"] |