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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 [ 'arm_thumb==1', { | 216 [ 'arm_thumb==1', { |
217 'cflags': ['-mthumb',], | 217 'cflags': ['-mthumb',], |
218 }], | 218 }], |
219 [ 'arm_thumb==0', { | 219 [ 'arm_thumb==0', { |
220 'cflags': ['-marm',], | 220 'cflags': ['-marm',], |
221 }], | 221 }], |
222 ], | 222 ], |
223 }, { | 223 }, { |
224 # 'v8_target_arch!=target_arch' | 224 # 'v8_target_arch!=target_arch' |
225 # Target not built with an Arm CXX compiler (simulator build). | 225 # Target not built with an Arm CXX compiler (simulator build). |
| 226 'cflags': [ |
| 227 '-msse2', |
| 228 '-mfpmath=sse', |
| 229 '-mmmx', # Allows mmintrin.h for MMX intrinsics. |
| 230 ], |
226 'conditions': [ | 231 'conditions': [ |
227 [ 'arm_float_abi=="hard"', { | 232 [ 'arm_float_abi=="hard"', { |
228 'defines': [ | 233 'defines': [ |
229 'USE_EABI_HARDFLOAT=1', | 234 'USE_EABI_HARDFLOAT=1', |
230 ], | 235 ], |
231 }], | 236 }], |
232 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { | 237 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { |
233 'defines': [ | 238 'defines': [ |
234 'USE_EABI_HARDFLOAT=0', | 239 'USE_EABI_HARDFLOAT=0', |
235 ], | 240 ], |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 }], | 809 }], |
805 ['OS=="win" and v8_enable_prof==1', { | 810 ['OS=="win" and v8_enable_prof==1', { |
806 'msvs_settings': { | 811 'msvs_settings': { |
807 'VCLinkerTool': { | 812 'VCLinkerTool': { |
808 'GenerateMapFile': 'true', | 813 'GenerateMapFile': 'true', |
809 }, | 814 }, |
810 }, | 815 }, |
811 }], | 816 }], |
812 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 817 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
813 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 818 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
| 819 (v8_target_arch=="ia32")', { |
| 820 'cflags': [ |
| 821 '-msse2', |
| 822 '-mfpmath=sse', |
| 823 '-mmmx', # Allows mmintrin.h for MMX intrinsics. |
| 824 ], |
| 825 }], |
| 826 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 827 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
814 (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ | 828 (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ |
815 v8_target_arch=="x87" or v8_target_arch=="mips" or \ | 829 v8_target_arch=="x87" or v8_target_arch=="mips" or \ |
816 v8_target_arch=="mipsel" or v8_target_arch=="ppc")', { | 830 v8_target_arch=="mipsel" or v8_target_arch=="ppc")', { |
817 'target_conditions': [ | 831 'target_conditions': [ |
818 ['_toolset=="host"', { | 832 ['_toolset=="host"', { |
819 'conditions': [ | 833 'conditions': [ |
820 ['host_cxx_is_biarch==1', { | 834 ['host_cxx_is_biarch==1', { |
821 'cflags': [ '-m32' ], | 835 'cflags': [ '-m32' ], |
822 'ldflags': [ '-m32' ] | 836 'ldflags': [ '-m32' ] |
823 }], | 837 }], |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 ['v8_enable_slow_dchecks==1', { | 1137 ['v8_enable_slow_dchecks==1', { |
1124 'defines': [ | 1138 'defines': [ |
1125 'ENABLE_SLOW_DCHECKS', | 1139 'ENABLE_SLOW_DCHECKS', |
1126 ], | 1140 ], |
1127 }], | 1141 }], |
1128 ], # conditions | 1142 ], # conditions |
1129 }, # Release | 1143 }, # Release |
1130 }, # configurations | 1144 }, # configurations |
1131 }, # target_defaults | 1145 }, # target_defaults |
1132 } | 1146 } |
OLD | NEW |