| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ | 48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
| 49 OS=="netbsd" or OS=="mac" or OS=="qnx"', { | 49 OS=="netbsd" or OS=="mac" or OS=="qnx"', { |
| 50 # This handles the Unix platforms we generally deal with. | 50 # This handles the Unix platforms we generally deal with. |
| 51 # Anything else gets passed through, which probably won't work | 51 # Anything else gets passed through, which probably won't work |
| 52 # very well; such hosts should pass an explicit target_arch | 52 # very well; such hosts should pass an explicit target_arch |
| 53 # to gyp. | 53 # to gyp. |
| 54 'host_arch%': | 54 'host_arch%': |
| 55 '<!(uname -m | sed -e "s/i.86/ia32/;\ | 55 '<!(uname -m | sed -e "s/i.86/ia32/;\ |
| 56 s/x86_64/x64/;\ | 56 s/x86_64/x64/;\ |
| 57 s/amd64/x64/;\ | 57 s/amd64/x64/;\ |
| 58 s/arm.*/arm/;\ |
| 58 s/aarch64/arm64/;\ | 59 s/aarch64/arm64/;\ |
| 59 s/arm.*/arm/;\ | |
| 60 s/mips.*/mipsel/")', | 60 s/mips.*/mipsel/")', |
| 61 }, { | 61 }, { |
| 62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and | 62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
| 63 # OS!="netbsd" and OS!="mac" | 63 # OS!="netbsd" and OS!="mac" |
| 64 'host_arch%': 'ia32', | 64 'host_arch%': 'ia32', |
| 65 }], | 65 }], |
| 66 ], | 66 ], |
| 67 }, | 67 }, |
| 68 'host_arch%': '<(host_arch)', | 68 'host_arch%': '<(host_arch)', |
| 69 'target_arch%': '<(host_arch)', | 69 'target_arch%': '<(host_arch)', |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 ], | 358 ], |
| 359 'target_conditions': [ | 359 'target_conditions': [ |
| 360 ['_type!="static_library"', { | 360 ['_type!="static_library"', { |
| 361 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 361 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 362 }], | 362 }], |
| 363 ], # target_conditions | 363 ], # target_conditions |
| 364 }, # target_defaults | 364 }, # target_defaults |
| 365 }], # OS=="mac" | 365 }], # OS=="mac" |
| 366 ], | 366 ], |
| 367 } | 367 } |
| OLD | NEW |