Reviewers: Jakob,
Description:
Switch GYP script to not use utils.py anymore.
[email protected]
Please review this at https://codereview.chromium.org/14108010/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M build/gyp_v8
Index: build/gyp_v8
diff --git a/build/gyp_v8 b/build/gyp_v8
index
bf81ad34dc8860464021c128a5d07300ae342bfa..82ccdeab76e6a67955960958e4e959a35b4e0f7e
100755
--- a/build/gyp_v8
+++ b/build/gyp_v8
@@ -32,6 +32,7 @@
import glob
import os
+import platform
import shlex
import sys
@@ -43,9 +44,6 @@ if __name__ == '__main__':
script_dir = os.path.dirname(__file__)
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'))
import gyp
@@ -164,6 +162,6 @@ if __name__ == '__main__':
# Generate for the architectures supported on the given platform.
gyp_args = list(args)
- if utils.GuessOS() == 'linux':
+ if platform.system() == 'linux':
gyp_args.append('--generator-output=out')
run_gyp(gyp_args)
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.