OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 'linux_use_gold_flags%': 0, | 128 'linux_use_gold_flags%': 0, |
129 }], | 129 }], |
130 ], | 130 ], |
131 | 131 |
132 # Link-Time Optimizations | 132 # Link-Time Optimizations |
133 'use_lto%': 0, | 133 'use_lto%': 0, |
134 }, | 134 }, |
135 'conditions': [ | 135 'conditions': [ |
136 ['host_arch=="ia32" or host_arch=="x64" or \ | 136 ['host_arch=="ia32" or host_arch=="x64" or \ |
137 host_arch=="ppc" or host_arch=="ppc64" or \ | 137 host_arch=="ppc" or host_arch=="ppc64" or \ |
| 138 host_arch=="s390" or host_arch=="s390x" or \ |
138 clang==1', { | 139 clang==1', { |
139 'variables': { | 140 'variables': { |
140 'host_cxx_is_biarch%': 1, | 141 'host_cxx_is_biarch%': 1, |
141 }, | 142 }, |
142 }, { | 143 }, { |
143 'variables': { | 144 'variables': { |
144 'host_cxx_is_biarch%': 0, | 145 'host_cxx_is_biarch%': 0, |
145 }, | 146 }, |
146 }], | 147 }], |
147 ['target_arch=="ia32" or target_arch=="x64" or target_arch=="x87" or \ | 148 ['target_arch=="ia32" or target_arch=="x64" or target_arch=="x87" or \ |
148 target_arch=="ppc" or target_arch=="ppc64" or \ | 149 target_arch=="ppc" or target_arch=="ppc64" or target_arch=="s390" or \ |
149 clang==1', { | 150 target_arch=="s390x" or clang==1', { |
150 'variables': { | 151 'variables': { |
151 'target_cxx_is_biarch%': 1, | 152 'target_cxx_is_biarch%': 1, |
152 }, | 153 }, |
153 }, { | 154 }, { |
154 'variables': { | 155 'variables': { |
155 'target_cxx_is_biarch%': 0, | 156 'target_cxx_is_biarch%': 0, |
156 }, | 157 }, |
157 }], | 158 }], |
158 ], | 159 ], |
159 'target_defaults': { | 160 'target_defaults': { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 }], | 291 }], |
291 ], | 292 ], |
292 }], # _toolset=="target" | 293 }], # _toolset=="target" |
293 ], | 294 ], |
294 }], # v8_target_arch=="arm" | 295 }], # v8_target_arch=="arm" |
295 ['v8_target_arch=="arm64"', { | 296 ['v8_target_arch=="arm64"', { |
296 'defines': [ | 297 'defines': [ |
297 'V8_TARGET_ARCH_ARM64', | 298 'V8_TARGET_ARCH_ARM64', |
298 ], | 299 ], |
299 }], | 300 }], |
| 301 ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { |
| 302 'defines': [ |
| 303 'V8_TARGET_ARCH_S390', |
| 304 ], |
| 305 'conditions': [ |
| 306 ['v8_target_arch=="s390x"', { |
| 307 'defines': [ |
| 308 'V8_TARGET_ARCH_S390X', |
| 309 ], |
| 310 }], |
| 311 ['v8_host_byteorder=="little"', { |
| 312 'defines': [ |
| 313 'V8_TARGET_ARCH_S390_LE_SIM', |
| 314 ], |
| 315 }], |
| 316 ], |
| 317 }], # s390 |
300 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { | 318 ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { |
301 'defines': [ | 319 'defines': [ |
302 'V8_TARGET_ARCH_PPC', | 320 'V8_TARGET_ARCH_PPC', |
303 ], | 321 ], |
304 'conditions': [ | 322 'conditions': [ |
305 ['v8_target_arch=="ppc64"', { | 323 ['v8_target_arch=="ppc64"', { |
306 'defines': [ | 324 'defines': [ |
307 'V8_TARGET_ARCH_PPC64', | 325 'V8_TARGET_ARCH_PPC64', |
308 ], | 326 ], |
309 }], | 327 }], |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 'cflags': [ | 990 'cflags': [ |
973 '-msse2', | 991 '-msse2', |
974 '-mfpmath=sse', | 992 '-mfpmath=sse', |
975 '-mmmx', # Allows mmintrin.h for MMX intrinsics. | 993 '-mmmx', # Allows mmintrin.h for MMX intrinsics. |
976 ], | 994 ], |
977 }], | 995 }], |
978 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 996 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
979 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 997 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
980 (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ | 998 (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ |
981 v8_target_arch=="x87" or v8_target_arch=="mips" or \ | 999 v8_target_arch=="x87" or v8_target_arch=="mips" or \ |
982 v8_target_arch=="mipsel" or v8_target_arch=="ppc")', { | 1000 v8_target_arch=="mipsel" or v8_target_arch=="ppc" or \ |
| 1001 v8_target_arch=="s390")', { |
983 'target_conditions': [ | 1002 'target_conditions': [ |
984 ['_toolset=="host"', { | 1003 ['_toolset=="host"', { |
985 'conditions': [ | 1004 'conditions': [ |
986 ['host_cxx_is_biarch==1', { | 1005 ['host_cxx_is_biarch==1', { |
987 'cflags': [ '-m32' ], | 1006 'conditions': [ |
988 'ldflags': [ '-m32' ] | 1007 ['host_arch=="s390" or host_arch=="s390x"', { |
| 1008 'cflags': [ '-m31' ], |
| 1009 'ldflags': [ '-m31' ] |
| 1010 },{ |
| 1011 'cflags': [ '-m32' ], |
| 1012 'ldflags': [ '-m32' ] |
| 1013 }], |
| 1014 ], |
989 }], | 1015 }], |
990 ], | 1016 ], |
991 'xcode_settings': { | 1017 'xcode_settings': { |
992 'ARCHS': [ 'i386' ], | 1018 'ARCHS': [ 'i386' ], |
993 }, | 1019 }, |
994 }], | 1020 }], |
995 ['_toolset=="target"', { | 1021 ['_toolset=="target"', { |
996 'conditions': [ | 1022 'conditions': [ |
997 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', { | 1023 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', { |
998 'cflags': [ '-m32' ], | 1024 'conditions': [ |
999 'ldflags': [ '-m32' ], | 1025 ['host_arch=="s390" or host_arch=="s390x"', { |
| 1026 'cflags': [ '-m31' ], |
| 1027 'ldflags': [ '-m31' ] |
| 1028 },{ |
| 1029 'cflags': [ '-m32' ], |
| 1030 'ldflags': [ '-m32' ], |
| 1031 }], |
| 1032 ], |
1000 }], | 1033 }], |
1001 ], | 1034 ], |
1002 'xcode_settings': { | 1035 'xcode_settings': { |
1003 'ARCHS': [ 'i386' ], | 1036 'ARCHS': [ 'i386' ], |
1004 }, | 1037 }, |
1005 }], | 1038 }], |
1006 ], | 1039 ], |
1007 }], | 1040 }], |
1008 ['(OS=="linux" or OS=="android") and \ | 1041 ['(OS=="linux" or OS=="android") and \ |
1009 (v8_target_arch=="x64" or v8_target_arch=="arm64" or \ | 1042 (v8_target_arch=="x64" or v8_target_arch=="arm64" or \ |
1010 v8_target_arch=="ppc64")', { | 1043 v8_target_arch=="ppc64" or v8_target_arch=="s390x")', { |
1011 'target_conditions': [ | 1044 'target_conditions': [ |
1012 ['_toolset=="host"', { | 1045 ['_toolset=="host"', { |
1013 'conditions': [ | 1046 'conditions': [ |
1014 ['host_cxx_is_biarch==1', { | 1047 ['host_cxx_is_biarch==1', { |
1015 'cflags': [ '-m64' ], | 1048 'cflags': [ '-m64' ], |
1016 'ldflags': [ '-m64' ] | 1049 'ldflags': [ '-m64' ] |
1017 }], | 1050 }], |
1018 ], | 1051 ], |
1019 }], | 1052 }], |
1020 ['_toolset=="target"', { | 1053 ['_toolset=="target"', { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 ['v8_enable_slow_dchecks==1', { | 1360 ['v8_enable_slow_dchecks==1', { |
1328 'defines': [ | 1361 'defines': [ |
1329 'ENABLE_SLOW_DCHECKS', | 1362 'ENABLE_SLOW_DCHECKS', |
1330 ], | 1363 ], |
1331 }], | 1364 }], |
1332 ], # conditions | 1365 ], # conditions |
1333 }, # Release | 1366 }, # Release |
1334 }, # configurations | 1367 }, # configurations |
1335 }, # target_defaults | 1368 }, # target_defaults |
1336 } | 1369 } |
OLD | NEW |