Switch GYP script to not use utils.py anymore.

R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/14108010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14391 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f873e83b
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
import glob import glob
import os import os
import platform
import shlex import shlex
import sys import sys
...@@ -43,9 +44,6 @@ if __name__ == '__main__': ...@@ -43,9 +44,6 @@ if __name__ == '__main__':
script_dir = os.path.dirname(__file__) script_dir = os.path.dirname(__file__)
v8_root = '.' v8_root = '.'
sys.path.insert(0, os.path.join(v8_root, 'tools'))
import utils
sys.path.insert(0, os.path.join(v8_root, 'build', 'gyp', 'pylib')) sys.path.insert(0, os.path.join(v8_root, 'build', 'gyp', 'pylib'))
import gyp import gyp
...@@ -164,6 +162,6 @@ if __name__ == '__main__': ...@@ -164,6 +162,6 @@ if __name__ == '__main__':
# Generate for the architectures supported on the given platform. # Generate for the architectures supported on the given platform.
gyp_args = list(args) gyp_args = list(args)
if utils.GuessOS() == 'linux': if platform.system() == 'linux':
gyp_args.append('--generator-output=out') gyp_args.append('--generator-output=out')
run_gyp(gyp_args) run_gyp(gyp_args)
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