|
25 | 25 | 'node_shared_uvwasi%': 'false', |
26 | 26 | 'node_shared_nghttp2%': 'false', |
27 | 27 | 'node_use_openssl%': 'true', |
| 28 | + 'node_use_sqlite%': 'true', |
28 | 29 | 'node_shared_openssl%': 'false', |
29 | 30 | 'node_v8_options%': '', |
30 | 31 | 'node_enable_v8_vtunejit%': 'false', |
|
140 | 141 | 'src/node_shadow_realm.cc', |
141 | 142 | 'src/node_snapshotable.cc', |
142 | 143 | 'src/node_sockaddr.cc', |
143 | | - 'src/node_sqlite.cc', |
144 | 144 | 'src/node_stat_watcher.cc', |
145 | 145 | 'src/node_symbols.cc', |
146 | 146 | 'src/node_task_queue.cc', |
|
154 | 154 | 'src/node_wasi.cc', |
155 | 155 | 'src/node_wasm_web_api.cc', |
156 | 156 | 'src/node_watchdog.cc', |
157 | | - 'src/node_webstorage.cc', |
158 | 157 | 'src/node_worker.cc', |
159 | 158 | 'src/node_zlib.cc', |
160 | 159 | 'src/path.cc', |
|
275 | 274 | 'src/node_snapshot_builder.h', |
276 | 275 | 'src/node_sockaddr.h', |
277 | 276 | 'src/node_sockaddr-inl.h', |
278 | | - 'src/node_sqlite.h', |
279 | 277 | 'src/node_stat_watcher.h', |
280 | 278 | 'src/node_union_bytes.h', |
281 | 279 | 'src/node_url.h', |
|
285 | 283 | 'src/node_v8_platform-inl.h', |
286 | 284 | 'src/node_wasi.h', |
287 | 285 | 'src/node_watchdog.h', |
288 | | - 'src/node_webstorage.h', |
289 | 286 | 'src/node_worker.h', |
290 | 287 | 'src/path.h', |
291 | 288 | 'src/permission/child_process_permission.h', |
|
418 | 415 | 'test/cctest/test_inspector_socket.cc', |
419 | 416 | 'test/cctest/test_inspector_socket_server.cc', |
420 | 417 | ], |
| 418 | + 'node_sqlite_sources': [ |
| 419 | + 'src/node_sqlite.cc', |
| 420 | + 'src/node_webstorage.cc', |
| 421 | + 'src/node_sqlite.h', |
| 422 | + 'src/node_webstorage.h', |
| 423 | + ], |
421 | 424 | 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', |
422 | 425 | 'node_js2c_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_js2c<(EXECUTABLE_SUFFIX)', |
423 | 426 | 'conditions': [ |
|
892 | 895 | 'src/node_snapshot_stub.cc', |
893 | 896 | ] |
894 | 897 | }], |
| 898 | + [ 'node_use_sqlite=="true"', { |
| 899 | + 'sources': [ |
| 900 | + '<@(node_sqlite_sources)', |
| 901 | + ], |
| 902 | + 'defines': [ 'HAVE_SQLITE=1' ], |
| 903 | + }], |
895 | 904 | [ 'node_shared=="true" and node_module_version!="" and OS!="win"', { |
896 | 905 | 'product_extension': '<(shlib_suffix)', |
897 | 906 | 'xcode_settings': { |
|
940 | 949 | '<@(node_quic_sources)', |
941 | 950 | ], |
942 | 951 | }], |
| 952 | + [ 'node_use_sqlite=="true"', { |
| 953 | + 'sources': [ |
| 954 | + '<@(node_sqlite_sources)', |
| 955 | + ], |
| 956 | + 'defines': [ 'HAVE_SQLITE=1' ], |
| 957 | + }], |
943 | 958 | [ 'OS in "linux freebsd mac solaris" and ' |
944 | 959 | 'target_arch=="x64" and ' |
945 | 960 | 'node_target_type=="executable"', { |
|
0 commit comments