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: #52435
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ethan Arrowood <[email protected]>
  • Loading branch information
cjihrig authored and targos committed Jun 20, 2024
1 parent 8b87709 commit 9e30724
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 9e30724

Please sign in to comment.