Skip to content

Commit ed72efa

Browse files
authored
Auto merge of servo#29956 - mrobinson:update-mozangle, r=jdm
Update mozangle This should allow servo to take advantage of faster compilation times on Windows. <!-- Please describe your changes on the following line: --> --- <!-- 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 <!-- 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. -->
2 parents a1dfadc + 96eeb58 commit ed72efa

File tree

9 files changed

+7
-12
lines changed

9 files changed

+7
-12
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ malloc_size_of_derive = "0.1"
4848
mime = "0.3.13"
4949
mime_guess = "2.0.3"
5050
mitochondria = "1.1.2"
51+
mozangle = "0.3"
5152
num-traits = "0.2"
5253
parking_lot = "0.11"
5354
percent-encoding = "2.0"

components/script/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
122122
xml5ever = { workspace = true }
123123

124124
[target.'cfg(not(target_os = "ios"))'.dependencies]
125-
mozangle = { version = "0.3", features = ["egl", "build_dlls"] }
125+
mozangle = { workspace = true }

components/servo/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ crate-type = ["rlib"]
1313

1414
[features]
1515
debugmozjs = ["script/debugmozjs"]
16-
egl = ["mozangle/egl"]
1716
googlevr = ["webxr/googlevr"]
1817
jitspew = ["script/jitspew"]
1918
js_backtrace = ["script/js_backtrace"]
@@ -61,6 +60,7 @@ layout_thread_2013 = { path = "../layout_thread", optional = true }
6160
layout_thread_2020 = { path = "../layout_thread_2020", optional = true }
6261
log = { workspace = true }
6362
media = { path = "../media" }
63+
mozangle = { workspace = true }
6464
msg = { path = "../msg" }
6565
net = { path = "../net" }
6666
net_traits = { path = "../net_traits" }
@@ -92,4 +92,4 @@ webxr-api = { git = "https://github.com/servo/webxr" }
9292
gaol = "0.2.1"
9393

9494
[target.'cfg(target_os = "windows")'.dependencies]
95-
mozangle = { version = "0.3", features = ["egl", "build_dlls"] }
95+
mozangle = { workspace = true, features = ["egl", "build_dlls"] }

ports/libsimpleservo/api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ serde_json = { workspace = true }
3535
[features]
3636
debugmozjs = ["libservo/debugmozjs"]
3737
default = ["webdriver", "max_log_level"]
38-
egl = ["libservo/egl"]
3938
googlevr = ["libservo/googlevr"]
4039
jitspew = ["libservo/jitspew"]
4140
js_backtrace = ["libservo/js_backtrace"]

ports/libsimpleservo/capi/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ cbindgen = "0.20"
3131
[features]
3232
debugmozjs = ["simpleservo/debugmozjs"]
3333
default = ["webdriver", "max_log_level"]
34-
egl = ["simpleservo/egl"]
3534
googlevr = ["simpleservo/googlevr"]
3635
jitspew = ["simpleservo/jitspew"]
3736
js_backtrace = ["simpleservo/js_backtrace"]

ports/libsimpleservo/jniapi/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ cc = "1.0"
2929
[features]
3030
debugmozjs = ["simpleservo/debugmozjs"]
3131
default = ["webdriver", "max_log_level"]
32-
egl = ["simpleservo/egl"]
3332
googlevr = ["simpleservo/googlevr"]
3433
js_backtrace = ["simpleservo/js_backtrace"]
3534
layout-2013 = ["simpleservo/layout-2013"]

ports/winit/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ ProductName = "Servo"
2828
[features]
2929
debugmozjs = ["libservo/debugmozjs"]
3030
default = ["webdriver", "max_log_level"]
31-
egl = ["libservo/egl"]
3231
jitspew = ["libservo/jitspew"]
3332
js_backtrace = ["libservo/js_backtrace"]
3433
layout-2013 = ["libservo/layout-2013"]

python/servo/command_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,9 +833,7 @@ def run_cargo_build_like_command(
833833
if self.is_uwp_build:
834834
features.append("no-wgl")
835835
features.append("uwp")
836-
else:
837-
# Non-UWP builds provide their own libEGL via mozangle.
838-
features.append("egl")
836+
839837
if with_layout_2020 or (self.config["build"]["layout-2020"] and not with_layout_2013):
840838
features.append("layout-2020")
841839
elif "layout-2020" not in features:

0 commit comments

Comments
 (0)