Revision: 14391
Author:   [email protected]
Date:     Tue Apr 23 03:41:55 2013
Log:      Switch GYP script to not use utils.py anymore.

[email protected]

Review URL: https://codereview.chromium.org/14108010
http://code.google.com/p/v8/source/detail?r=14391

Modified:
 /branches/bleeding_edge/build/gyp_v8

=======================================
--- /branches/bleeding_edge/build/gyp_v8        Tue Jan 29 02:40:43 2013
+++ /branches/bleeding_edge/build/gyp_v8        Tue Apr 23 03:41:55 2013
@@ -32,6 +32,7 @@

 import glob
 import os
+import platform
 import shlex
 import sys

@@ -43,9 +44,6 @@
   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 @@

   # 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.


Reply via email to