Commit 2d72051d authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

[node] move build path fully into gyp file.

R=machenbach@chromium.org

Bug: v8:6105
Change-Id: Ieb0de4d0ee031d61d7af1a89607bfbcb64151bcb
Reviewed-on: https://chromium-review.googlesource.com/874353Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50705}
parent b867d9d5
......@@ -2611,7 +2611,7 @@
'../tools/node/build_gn.py',
'--mode', '<(CONFIGURATION_NAME)',
'--v8_path', '../',
'--build_path', '<(INTERMEDIATE_DIR)',
'--build_path', '<(INTERMEDIATE_DIR)/gn',
'--host_os', '<(host_os)',
'--flag', 'v8_promise_internal_field_count=<(v8_promise_internal_field_count)',
'--flag', 'target_cpu="<(target_arch)"',
......
......@@ -34,8 +34,6 @@ GN_ARGS = [
BUILD_TARGET = "v8_monolith"
BUILD_SUBDIR = "gn"
def FindGn(options):
if options.host_os == "linux":
os_path = "linux64"
......@@ -96,7 +94,6 @@ def ParseOptions(args):
assert options.build_path
options.build_path = os.path.abspath(options.build_path)
options.build_path = os.path.join(options.build_path, BUILD_SUBDIR)
return options
if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment