servo/ports/servoshell
Jonathan Schwender 496ce717c5
Move legacy layout behind a feature flag (#32759)
* Move legacy layout behind a feature flag

For now the new feature flag would still be enabled by default,
but disabling the `layout_2013` feature, gives the following
binary size improvements for servoshell on Linux:
- in debug mode from 1278MB -> 1201 MB
- in release mode from 144MB -> 140MB
- in production mode from 108MB -> 106MB

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>

* Update components/servo/lib.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>

---------

Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-07-11 13:24:52 +00:00
..
desktop servoshell: Update all egui dependencies and group them for dependabot (#32683) 2024-07-04 06:36:19 +00:00
egl Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
Cargo.toml Move legacy layout behind a feature flag (#32759) 2024-07-11 13:24:52 +00:00
crash_handler.rs [NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340) 2023-09-12 06:27:10 +00:00
lib.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
main.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
panic_hook.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
parser.rs android: Use location_bar_input_to_url instead of re-implementing (#32586) 2024-06-24 15:25:07 +00:00
prefs.rs Enable debug assertions for all builds other than official releases (#30509) 2023-10-26 08:22:14 +00:00
resources.rs Enable debug assertions for all builds other than official releases (#30509) 2023-10-26 08:22:14 +00:00
test.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00