| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f43f965 commit f556b43
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -223,6 +223,11 @@ parser.add_option('--release-urlbase', | |||
| 223 | 223 | '`sourceUrl` and `headersUrl`. When compiling a release build, this ' | |
| 224 | 224 | 'will default to https://nodejs.org/download/release/') | |
| 225 | 225 | ||
| 226 | + parser.add_option('--enable-d8', | ||
| 227 | + action='store_true', | ||
| 228 | + dest='enable_d8', | ||
| 229 | + help=optparse.SUPPRESS_HELP) # Unsupported, undocumented. | ||
| 230 | + | ||
| 226 | 231 | parser.add_option('--v8-options', | |
| 227 | 232 | action='store', | |
| 228 | 233 | dest='v8_options', | |
@@ -804,6 +809,8 @@ def configure_v8(o): | |||
| 804 | 809 | o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds. | |
| 805 | 810 | o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables. | |
| 806 | 811 | o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true' | |
| 812 | + o['variables']['node_enable_d8'] = b(options.enable_d8) | ||
| 813 | + | ||
| 807 | 814 | ||
| 808 | 815 | def configure_openssl(o): | |
| 809 | 816 | o['variables']['node_use_openssl'] = b(not options.without_ssl) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -209,6 +209,9 @@ | |||
| 209 | 209 | ||
| 210 | 210 | ||
| 211 | 211 | 'conditions': [ | |
| 212 | + [ 'node_enable_d8=="true"', { | ||
| 213 | + 'dependencies': [ 'deps/v8/src/d8.gyp:d8' ], | ||
| 214 | + }], | ||
| 212 | 215 | [ 'node_tag!=""', { | |
| 213 | 216 | 'defines': [ 'NODE_TAG="<(node_tag)"' ], | |
| 214 | 217 | }], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments