|
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', |
|
153 | 153 | 'src/node_wasi.cc', |
154 | 154 | 'src/node_wasm_web_api.cc', |
155 | 155 | 'src/node_watchdog.cc', |
156 | | - 'src/node_webstorage.cc', |
157 | 156 | 'src/node_worker.cc', |
158 | 157 | 'src/node_zlib.cc', |
159 | 158 | 'src/path.cc', |
|
273 | 272 | 'src/node_snapshot_builder.h', |
274 | 273 | 'src/node_sockaddr.h', |
275 | 274 | 'src/node_sockaddr-inl.h', |
276 | | - 'src/node_sqlite.h', |
277 | 275 | 'src/node_stat_watcher.h', |
278 | 276 | 'src/node_union_bytes.h', |
279 | 277 | 'src/node_url.h', |
|
282 | 280 | 'src/node_v8_platform-inl.h', |
283 | 281 | 'src/node_wasi.h', |
284 | 282 | 'src/node_watchdog.h', |
285 | | - 'src/node_webstorage.h', |
286 | 283 | 'src/node_worker.h', |
287 | 284 | 'src/path.h', |
288 | 285 | 'src/permission/child_process_permission.h', |
|
415 | 412 | 'test/cctest/test_inspector_socket.cc', |
416 | 413 | 'test/cctest/test_inspector_socket_server.cc', |
417 | 414 | ], |
| 415 | + 'node_sqlite_sources': [ |
| 416 | + 'src/node_sqlite.cc', |
| 417 | + 'src/node_webstorage.cc', |
| 418 | + 'src/node_sqlite.h', |
| 419 | + 'src/node_webstorage.h', |
| 420 | + ], |
418 | 421 | 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', |
419 | 422 | 'node_js2c_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_js2c<(EXECUTABLE_SUFFIX)', |
420 | 423 | 'conditions': [ |
|
899 | 902 | 'src/node_snapshot_stub.cc', |
900 | 903 | ] |
901 | 904 | }], |
| 905 | + [ 'node_use_sqlite=="true"', { |
| 906 | + 'sources': [ |
| 907 | + '<@(node_sqlite_sources)', |
| 908 | + ], |
| 909 | + 'defines': [ 'HAVE_SQLITE=1' ], |
| 910 | + }], |
902 | 911 | [ 'node_shared=="true" and node_module_version!="" and OS!="win"', { |
903 | 912 | 'product_extension': '<(shlib_suffix)', |
904 | 913 | 'xcode_settings': { |
|
943 | 952 | 'deps/ncrypto/ncrypto.gyp:ncrypto', |
944 | 953 | ], |
945 | 954 | }], |
| 955 | + [ 'node_use_sqlite=="true"', { |
| 956 | + 'sources': [ |
| 957 | + '<@(node_sqlite_sources)', |
| 958 | + ], |
| 959 | + 'defines': [ 'HAVE_SQLITE=1' ], |
| 960 | + }], |
946 | 961 | [ 'OS in "linux freebsd mac solaris" and ' |
947 | 962 | 'target_arch=="x64" and ' |
948 | 963 | 'node_target_type=="executable"', { |
|
0 commit comments