|
40 | 40 | import getnapibuildversion
|
41 | 41 | from gyp_node import run_gyp
|
42 | 42 |
|
43 |
| -# imports in deps/v8/tools/node |
44 |
| -sys.path.insert(0, os.path.join('deps', 'v8', 'tools', 'node')) |
45 |
| -from fetch_deps import FetchDeps |
46 |
| - |
47 | 43 | # parse our options
|
48 | 44 | parser = optparse.OptionParser()
|
49 | 45 |
|
|
679 | 675 | help='do not use V8 includes from the bundled deps folder. ' +
|
680 | 676 | '(This mode is not officially supported for regular applications)')
|
681 | 677 |
|
682 |
| -parser.add_option('--build-v8-with-gn', |
683 |
| - action='store_true', |
684 |
| - dest='build_v8_with_gn', |
685 |
| - default=False, |
686 |
| - help='build V8 using GN instead of gyp') |
687 |
| - |
688 | 678 | parser.add_option('--verbose',
|
689 | 679 | action='store_true',
|
690 | 680 | dest='verbose',
|
@@ -1347,14 +1337,6 @@ def configure_v8(o):
|
1347 | 1337 | o['variables']['test_isolation_mode'] = 'noop' # Needed by d8.gyp.
|
1348 | 1338 | if options.without_bundled_v8 and options.enable_d8:
|
1349 | 1339 | raise Exception('--enable-d8 is incompatible with --without-bundled-v8.')
|
1350 |
| - if options.without_bundled_v8 and options.build_v8_with_gn: |
1351 |
| - raise Exception( |
1352 |
| - '--build-v8-with-gn is incompatible with --without-bundled-v8.') |
1353 |
| - if options.build_v8_with_gn: |
1354 |
| - v8_path = os.path.join('deps', 'v8') |
1355 |
| - print('Fetching dependencies to build V8 with GN') |
1356 |
| - options.build_v8_with_gn = FetchDeps(v8_path) |
1357 |
| - o['variables']['build_v8_with_gn'] = b(options.build_v8_with_gn) |
1358 | 1340 |
|
1359 | 1341 |
|
1360 | 1342 | def configure_openssl(o):
|
|
0 commit comments