servo/python/servo
bors-servo 088963f774 Auto merge of #9611 - danlrobertson:i9557, r=larsbergstrom
Download extra stdlib only when required: #9557

Split [`ensure_bootstrap`](https://github.com/danlrobertson/servo/blob/i9557/python/servo/command_base.py#L397-L422) into two phases including a phase checking the compiler, and a phase checking for target libraries. E.g.

```
    # should download the stdlib for "i686-unknown-linux-gnu", "arm-linux-androideabi"
    # and the hosts target
    ./mach build -d --target i686-unknown-linux-gnu --android
    # should only download the stdlib for the hosts target
    ./mach build -d
```

Let me know if I missed anything! There are a few parts of this patch in its current state that I'm not a huge fan of, but I couldn't think of a better way in the moment.

Still new to working on servo, so any comments or critiques are welcome!

Fix #9557

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9611)
<!-- Reviewable:end -->
2016-02-13 03:09:51 +05:30
..
__init__.py Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
bootstrap_commands.py Download extra std lib when cross-compiling #9557 2016-02-12 14:58:08 -05:00
build_commands.py Download extra std lib when cross-compiling #9557 2016-02-12 14:58:08 -05:00
command_base.py Download extra std lib when cross-compiling #9557 2016-02-12 14:58:08 -05:00
devenv_commands.py adding check for windows then using Scripts instead of bin 2016-01-22 19:27:29 -06:00
post_build_commands.py win32: mach and build command fixes 2016-01-20 08:38:24 -06:00
testing_commands.py Add an rr chaos mode 2016-02-11 11:18:12 -08:00