Skip to content

Commit

Permalink
deps,lib,src: add experimental web storage
Browse files Browse the repository at this point in the history
This commit introduces an experimental implementation of the Web
Storage API using SQLite as the backing data store.

PR-URL: nodejs#52435
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
  • Loading branch information
cjihrig authored and EliphazBouye committed Jun 20, 2024
1 parent 639e3aa commit ed27b17
Show file tree
Hide file tree
Showing 109 changed files with 275,542 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ on:
- root-certificates
- simdjson
- simdutf
- sqlite
- undici
- uvwasi
- zlib
Expand Down Expand Up @@ -272,6 +273,14 @@ jobs:
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: sqlite
subsystem: deps
label: dependencies
run: |
./tools/dep_updaters/update-sqlite.sh > temp-output
cat temp-output
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
rm temp-output
- id: undici
subsystem: deps
label: dependencies
Expand Down
14 changes: 14 additions & 0 deletions deps/sqlite/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
##############################################################################
# #
# DO NOT EDIT THIS FILE! #
# #
##############################################################################

# This file is used by GN for building, which is NOT the build system used for
# building official binaries.
# Please modify the gyp files if you are making changes to build system.

import("unofficial.gni")

sqlite_gn_build("sqlite") {
}
24 changes: 24 additions & 0 deletions deps/sqlite/sqlite.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
'variables': {
'sqlite_sources': [
'sqlite3.c',
],
},
'targets': [
{
'target_name': 'sqlite',
'type': 'static_library',
'cflags': ['-fvisibility=hidden'],
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
},
'include_dirs': ['.'],
'sources': [
'<@(sqlite_sources)',
],
'direct_dependent_settings': {
'include_dirs': ['.'],
},
},
],
}
Loading

0 comments on commit ed27b17

Please sign in to comment.