mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Include PropertyID.h in fewer header files
This reduces the size of the recompile when PropertyID.h is modified from ~1500 to ~125
This commit is contained in:
Notes:
github-actions[bot]
2025-10-27 14:52:17 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/5381146e850 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6576 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -82,8 +82,7 @@ ErrorOr<void> generate_header_file(JsonObject const& at_rules_data, Core::File&
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Types.h>
|
||||
#include <LibWeb/CSS/Keyword.h>
|
||||
#include <LibWeb/CSS/PropertyID.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
@@ -152,6 +151,7 @@ ErrorOr<void> generate_implementation_file(JsonObject const& at_rules_data, Core
|
||||
#include <LibWeb/CSS/DescriptorID.h>
|
||||
#include <LibWeb/CSS/StyleValues/StyleValue.h>
|
||||
#include <LibWeb/CSS/Parser/Parser.h>
|
||||
#include <LibWeb/CSS/PropertyID.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user