File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ declare_args() {
4242 # The variable is called "openssl" for parity with node's GYP build.
4343 node_use_openssl = true
4444
45+ # Build node with SQLite support.
46+ node_use_sqlite = true
47+
4548 # Use the specified path to system CA (PEM format) in addition to
4649 # the BoringSSL supplied CA store or compiled-in Mozilla CA copy.
4750 node_openssl_system_ca_path = " "
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ template("node_gn_build") {
2222 } else {
2323 defines += [ " HAVE_OPENSSL=0" ]
2424 }
25+ if (node_use_sqlite ) {
26+ defines += [ " HAVE_SQLITE=1" ]
27+ } else {
28+ defines += [ " HAVE_SQLITE=0" ]
29+ }
2530 if (node_use_amaro ) {
2631 defines += [ " HAVE_AMARO=1" ]
2732 } else {
@@ -193,6 +198,9 @@ template("node_gn_build") {
193198 public_deps += [ " $node_openssl_path " ]
194199 sources += gypi_values .node_crypto_sources
195200 }
201+ if (node_use_sqlite ) {
202+ sources += gypi_values .node_sqlite_sources
203+ }
196204 if (node_enable_inspector ) {
197205 deps += [
198206 " $node_inspector_protocol_path :crdtp" ,
You can’t perform that action at this time.
0 commit comments