| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4fcbfdc commit a5ce90c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -635,6 +635,14 @@ | |||
| 635 | 635 | default=False, | |
| 636 | 636 | help='compile V8 with debug checks and runtime debugging features enabled') | |
| 637 | 637 | ||
| 638 | + parser.add_option('--v8-lite-mode', | ||
| 639 | + action='store_true', | ||
| 640 | + dest='v8_lite_mode', | ||
| 641 | + default=False, | ||
| 642 | + help='compile V8 in lite mode for constrained environments (lowers V8 '+ | ||
| 643 | + 'memory footprint, but also implies no just-in-time compilation ' + | ||
| 644 | + 'support, thus much slower execution)') | ||
| 645 | + | ||
| 638 | 646 | parser.add_option('--node-builtin-modules-path', | |
| 639 | 647 | action='store', | |
| 640 | 648 | dest='node_builtin_modules_path', | |
@@ -1231,6 +1239,7 @@ def configure_library(lib, output, pkgname=None): | |||
| 1231 | 1239 | ||
| 1232 | 1240 | ||
| 1233 | 1241 | def configure_v8(o): | |
| 1242 | + o['variables']['v8_enable_lite_mode'] = 1 if options.v8_lite_mode else 0 | ||
| 1234 | 1243 | o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0 | |
| 1235 | 1244 | o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs. | |
| 1236 | 1245 | o['variables']['v8_optimized_debug'] = 0 if options.v8_non_optimized_debug else 1 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments