Revision: 20462
Author:   [email protected]
Date:     Thu Apr  3 07:40:32 2014 UTC
Log:      Make build/gyp_v8 cope with ninja on linux

ninja doesn't support/need the output dir and generator dir flags

BUG=v8:3252
[email protected]
LOG=n

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

Modified:
 /branches/bleeding_edge/build/gyp_v8

=======================================
--- /branches/bleeding_edge/build/gyp_v8        Tue Jan  7 09:09:24 2014 UTC
+++ /branches/bleeding_edge/build/gyp_v8        Thu Apr  3 07:40:32 2014 UTC
@@ -158,7 +158,8 @@

   # Generate for the architectures supported on the given platform.
   gyp_args = list(args)
-  if platform.system() == 'Linux':
+  gyp_generators = os.environ.get('GYP_GENERATORS')
+  if platform.system() == 'Linux' and gyp_generators != 'ninja':
     # Work around for crbug.com/331475.
     for f in glob.glob(os.path.join(v8_root, 'out', 'Makefile.*')):
       os.unlink(f)

--
--
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/d/optout.

Reply via email to