Revision: 11547
Author:   [email protected]
Date:     Fri May 11 06:52:16 2012
Log:      GYP build: Provide automatic host_arch detection on Mac

TEST="make x64.release" works fine on MacOS

Review URL: https://chromiumcodereview.appspot.com/10310123
http://code.google.com/p/v8/source/detail?r=11547

Modified:
 /branches/bleeding_edge/build/standalone.gypi

=======================================
--- /branches/bleeding_edge/build/standalone.gypi       Fri May 11 05:18:09 2012
+++ /branches/bleeding_edge/build/standalone.gypi       Fri May 11 06:52:16 2012
@@ -37,8 +37,9 @@
       'variables': {
         'variables': {
           'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
-              # This handles the Linux platforms we generally deal with.
+            ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
+               OS=="netbsd" or OS=="mac"', {
+              # This handles the Unix platforms we generally deal with.
# Anything else gets passed through, which probably won't work
               # very well; such hosts should pass an explicit target_arch
               # to gyp.
@@ -46,7 +47,8 @@
                 '<!(uname -m | sed -e "s/i.86/ia32/;\
s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mips/")',
             }, {
- # OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="netbsd"
+              # OS!="linux" and OS!="freebsd" and OS!="openbsd" and
+              # OS!="netbsd" and OS!="mac"
               'host_arch%': 'ia32',
             }],
           ],

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to