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