aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-api-oo1.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2024-01-01 05:58:47 +0000
committerstephan <stephan@noemail.net>2024-01-01 05:58:47 +0000
commit805cd395a988d78843173a9e8fe1eccfc7ec3f71 (patch)
tree6cba0354b7229c17510ecbd728347044c56fdf28 /ext/wasm/api/sqlite3-api-oo1.js
parent7a482b3bcda5c36e0c50f05921ddfbb3256fc64a (diff)
downloadsqlite-805cd395a988d78843173a9e8fe1eccfc7ec3f71.tar.gz
sqlite-805cd395a988d78843173a9e8fe1eccfc7ec3f71.zip
WASM: various build cleanups and add initial infrastructure for a build which elides the oo1 API and its dependents (worker1 and promiser). Sidebar: an attempt was made to move generation of the build rules to an external script, but the mixed-mode make/script was even less legible than the $(eval) indirection going on in the makefile.
FossilOrigin-Name: 563d313163c02b398ae85b7c2ed231019a14e006726f09a7c1f294a58bf4363f
Diffstat (limited to 'ext/wasm/api/sqlite3-api-oo1.js')
-rw-r--r--ext/wasm/api/sqlite3-api-oo1.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-oo1.js b/ext/wasm/api/sqlite3-api-oo1.js
index 4677b8976..160d59db5 100644
--- a/ext/wasm/api/sqlite3-api-oo1.js
+++ b/ext/wasm/api/sqlite3-api-oo1.js
@@ -1,3 +1,4 @@
+//#ifnot omit-oo1
/*
2022-07-22
@@ -1940,4 +1941,6 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
}/*main-window-only bits*/
});
-
+//#else
+/* Built with the omit-oo1 flag. */
+//#endif ifnot omit-oo1