From f3e04085d8b1a62af760bf442a801a71816e2c0c Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 22 May 2024 12:54:05 -0400 Subject: [PATCH] Meta: Port recent changes to the GN build 57714fbb38add028e0ea45a7d5ea7681b4fc7295 76418f3ffaa72e18e12918df8f1b45e09d0f1c22 8d5665ebe1205ef1731c7f92a23b560e7e6c2048 3aa36caa529135c102a0e9ddd043525898bce199 bfa330914d1d4c3ff68757883bbbf9fd640a02fb --- Meta/gn/secondary/Ladybird/RequestServer/BUILD.gn | 1 + .../secondary/Userland/Libraries/LibWeb/BUILD.gn | 1 + .../Libraries/LibWeb/Fetch/Infrastructure/BUILD.gn | 1 + .../Userland/Libraries/LibWeb/IndexedDB/BUILD.gn | 14 ++++++++++++++ .../Userland/Libraries/LibWeb/idl_files.gni | 3 +++ 5 files changed, 20 insertions(+) create mode 100644 Meta/gn/secondary/Userland/Libraries/LibWeb/IndexedDB/BUILD.gn diff --git a/Meta/gn/secondary/Ladybird/RequestServer/BUILD.gn b/Meta/gn/secondary/Ladybird/RequestServer/BUILD.gn index 16f6fdc33b8..b05556d9bae 100644 --- a/Meta/gn/secondary/Ladybird/RequestServer/BUILD.gn +++ b/Meta/gn/secondary/Ladybird/RequestServer/BUILD.gn @@ -15,6 +15,7 @@ executable("RequestServer") { "//Userland/Libraries/LibMain", "//Userland/Libraries/LibProtocol", "//Userland/Libraries/LibTLS", + "//Userland/Libraries/LibThreading", "//Userland/Libraries/LibURL", "//Userland/Libraries/LibWebSocket", ] diff --git a/Meta/gn/secondary/Userland/Libraries/LibWeb/BUILD.gn b/Meta/gn/secondary/Userland/Libraries/LibWeb/BUILD.gn index 4a58e484a1d..def7442f8d5 100644 --- a/Meta/gn/secondary/Userland/Libraries/LibWeb/BUILD.gn +++ b/Meta/gn/secondary/Userland/Libraries/LibWeb/BUILD.gn @@ -326,6 +326,7 @@ shared_library("LibWeb") { "Geometry", "HTML", "HighResolutionTime", + "IndexedDB", "Infra", "Internals", "IntersectionObserver", diff --git a/Meta/gn/secondary/Userland/Libraries/LibWeb/Fetch/Infrastructure/BUILD.gn b/Meta/gn/secondary/Userland/Libraries/LibWeb/Fetch/Infrastructure/BUILD.gn index 0b8824f6746..3543f9fa430 100644 --- a/Meta/gn/secondary/Userland/Libraries/LibWeb/Fetch/Infrastructure/BUILD.gn +++ b/Meta/gn/secondary/Userland/Libraries/LibWeb/Fetch/Infrastructure/BUILD.gn @@ -11,6 +11,7 @@ source_set("Infrastructure") { "FetchParams.cpp", "FetchTimingInfo.cpp", "HTTP.cpp", + "IncrementalReadLoopReadRequest.cpp", "MimeTypeBlocking.cpp", "NoSniffBlocking.cpp", "PortBlocking.cpp", diff --git a/Meta/gn/secondary/Userland/Libraries/LibWeb/IndexedDB/BUILD.gn b/Meta/gn/secondary/Userland/Libraries/LibWeb/IndexedDB/BUILD.gn new file mode 100644 index 00000000000..1e64e41426b --- /dev/null +++ b/Meta/gn/secondary/Userland/Libraries/LibWeb/IndexedDB/BUILD.gn @@ -0,0 +1,14 @@ +source_set("IndexedDB") { + configs += [ "//Userland/Libraries/LibWeb:configs" ] + + deps = [ "//Userland/Libraries/LibWeb:all_generated" ] + + sources = [ + "IDBFactory.cpp", + "IDBFactory.h", + "IDBOpenDBRequest.cpp", + "IDBOpenDBRequest.h", + "IDBRequest.cpp", + "IDBRequest.h", + ] +} diff --git a/Meta/gn/secondary/Userland/Libraries/LibWeb/idl_files.gni b/Meta/gn/secondary/Userland/Libraries/LibWeb/idl_files.gni index caaefc74ac8..ba14085c28e 100644 --- a/Meta/gn/secondary/Userland/Libraries/LibWeb/idl_files.gni +++ b/Meta/gn/secondary/Userland/Libraries/LibWeb/idl_files.gni @@ -230,6 +230,9 @@ standard_idl_files = [ "//Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl", "//Userland/Libraries/LibWeb/HTML/WorkerLocation.idl", "//Userland/Libraries/LibWeb/HTML/WorkerNavigator.idl", + "//Userland/Libraries/LibWeb/IndexedDB/IDBFactory.idl", + "//Userland/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl", + "//Userland/Libraries/LibWeb/IndexedDB/IDBRequest.idl", "//Userland/Libraries/LibWeb/Internals/Inspector.idl", "//Userland/Libraries/LibWeb/Internals/InternalAnimationTimeline.idl", "//Userland/Libraries/LibWeb/Internals/Internals.idl",