mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Remove legacy layout (layout 2013) (#35943)
We were already not compiling it and not running tests on it by default. So it's simpler to just completely remove it. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
f93006af95
commit
7594dc6991
17224 changed files with 23 additions and 1584835 deletions
|
@ -41,7 +41,6 @@ debugmozjs = ["libservo/debugmozjs"]
|
|||
default = ["max_log_level", "webdriver", "webxr", "webgpu"]
|
||||
jitspew = ["libservo/jitspew"]
|
||||
js_backtrace = ["libservo/js_backtrace"]
|
||||
layout_2013 = ["libservo/layout_2013"]
|
||||
max_log_level = ["log/release_max_level_info"]
|
||||
media-gstreamer = ["libservo/media-gstreamer"]
|
||||
multiview = ["libservo/multiview"]
|
||||
|
|
|
@ -180,7 +180,6 @@ pub(crate) fn parse_command_line_arguments(args: Vec<String>) -> ArgumentParsing
|
|||
let (app_name, args) = args.split_first().unwrap();
|
||||
|
||||
let mut opts = Options::new();
|
||||
opts.optflag("", "legacy-layout", "Use the legacy layout engine");
|
||||
opts.optopt(
|
||||
"o",
|
||||
"output",
|
||||
|
@ -539,11 +538,6 @@ pub(crate) fn parse_command_line_arguments(args: Vec<String>) -> ArgumentParsing
|
|||
preferences.set_value(pref_name, pref_value);
|
||||
}
|
||||
|
||||
let legacy_layout = opt_match.opt_present("legacy-layout");
|
||||
if legacy_layout {
|
||||
preferences.layout_legacy_layout = true;
|
||||
}
|
||||
|
||||
if let Some(layout_threads) = layout_threads {
|
||||
preferences.layout_threads = layout_threads as i64;
|
||||
}
|
||||
|
@ -600,7 +594,6 @@ pub(crate) fn parse_command_line_arguments(args: Vec<String>) -> ArgumentParsing
|
|||
let opts = Opts {
|
||||
debug: debug_options.clone(),
|
||||
wait_for_stable_image,
|
||||
legacy_layout,
|
||||
time_profiling,
|
||||
time_profiler_trace_path: opt_match.opt_str("profiler-trace-path"),
|
||||
nonincremental_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue