aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDaniel Alley <dalley@redhat.com>2020-02-25 00:14:24 -0500
committerDaniel Alley <dalley@redhat.com>2020-02-25 00:14:24 -0500
commit430a65be07b1cd0b9b4f59ff4a23a687c94cdcbd (patch)
tree73c2b7da9a0b0a053779570cec29f58782b13256 /python
parent145c89a2d49b7a0c2842e99dff65da4d8164bf7d (diff)
downloadservo-430a65be07b1cd0b9b4f59ff4a23a687c94cdcbd.tar.gz
servo-430a65be07b1cd0b9b4f59ff4a23a687c94cdcbd.zip
Remove azure canvas backend
closes #25833
Diffstat (limited to 'python')
-rw-r--r--python/servo/command_base.py8
-rw-r--r--python/tidy/servo_tidy/licenseck.py1
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs8
3 files changed, 5 insertions, 12 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index b20d6d365aa..9cba39dc2d7 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -841,7 +841,6 @@ install them, let us know by filing a bug!")
action='store_true',
help='Build with frame pointer enabled, used by the background hang monitor.',
),
- CommandArgument('--with-raqote', default=None, action='store_true'),
CommandArgument('--with-layout-2020', default=None, action='store_true'),
CommandArgument('--with-layout-2013', default=None, action='store_true'),
CommandArgument('--without-wgl', default=None, action='store_true'),
@@ -882,7 +881,7 @@ install them, let us know by filing a bug!")
env=None, verbose=False,
target=None, android=False, magicleap=False, libsimpleservo=False,
features=None, debug_mozjs=False, with_debug_assertions=False,
- with_frame_pointer=False, with_raqote=False, without_wgl=False,
+ with_frame_pointer=False, without_wgl=False,
with_layout_2020=False, with_layout_2013=False,
uwp=False, media_stack=None,
):
@@ -913,16 +912,11 @@ install them, let us know by filing a bug!")
if not magicleap:
features.append("native-bluetooth")
if uwp:
- features.append("canvas2d-raqote")
features.append("no-wgl")
features.append("uwp")
else:
# Non-UWP builds provide their own libEGL via mozangle.
features.append("egl")
- if with_raqote and "canvas2d-azure" not in features:
- features.append("canvas2d-raqote")
- elif "canvas2d-azure" not in features:
- features.append("canvas2d-raqote")
if with_layout_2020 or (self.config["build"]["layout-2020"] and not with_layout_2013):
features.append("layout-2020")
elif "layout-2020" not in features:
diff --git a/python/tidy/servo_tidy/licenseck.py b/python/tidy/servo_tidy/licenseck.py
index 28ea34274e7..8c505366d65 100644
--- a/python/tidy/servo_tidy/licenseck.py
+++ b/python/tidy/servo_tidy/licenseck.py
@@ -64,7 +64,6 @@ licenses_dep_toml = [
'name = "dylib"',
'name = "ipc-channel"',
'name = "mozjs_sys"',
- 'name = "azure"',
'name = "freetype"',
'name = "js"',
'name = "servo-freetype-sys"',
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index 78b47a14401..1bd0cfa3d27 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -3,12 +3,12 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use app_units::Au;
-use azure::azure_hl::{ AntialiasMode, Color, ColorPattern, CompositionOp };
-use azure::azure_hl::{AntialiasMode, Color,
+use raqote::{GradientStop, Source, SolidSource};
+use raqote::{Source, SolidSource},
ColorPattern, CompositionOp};
use euclid::Size2D;
-use azure::azure::AzIntSize;
-use azure::azure::{AzIntSize};
+use raqote::Gradient;
+use raqote::{Gradient};
mod paint_context;