| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 'variables': { | 45 'variables': { |
| 46 'conditions': [ | 46 'conditions': [ |
| 47 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ | 47 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
| 48 OS=="netbsd" or OS=="mac" or OS=="qnx"', { | 48 OS=="netbsd" or OS=="mac" or OS=="qnx"', { |
| 49 # This handles the Unix platforms we generally deal with. | 49 # This handles the Unix platforms we generally deal with. |
| 50 # Anything else gets passed through, which probably won't work | 50 # Anything else gets passed through, which probably won't work |
| 51 # very well; such hosts should pass an explicit target_arch | 51 # very well; such hosts should pass an explicit target_arch |
| 52 # to gyp. | 52 # to gyp. |
| 53 'host_arch%': | 53 'host_arch%': |
| 54 '<!(uname -m | sed -e "s/i.86/ia32/;\ | 54 '<!(uname -m | sed -e "s/i.86/ia32/;\ |
| 55 s/x86_64/x64/;\ | 55 s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mipsel/")', |
| 56 s/amd64/x64/;\ | |
| 57 s/aarch64/a64/;\ | |
| 58 s/arm.*/arm/;\ | |
| 59 s/mips.*/mipsel/")', | |
| 60 }, { | 56 }, { |
| 61 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and | 57 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
| 62 # OS!="netbsd" and OS!="mac" | 58 # OS!="netbsd" and OS!="mac" |
| 63 'host_arch%': 'ia32', | 59 'host_arch%': 'ia32', |
| 64 }], | 60 }], |
| 65 ], | 61 ], |
| 66 }, | 62 }, |
| 67 'host_arch%': '<(host_arch)', | 63 'host_arch%': '<(host_arch)', |
| 68 'target_arch%': '<(host_arch)', | 64 'target_arch%': '<(host_arch)', |
| 69 }, | 65 }, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 94 # be used by embedders that need to build their own code as debug | 90 # be used by embedders that need to build their own code as debug |
| 95 # but don't want or need a debug version of V8. This should produce | 91 # but don't want or need a debug version of V8. This should produce |
| 96 # near-release speeds. | 92 # near-release speeds. |
| 97 'v8_optimized_debug%': 0, | 93 'v8_optimized_debug%': 0, |
| 98 | 94 |
| 99 # Relative path to icu.gyp from this file. | 95 # Relative path to icu.gyp from this file. |
| 100 'icu_gyp_path': '../third_party/icu/icu.gyp', | 96 'icu_gyp_path': '../third_party/icu/icu.gyp', |
| 101 | 97 |
| 102 'conditions': [ | 98 'conditions': [ |
| 103 ['(v8_target_arch=="arm" and host_arch!="arm") or \ | 99 ['(v8_target_arch=="arm" and host_arch!="arm") or \ |
| 104 (v8_target_arch=="a64" and host_arch!="a64") or \ | |
| 105 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ | 100 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ |
| 106 (v8_target_arch=="x64" and host_arch!="x64") or \ | 101 (v8_target_arch=="x64" and host_arch!="x64") or \ |
| 107 (OS=="android" or OS=="qnx")', { | 102 (OS=="android" or OS=="qnx")', { |
| 108 'want_separate_host_toolset': 1, | 103 'want_separate_host_toolset': 1, |
| 109 }, { | 104 }, { |
| 110 'want_separate_host_toolset': 0, | 105 'want_separate_host_toolset': 0, |
| 111 }], | 106 }], |
| 112 ['OS == "win"', { | 107 ['OS == "win"', { |
| 113 'os_posix%': 0, | 108 'os_posix%': 0, |
| 114 }, { | 109 }, { |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 ], | 325 ], |
| 331 'target_conditions': [ | 326 'target_conditions': [ |
| 332 ['_type!="static_library"', { | 327 ['_type!="static_library"', { |
| 333 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 328 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 334 }], | 329 }], |
| 335 ], # target_conditions | 330 ], # target_conditions |
| 336 }, # target_defaults | 331 }, # target_defaults |
| 337 }], # OS=="mac" | 332 }], # OS=="mac" |
| 338 ], | 333 ], |
| 339 } | 334 } |
| OLD | NEW |