servo: Merge #18552 - Update osmesa-src to support building with mach (from servo:machless); r=nox

E.g. `cargo +nightly build -p servo` at the repo’s top-level

Source-Repo: https://github.com/servo/servo
Source-Revision: 0ed54b039a932f8293f8bec4ac8f6b7a6f54be5c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b77884d3e8feaea5ed34632f5a206731e4dffd6c
This commit is contained in:
Simon Sapin 2017-09-18 11:46:45 -05:00
parent c88f572c52
commit f2efd3cd15
4 changed files with 8 additions and 2 deletions

2
servo/Cargo.lock generated
View File

@ -2195,7 +2195,7 @@ dependencies = [
[[package]] [[package]]
name = "osmesa-src" name = "osmesa-src"
version = "17.2.0-devel" version = "17.2.0-devel"
source = "git+https://github.com/servo/osmesa-src#fe47d99acf27a9620c521d576d26dbfa1cf29372" source = "git+https://github.com/servo/osmesa-src#206464252f31583c2338393f8b6da99780a1ebdf"
[[package]] [[package]]
name = "osmesa-sys" name = "osmesa-sys"

View File

@ -19,3 +19,8 @@ opt-level = 3
# crate, add that here. Use the form: # crate, add that here. Use the form:
# #
# <crate> = { path = "/path/to/local/checkout" } # <crate> = { path = "/path/to/local/checkout" }
#
# Or for a git dependency:
#
# [patch."https://github.com/servo/<repository>"]
# <crate> = { path = "/path/to/local/checkout" }

View File

@ -8,7 +8,6 @@ mozinfo == 0.8
mozlog == 3.3 mozlog == 3.3
setuptools == 18.5 setuptools == 18.5
toml == 0.9.2 toml == 0.9.2
Mako == 1.0.4
# For Python linting # For Python linting
flake8 == 2.4.1 flake8 == 2.4.1

View File

@ -26,6 +26,8 @@ from mach.decorators import (
) )
from mach.registrar import Registrar from mach.registrar import Registrar
# Note: mako cannot be imported at the top level because it breaks mach bootstrap # Note: mako cannot be imported at the top level because it breaks mach bootstrap
sys.path.append(path.join(path.dirname(__file__), "..", "..",
"components", "style", "properties", "Mako-0.9.1.zip"))
from servo.command_base import ( from servo.command_base import (
archive_deterministically, archive_deterministically,