-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove --build-v8-with-gn configure option #27576
Closed
+0
−18
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,6 @@ | |
import getmoduleversion | ||
from gyp_node import run_gyp | ||
|
||
# imports in deps/v8/tools/node | ||
sys.path.insert(0, os.path.join('deps', 'v8', 'tools', 'node')) | ||
from fetch_deps import FetchDeps | ||
|
||
# parse our options | ||
parser = optparse.OptionParser() | ||
|
||
|
@@ -550,12 +546,6 @@ | |
help='do not use V8 includes from the bundled deps folder. ' + | ||
'(This mode is not officially supported for regular applications)') | ||
|
||
parser.add_option('--build-v8-with-gn', | ||
action='store_true', | ||
dest='build_v8_with_gn', | ||
default=False, | ||
help='build V8 using GN instead of gyp') | ||
|
||
parser.add_option('--verbose', | ||
action='store_true', | ||
dest='verbose', | ||
|
@@ -1149,14 +1139,6 @@ def configure_v8(o): | |
o['variables']['test_isolation_mode'] = 'noop' # Needed by d8.gyp. | ||
if options.without_bundled_v8 and options.enable_d8: | ||
raise Exception('--enable-d8 is incompatible with --without-bundled-v8.') | ||
if options.without_bundled_v8 and options.build_v8_with_gn: | ||
raise Exception( | ||
'--build-v8-with-gn is incompatible with --without-bundled-v8.') | ||
if options.build_v8_with_gn: | ||
v8_path = os.path.join('deps', 'v8') | ||
print('Fetching dependencies to build V8 with GN') | ||
options.build_v8_with_gn = FetchDeps(v8_path) | ||
o['variables']['build_v8_with_gn'] = b(options.build_v8_with_gn) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We might consider setting this to
as a make shift deprecation, since this value is exposed in |
||
|
||
|
||
def configure_openssl(o): | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please instead of delete move to ~
node/configure.py
Lines 470 to 491 in 5cb8b25
with
help=optparse.SUPPRESS_HELP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^^
To avoid making this semver-major.