Skip to content

Commit 9e30724

Browse files
cjihrigtargos
authored andcommitted
deps,lib,src: add experimental web storage
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 <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>
1 parent 8b87709 commit 9e30724

File tree

109 files changed

+275542
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+275542
-0
lines changed

.github/workflows/tools.yml

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ on:
3838
- root-certificates
3939
- simdjson
4040
- simdutf
41+
- sqlite
4142
- undici
4243
- uvwasi
4344
- zlib
@@ -272,6 +273,14 @@ jobs:
272273
cat temp-output
273274
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
274275
rm temp-output
276+
- id: sqlite
277+
subsystem: deps
278+
label: dependencies
279+
run: |
280+
./tools/dep_updaters/update-sqlite.sh > temp-output
281+
cat temp-output
282+
tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true
283+
rm temp-output
275284
- id: undici
276285
subsystem: deps
277286
label: dependencies

deps/sqlite/BUILD.gn

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
##############################################################################
2+
# #
3+
# DO NOT EDIT THIS FILE! #
4+
# #
5+
##############################################################################
6+
7+
# This file is used by GN for building, which is NOT the build system used for
8+
# building official binaries.
9+
# Please modify the gyp files if you are making changes to build system.
10+
11+
import("unofficial.gni")
12+
13+
sqlite_gn_build("sqlite") {
14+
}

deps/sqlite/sqlite.gyp

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
'variables': {
3+
'sqlite_sources': [
4+
'sqlite3.c',
5+
],
6+
},
7+
'targets': [
8+
{
9+
'target_name': 'sqlite',
10+
'type': 'static_library',
11+
'cflags': ['-fvisibility=hidden'],
12+
'xcode_settings': {
13+
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
14+
},
15+
'include_dirs': ['.'],
16+
'sources': [
17+
'<@(sqlite_sources)',
18+
],
19+
'direct_dependent_settings': {
20+
'include_dirs': ['.'],
21+
},
22+
},
23+
],
24+
}

0 commit comments

Comments
 (0)