Auto merge of #22745 - asajeffrey:magicleap-xor-debugmozjs, r=jdm

Stop building debugmozjs for magicleap

<!-- Please describe your changes on the following line: -->

Block trying to build `--debug-mozjs` and `--magicleap` because that leads to horrid link errors.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because we don't test our CI as much as we probably should

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/22745)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-01-26 15:35:59 -05:00 committed by GitHub
commit d44e9aced2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,6 +211,11 @@ class MachCommands(CommandBase):
print("Please specify either --target or --android.")
sys.exit(1)
# https://github.com/servo/servo/issues/22069
if debug_mozjs and magicleap:
print("Please specify either --debug-mozjs or --magicleap.")
sys.exit(1)
if android:
target = self.config["android"]["target"]